Class FireworkStarRecipe
java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
net.minecraft.world.item.crafting.FireworkStarRecipe
- All Implemented Interfaces:
CraftingRecipe
,Recipe<CraftingContainer>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Ingredient
private static final Ingredient
private static final Map<Item,
FireworkRocketItem.Shape> private static final Ingredient
private static final Ingredient
Fields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassemble
(CraftingContainer p_43893_, RegistryAccess p_266692_) boolean
canCraftInDimensions
(int p_43885_, int p_43886_) getResultItem
(RegistryAccess p_266932_) boolean
matches
(CraftingContainer p_43895_, Level p_43896_) 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
-
SHAPE_INGREDIENT
-
TRAIL_INGREDIENT
-
FLICKER_INGREDIENT
-
SHAPE_BY_ITEM
-
GUNPOWDER_INGREDIENT
-
-
Constructor Details
-
FireworkStarRecipe
-
-
Method Details
-
matches
-
assemble
-
canCraftInDimensions
public boolean canCraftInDimensions(int p_43885_, int p_43886_) -
getResultItem
- Specified by:
getResultItem
in interfaceRecipe<CraftingContainer>
- Overrides:
getResultItem
in classCustomRecipe
-
getSerializer
-