Package hiiragi283.ragium.common.recipe
Class HTHolderEnchantingRecipe
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.HTRecipe,hiiragi283.core.api.recipe.base.HTSerializableRecipe,hiiragi283.ragium.api.recipe.base.HTEnchantingRecipe,java.util.function.Predicate,net.minecraft.world.item.crafting.Recipe
public final class HTHolderEnchantingRecipe implements HTEnchantingRecipe
-
-
Field Summary
Fields Modifier and Type Field Description private final HTItemIngredientingredientprivate final Holder<Enchantment>holderprivate final IntegerrequiredExpAmountprivate final ItemStacktoastSymbolprivate final NonNullList<Ingredient>ingredientsprivate final BooleanisSpecialprivate final BooleanisIncompleteprivate final Stringgroupprivate final RecipeSerializer<?>serializerprivate final RecipeType<?>type
-
Constructor Summary
Constructors Constructor Description HTHolderEnchantingRecipe(HTItemIngredient ingredient, Holder<Enchantment> holder)
-
Method Summary
Modifier and Type Method Description final HTItemIngredientgetIngredient()final Holder<Enchantment>getHolder()final IntegergetRequiredExpAmount()BooleantestBook(ItemStack stack)BooleantestItem(ItemStack stack)IntegergetRequiredExpAmount(HTEnchantingRecipe.Input input)IntegergetRequiredItemAmount(HTEnchantingRecipe.Input input)ItemStackassemble(HTEnchantingRecipe.Input input, HolderLookup.Provider registries)RecipeSerializer<?>getSerializer()RecipeType<?>getType()-
Methods inherited from class hiiragi283.ragium.api.recipe.base.HTEnchantingRecipe
getGroup, getIngredients, getToastSymbol, isIncomplete, isSpecial, test -
Methods inherited from class hiiragi283.ragium.common.recipe.HTHolderEnchantingRecipe
getSerializer, getType -
Methods inherited from class hiiragi283.core.api.recipe.base.HTSerializableRecipe
canCraftInDimensions, getIngredients, getRemainingItems, getResultItem, isSpecial, matches -
Methods inherited from class net.minecraft.world.item.crafting.Recipe
showNotification -
Methods inherited from class java.util.function.Predicate
and, negate, or -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getIngredient
final HTItemIngredient getIngredient()
-
getHolder
final Holder<Enchantment> getHolder()
-
getRequiredExpAmount
final Integer getRequiredExpAmount()
-
getRequiredExpAmount
Integer getRequiredExpAmount(HTEnchantingRecipe.Input input)
-
getRequiredItemAmount
Integer getRequiredItemAmount(HTEnchantingRecipe.Input input)
-
assemble
ItemStack assemble(HTEnchantingRecipe.Input input, HolderLookup.Provider registries)
-
getSerializer
RecipeSerializer<?> getSerializer()
-
getType
RecipeType<?> getType()
-
-
-
-