Class FireworkRocketRecipe
java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
net.minecraft.world.item.crafting.FireworkRocketRecipe
- All Implemented Interfaces:
CraftingRecipe
,Recipe<CraftingContainer>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Ingredient
private static final Ingredient
private static final Ingredient
-
Constructor Summary
ConstructorDescriptionFireworkRocketRecipe
(ResourceLocation p_250923_, CraftingBookCategory p_250134_) -
Method Summary
Modifier and TypeMethodDescriptionassemble
(CraftingContainer p_43852_, RegistryAccess p_266791_) boolean
canCraftInDimensions
(int p_43844_, int p_43845_) getResultItem
(RegistryAccess p_267261_) boolean
matches
(CraftingContainer p_43854_, Level p_43855_) Methods inherited from class net.minecraft.world.item.crafting.CustomRecipe
category, getId, 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<CraftingContainer>
- Overrides:
getResultItem
in classCustomRecipe
-
getSerializer
-