Class HTViewerEnchantingRecipe
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.HTRecipe,hiiragi283.ragium.api.recipe.base.HTEnchantingRecipe,java.util.function.Predicate
public final class HTViewerEnchantingRecipe extends HTBasicEnchantingRecipe
-
-
Field Summary
Fields Modifier and Type Field Description public final static MapBiCodec<RegistryFriendlyByteBuf, HTViewerEnchantingRecipe>CODECprivate final List<ItemStack>supportedItemsprivate final IntegerrequiredExpAmountprivate final ItemStackresultprivate final HTItemIngredientingredient
-
Constructor Summary
Constructors Constructor Description HTViewerEnchantingRecipe(List<ItemStack> supportedItems, HTItemIngredient ingredient, Integer requiredExpAmount, ItemStack result)
-
Method Summary
Modifier and Type Method Description final List<ItemStack>getSupportedItems()IntegergetRequiredExpAmount()final ItemStackgetResult()final HTItemIngredientgetIngredient()ItemStackapplyEnchantment(ItemStack stack)-
Methods inherited from class hiiragi283.ragium.impl.recipe.HTBasicEnchantingRecipe
assemble, getRequiredAdditionAmount, getRequiredExpAmount, test -
Methods inherited from class java.util.function.Predicate
and, negate, or -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSupportedItems
final List<ItemStack> getSupportedItems()
-
getRequiredExpAmount
Integer getRequiredExpAmount()
-
getResult
final ItemStack getResult()
-
getIngredient
final HTItemIngredient getIngredient()
-
applyEnchantment
ItemStack applyEnchantment(ItemStack stack)
-
-
-
-