Package net.minecraft.recipe
Class FireworkStarRecipe
java.lang.Object
net.minecraft.recipe.SpecialCraftingRecipe
net.minecraft.recipe.FireworkStarRecipe
- All Implemented Interfaces:
CraftingRecipe
,Recipe<CraftingInventory>
public class FireworkStarRecipe extends SpecialCraftingRecipe
-
Field Summary
Fields Modifier and Type Field Description private static Ingredient
FLICKER_MODIFIER
private static Ingredient
GUNPOWDER
private static Ingredient
TRAIL_MODIFIER
private static Ingredient
TYPE_MODIFIER
private static Map<Item,FireworkItem.Type>
TYPE_MODIFIER_MAP
-
Constructor Summary
Constructors Constructor Description FireworkStarRecipe(Identifier id)
-
Method Summary
Modifier and Type Method Description ItemStack
craft(CraftingInventory craftingInventory)
boolean
fits(int width, int height)
ItemStack
getOutput()
RecipeSerializer<?>
getSerializer()
boolean
matches(CraftingInventory craftingInventory, World world)
Methods inherited from class net.minecraft.recipe.SpecialCraftingRecipe
getId, isIgnoredInRecipeBook
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.recipe.CraftingRecipe
getType
Methods inherited from interface net.minecraft.recipe.Recipe
getGroup, getPreviewInputs, getRecipeKindIcon, getRemainingStacks
-
Field Details
-
TYPE_MODIFIER
-
TRAIL_MODIFIER
-
FLICKER_MODIFIER
-
TYPE_MODIFIER_MAP
-
GUNPOWDER
-
-
Constructor Details
-
FireworkStarRecipe
-
-
Method Details
-
matches
-
craft
-
fits
@Environment(CLIENT) public boolean fits(int width, int height) -
getOutput
- Specified by:
getOutput
in interfaceRecipe<CraftingInventory>
- Overrides:
getOutput
in classSpecialCraftingRecipe
-
getSerializer
-