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
Modifier and TypeFieldDescriptionprivate static final Ingredient
private static final Ingredient
private static final Ingredient
Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, STREAM_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassemble
(CraftingInput p_342888_, HolderLookup.Provider p_335679_) boolean
canCraftInDimensions
(int p_43844_, int p_43845_) getResultItem
(HolderLookup.Provider p_333278_) boolean
matches
(CraftingInput p_344883_, Level p_43855_) Methods inherited from class net.minecraft.world.item.crafting.CustomRecipe
category, 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
-
PAPER_INGREDIENT
-
GUNPOWDER_INGREDIENT
-
STAR_INGREDIENT
-
-
Constructor Details
-
FireworkRocketRecipe
-
-
Method Details
-
matches
-
assemble
-
canCraftInDimensions
public boolean canCraftInDimensions(int p_43844_, int p_43845_) -
getResultItem
- Specified by:
getResultItem
in interfaceRecipe<CraftingInput>
- Overrides:
getResultItem
in classCustomRecipe
-
getSerializer
-