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,hiiragi283.ragium.api.recipe.base.HTEnchantingRecipe.Serializable,java.util.function.Predicate,net.minecraft.world.item.crafting.Recipe
public final class HTHolderEnchantingRecipe extends HTBasicEnchantingRecipe.Serializable
-
-
Field Summary
Fields Modifier and Type Field Description private final Holder<Enchantment>holderprivate final IntegerrequiredExpAmountprivate final HTItemIngredientingredientprivate 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 Holder<Enchantment>getHolder()IntegergetRequiredExpAmount()final HTItemIngredientgetIngredient()ItemStackapplyEnchantment(ItemStack stack)RecipeSerializer<?>getSerializer()-
Methods inherited from class hiiragi283.ragium.api.recipe.base.HTEnchantingRecipe.Serializable
getGroup, getIngredients, getToastSymbol, isIncomplete, isSpecial -
Methods inherited from class hiiragi283.ragium.common.recipe.HTHolderEnchantingRecipe
getSerializer -
Methods inherited from class hiiragi283.ragium.impl.recipe.HTBasicEnchantingRecipe.Serializable
getType, getType -
Methods inherited from class hiiragi283.ragium.impl.recipe.HTBasicEnchantingRecipe
assemble, getRequiredAdditionAmount, getRequiredExpAmount, test -
Methods inherited from class hiiragi283.core.api.recipe.base.HTSerializableRecipe
assemble, canCraftInDimensions, getIngredients, getRemainingItems, getResultItem, isSpecial, matches -
Methods inherited from class java.util.function.Predicate
and, negate, or -
Methods inherited from class net.minecraft.world.item.crafting.Recipe
showNotification -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getHolder
final Holder<Enchantment> getHolder()
-
getRequiredExpAmount
Integer getRequiredExpAmount()
-
getIngredient
final HTItemIngredient getIngredient()
-
applyEnchantment
ItemStack applyEnchantment(ItemStack stack)
-
getSerializer
RecipeSerializer<?> getSerializer()
-
-
-
-