Interface HTEnchantingRecipe
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.HTRecipePredicate,hiiragi283.core.api.recipe.HTTriRecipeFactory,hiiragi283.core.api.recipe.base.HTRecipePredicates.TripleInput,net.neoforged.neoforge.common.util.TriPredicate
public interface HTEnchantingRecipe implements HTRecipePredicates.TripleInput<HTEnchantingRecipe.Input, ItemStack, ItemStack, Int>, HTTriRecipeFactory<ItemStack, ItemStack, Int, ItemStack>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classHTEnchantingRecipe.Input
-
Method Summary
Modifier and Type Method Description abstract IntegergetRequiredExpAmount(ItemStack base, ItemStack addition)abstract IntegergetRequiredAdditionAmount(ItemStack base, ItemStack addition, Integer expAmount)Booleanmatches(HTEnchantingRecipe.Input input)-
Methods inherited from class hiiragi283.core.api.recipe.base.HTRecipePredicates.TripleInput
getRequiredAmount, test -
Methods inherited from class net.neoforged.neoforge.common.util.TriPredicate
and, negate, or -
Methods inherited from class hiiragi283.core.api.recipe.HTTriRecipeFactory
assemble -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getRequiredExpAmount
abstract Integer getRequiredExpAmount(ItemStack base, ItemStack addition)
-
getRequiredAdditionAmount
abstract Integer getRequiredAdditionAmount(ItemStack base, ItemStack addition, Integer expAmount)
-
matches
Boolean matches(HTEnchantingRecipe.Input input)
-
-
-
-