Class UpgradeWithEnchantedBookRecipe
java.lang.Object
net.minecraft.world.item.crafting.ShapedRecipe
com.refinedmods.refinedstorage.recipe.UpgradeWithEnchantedBookRecipe
- All Implemented Interfaces:
net.minecraft.world.item.crafting.CraftingRecipe,net.minecraft.world.item.crafting.Recipe<net.minecraft.world.inventory.CraftingContainer>,net.neoforged.neoforge.common.crafting.IShapedRecipe<net.minecraft.world.inventory.CraftingContainer>
public class UpgradeWithEnchantedBookRecipe
extends net.minecraft.world.item.crafting.ShapedRecipe
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.item.crafting.ShapedRecipe
net.minecraft.world.item.crafting.ShapedRecipe.Serializer -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<UpgradeWithEnchantedBookRecipe>Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CONDITIONAL_CODEC -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.core.Holder<net.minecraft.world.item.enchantment.Enchantment>net.minecraft.resources.ResourceLocationintnet.minecraft.core.Holder<net.minecraft.world.item.Item>booleanmatches(net.minecraft.world.inventory.CraftingContainer craftingContainer, net.minecraft.world.level.Level theLevel) Methods inherited from class net.minecraft.world.item.crafting.ShapedRecipe
assemble, canCraftInDimensions, category, getGroup, getHeight, getIngredients, getRecipeHeight, getRecipeWidth, getResultItem, getSerializer, getWidth, isIncomplete, showNotificationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.item.crafting.CraftingRecipe
getTypeMethods inherited from interface net.minecraft.world.item.crafting.Recipe
getRemainingItems, getToastSymbol, isSpecial
-
Field Details
-
CODEC
-
-
Method Details
-
getResultItem
public net.minecraft.core.Holder<net.minecraft.world.item.Item> getResultItem() -
getEnchantment
public net.minecraft.core.Holder<net.minecraft.world.item.enchantment.Enchantment> getEnchantment() -
getEnchantmentId
@Nullable public net.minecraft.resources.ResourceLocation getEnchantmentId() -
getEnchantmentLevel
public int getEnchantmentLevel() -
matches
public boolean matches(net.minecraft.world.inventory.CraftingContainer craftingContainer, net.minecraft.world.level.Level theLevel) - Specified by:
matchesin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraft.world.inventory.CraftingContainer>- Overrides:
matchesin classnet.minecraft.world.item.crafting.ShapedRecipe
-