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
Modifier and TypeFieldDescriptionstatic net.minecraft.world.item.crafting.RecipeSerializer<CoverRecipe>
Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC
-
Constructor Summary
ConstructorDescriptionCoverRecipe
(net.minecraft.world.item.crafting.CraftingBookCategory category) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStack
assemble
(net.minecraft.world.inventory.CraftingContainer inv, net.minecraft.core.RegistryAccess registryAccess) boolean
canCraftInDimensions
(int width, int height) static net.minecraft.world.item.ItemStack
static net.minecraft.world.item.ItemStack
getResult
(net.minecraft.world.item.ItemStack first, net.minecraft.world.item.ItemStack second) net.minecraft.world.item.crafting.RecipeSerializer<?>
static boolean
boolean
matches
(net.minecraft.world.inventory.CraftingContainer craftingContainer, net.minecraft.world.level.Level level) static boolean
stackMatches
(net.minecraft.world.item.ItemStack first) Methods inherited from class net.minecraft.world.item.crafting.CustomRecipe
category, getResultItem, isSpecial
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.item.crafting.CraftingRecipe
getType
Methods 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()
-