Package hiiragi283.ragium.impl.recipe
Class HTBasicEnchantingRecipe
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.HTRecipePredicate,hiiragi283.core.api.recipe.HTTriRecipeFactory,hiiragi283.core.api.recipe.base.HTRecipePredicates.TripleInput,hiiragi283.ragium.api.recipe.base.HTEnchantingRecipe,net.neoforged.neoforge.common.util.TriPredicate
public abstract class HTBasicEnchantingRecipe implements HTEnchantingRecipe
-
-
Field Summary
Fields Modifier and Type Field Description private final HTItemIngredientingredientprivate final IntegerrequiredExpAmount
-
Constructor Summary
Constructors Constructor Description HTBasicEnchantingRecipe(HTItemIngredient ingredient)
-
Method Summary
Modifier and Type Method Description final HTItemIngredientgetIngredient()abstract IntegergetRequiredExpAmount()abstract ItemStackapplyEnchantment(ItemStack stack)Booleantest(ItemStack first, ItemStack second, Integer third)IntegergetRequiredExpAmount(ItemStack base, ItemStack addition)IntegergetRequiredAdditionAmount(ItemStack base, ItemStack addition, Integer expAmount)ItemStackassemble(ItemStack firstInput, ItemStack secondInput, Integer thirdInput)-
Methods inherited from class hiiragi283.ragium.api.recipe.base.HTEnchantingRecipe
matches -
Methods inherited from class hiiragi283.core.api.recipe.base.HTRecipePredicates.TripleInput
getRequiredAmount -
Methods inherited from class net.neoforged.neoforge.common.util.TriPredicate
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()
-
getRequiredExpAmount
abstract Integer getRequiredExpAmount()
-
applyEnchantment
abstract ItemStack applyEnchantment(ItemStack stack)
-
getRequiredExpAmount
Integer getRequiredExpAmount(ItemStack base, ItemStack addition)
-
getRequiredAdditionAmount
Integer getRequiredAdditionAmount(ItemStack base, ItemStack addition, Integer expAmount)
-
-
-
-