Class FireworkStarRecipe
java.lang.Object
net.minecraft.world.item.crafting.CustomRecipe
net.minecraft.world.item.crafting.FireworkStarRecipe
- All Implemented Interfaces:
CraftingRecipe,Recipe<CraftingInput>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Ingredientprivate static final Map<Item, FireworkExplosion.Shape> private 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 p_346206_, HolderLookup.Provider p_335498_) booleancanCraftInDimensions(int p_43885_, int p_43886_) getResultItem(HolderLookup.Provider p_335423_) booleanmatches(CraftingInput p_344993_, Level p_43896_) 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
-
SHAPE_INGREDIENT
-
TRAIL_INGREDIENT
-
TWINKLE_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:
getResultItemin interfaceRecipe<CraftingInput>- Overrides:
getResultItemin classCustomRecipe
-
getSerializer
-