Package hiiragi283.ragium.common.recipe
Class RTEnchantingRecipe
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.HTRecipePredicate,hiiragi283.core.api.recipe.HTTriRecipeFactory,hiiragi283.core.api.recipe.base.HTRecipePredicates.TripleInput,hiiragi283.core.impl.recipe.HTSerializableRecipe,hiiragi283.ragium.api.recipe.base.HTEnchantingRecipe,net.minecraft.world.item.crafting.Recipe,net.neoforged.neoforge.common.util.TriPredicate
public final class RTEnchantingRecipe extends HTBasicEnchantingRecipe implements HTSerializableRecipe<HTEnchantingRecipe.Input>
-
-
Field Summary
Fields Modifier and Type Field Description public final static MapCodec<RTEnchantingRecipe>CODECprivate 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 RTEnchantingRecipe(HTItemIngredient ingredient, Holder<Enchantment> holder)
-
Method Summary
Modifier and Type Method Description final Holder<Enchantment>getHolder()IntegergetRequiredExpAmount()final HTItemIngredientgetIngredient()Triple<Integer, Integer, Integer>getRequiredAmount(ItemStack first, ItemStack second, Integer third)ItemStackapplyEnchantment(ItemStack stack)RecipeSerializer<?>getSerializer()RecipeType<?>getType()-
Methods inherited from class hiiragi283.ragium.common.recipe.RTEnchantingRecipe
getGroup, getIngredients, getSerializer, getToastSymbol, getType, isIncomplete, isSpecial -
Methods inherited from class hiiragi283.ragium.impl.recipe.HTBasicEnchantingRecipe
assemble, getRequiredAdditionAmount, getRequiredExpAmount, test -
Methods inherited from class hiiragi283.core.impl.recipe.HTSerializableRecipe
assemble, canCraftInDimensions, getIngredients, getRemainingItems, getResultItem, isSpecial, matches -
Methods inherited from class hiiragi283.ragium.api.recipe.base.HTEnchantingRecipe
matches -
Methods inherited from class net.neoforged.neoforge.common.util.TriPredicate
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()
-
getRequiredAmount
Triple<Integer, Integer, Integer> getRequiredAmount(ItemStack first, ItemStack second, Integer third)
-
applyEnchantment
ItemStack applyEnchantment(ItemStack stack)
-
getSerializer
RecipeSerializer<?> getSerializer()
-
getType
RecipeType<?> getType()
-
-
-
-