Package com.petrolpark.core.badge
Class BadgeDuplicationRecipe
java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
com.petrolpark.core.badge.BadgeDuplicationRecipe
- All Implemented Interfaces:
net.minecraft.world.item.crafting.CraftingRecipe,net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>
public class BadgeDuplicationRecipe
extends net.minecraft.world.item.crafting.CustomRecipe
-
Field Summary
Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, STREAM_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionBadgeDuplicationRecipe(net.minecraft.world.item.crafting.CraftingBookCategory category) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackassemble(net.minecraft.world.item.crafting.CraftingInput inv, net.minecraft.core.HolderLookup.Provider registryAccess) booleancanCraftInDimensions(int width, int height) net.minecraft.world.item.crafting.RecipeSerializer<BadgeDuplicationRecipe> booleanmatches(net.minecraft.world.item.crafting.CraftingInput inv, net.minecraft.world.level.Level level) 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
-
Constructor Details
-
BadgeDuplicationRecipe
public BadgeDuplicationRecipe(net.minecraft.world.item.crafting.CraftingBookCategory category)
-
-
Method Details
-
matches
public boolean matches(@Nonnull net.minecraft.world.item.crafting.CraftingInput inv, @Nonnull net.minecraft.world.level.Level level) -
assemble
public net.minecraft.world.item.ItemStack assemble(@Nonnull net.minecraft.world.item.crafting.CraftingInput inv, @Nonnull net.minecraft.core.HolderLookup.Provider registryAccess) -
canCraftInDimensions
public boolean canCraftInDimensions(int width, int height) -
getSerializer
-