Class CosmeticRemoveRecipe
java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
vazkii.botania.common.crafting.recipe.CosmeticRemoveRecipe
- All Implemented Interfaces:
net.minecraft.world.item.crafting.CraftingRecipe,net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>
public class CosmeticRemoveRecipe
extends net.minecraft.world.item.crafting.CustomRecipe
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.world.item.crafting.RecipeSerializer<CosmeticRemoveRecipe> Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, STREAM_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionCosmeticRemoveRecipe(net.minecraft.world.item.crafting.CraftingBookCategory craftingBookCategory) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackassemble(net.minecraft.world.item.crafting.CraftingInput inv, net.minecraft.core.HolderLookup.Provider registries) booleancanCraftInDimensions(int width, int height) net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getRemainingItems(net.minecraft.world.item.crafting.CraftingInput inv) net.minecraft.world.item.crafting.RecipeSerializer<?> booleanmatches(net.minecraft.world.item.crafting.CraftingInput inv, net.minecraft.world.level.Level world) 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, getToastSymbol, isIncomplete, showNotification
-
Field Details
-
SERIALIZER
public static final net.minecraft.world.item.crafting.RecipeSerializer<CosmeticRemoveRecipe> SERIALIZER
-
-
Constructor Details
-
CosmeticRemoveRecipe
public CosmeticRemoveRecipe(net.minecraft.world.item.crafting.CraftingBookCategory craftingBookCategory)
-
-
Method Details
-
matches
public boolean matches(net.minecraft.world.item.crafting.CraftingInput inv, net.minecraft.world.level.Level world) -
assemble
public net.minecraft.world.item.ItemStack assemble(net.minecraft.world.item.crafting.CraftingInput inv, net.minecraft.core.HolderLookup.Provider registries) -
canCraftInDimensions
public boolean canCraftInDimensions(int width, int height) -
getSerializer
public net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer() -
getRemainingItems
public net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getRemainingItems(net.minecraft.world.item.crafting.CraftingInput inv)
-