Class CoverRecipe
java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
com.refinedmods.refinedstorage.recipe.CoverRecipe
- All Implemented Interfaces:
net.minecraft.world.item.crafting.CraftingRecipe,net.minecraft.world.item.crafting.Recipe<net.minecraft.world.inventory.CraftingContainer>
public class CoverRecipe
extends net.minecraft.world.item.crafting.CustomRecipe
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic net.minecraft.world.item.crafting.RecipeSerializer<CoverRecipe>Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionCoverRecipe(net.minecraft.world.item.crafting.CraftingBookCategory category) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackassemble(net.minecraft.world.inventory.CraftingContainer inv, net.minecraft.core.RegistryAccess registryAccess) booleancanCraftInDimensions(int width, int height) static net.minecraft.world.item.ItemStackstatic net.minecraft.world.item.ItemStackgetResult(net.minecraft.world.item.ItemStack first, net.minecraft.world.item.ItemStack second) net.minecraft.world.item.crafting.RecipeSerializer<?>static booleanbooleanmatches(net.minecraft.world.inventory.CraftingContainer craftingContainer, net.minecraft.world.level.Level level) static booleanstackMatches(net.minecraft.world.item.ItemStack first) Methods inherited from class net.minecraft.world.item.crafting.CustomRecipe
category, getResultItem, isSpecialMethods 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
getGroup, getIngredients, getRemainingItems, getToastSymbol, isIncomplete, showNotification
-
Field Details
-
SERIALIZER
-
-
Constructor Details
-
CoverRecipe
public CoverRecipe(net.minecraft.world.item.crafting.CraftingBookCategory category)
-
-
Method Details
-
stackMatches
public static boolean stackMatches(net.minecraft.world.item.ItemStack first) -
matches
-
getResult
public static net.minecraft.world.item.ItemStack getResult(List<net.minecraft.world.item.ItemStack> list) -
getResult
public static net.minecraft.world.item.ItemStack getResult(net.minecraft.world.item.ItemStack first, net.minecraft.world.item.ItemStack second) -
matches
public boolean matches(net.minecraft.world.inventory.CraftingContainer craftingContainer, net.minecraft.world.level.Level level) -
assemble
public net.minecraft.world.item.ItemStack assemble(net.minecraft.world.inventory.CraftingContainer inv, net.minecraft.core.RegistryAccess registryAccess) -
canCraftInDimensions
public boolean canCraftInDimensions(int width, int height) -
getSerializer
public net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer()
-