Class FireworkRocketRecipe
java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
net.minecraft.world.item.crafting.FireworkRocketRecipe
- All Implemented Interfaces:
CraftingRecipe,Recipe<CraftingInput>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Ingredientprivate static final Ingredientprivate static final IngredientFields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, STREAM_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassemble(CraftingInput input, HolderLookup.Provider registries) booleancanCraftInDimensions(int width, int height) Used to determine if this recipe can fit in a grid of the given width/heightgetResultItem(HolderLookup.Provider registries) booleanmatches(CraftingInput input, Level level) Methods inherited from class net.minecraft.world.item.crafting.CustomRecipe
category, 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
-
PAPER_INGREDIENT
-
GUNPOWDER_INGREDIENT
-
STAR_INGREDIENT
-
-
Constructor Details
-
FireworkRocketRecipe
-
-
Method Details
-
matches
-
assemble
-
canCraftInDimensions
public boolean canCraftInDimensions(int width, int height) Used to determine if this recipe can fit in a grid of the given width/height -
getResultItem
- Specified by:
getResultItemin interfaceRecipe<CraftingInput>- Overrides:
getResultItemin classCustomRecipe
-
getSerializer
-