Package hiiragi283.ragium.impl.recipe
Class HTBasicEnchantingRecipe
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.HTRecipe,hiiragi283.ragium.api.recipe.base.HTEnchantingRecipe,java.util.function.Predicate
public abstract class HTBasicEnchantingRecipe implements HTEnchantingRecipe
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classHTBasicEnchantingRecipe.Serializable
-
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)final IntegergetRequiredExpAmount(HTEnchantingRecipe.Input input)final IntegergetRequiredAdditionAmount(HTEnchantingRecipe.Input input)final Booleantest(HTEnchantingRecipe.Input input)final ItemStackassemble(HTEnchantingRecipe.Input input, Boolean preview)-
-
Method Detail
-
getIngredient
final HTItemIngredient getIngredient()
-
getRequiredExpAmount
abstract Integer getRequiredExpAmount()
-
applyEnchantment
abstract ItemStack applyEnchantment(ItemStack stack)
-
getRequiredExpAmount
final Integer getRequiredExpAmount(HTEnchantingRecipe.Input input)
-
getRequiredAdditionAmount
final Integer getRequiredAdditionAmount(HTEnchantingRecipe.Input input)
-
test
final Boolean test(HTEnchantingRecipe.Input input)
-
assemble
final ItemStack assemble(HTEnchantingRecipe.Input input, Boolean preview)
-
-
-
-