Package net.minecraft.recipe
Class FireworkRocketRecipe
java.lang.Object
net.minecraft.recipe.SpecialCraftingRecipe
net.minecraft.recipe.FireworkRocketRecipe
- All Implemented Interfaces:
CraftingRecipe,Recipe<CraftingInventory>
public class FireworkRocketRecipe extends SpecialCraftingRecipe
-
Field Summary
Fields Modifier and Type Field Description private static IngredientDURATION_MODIFIERprivate static IngredientFIREWORK_STARprivate static IngredientPAPER -
Constructor Summary
Constructors Constructor Description FireworkRocketRecipe(Identifier id) -
Method Summary
Modifier and Type Method Description ItemStackcraft(CraftingInventory craftingInventory)booleanfits(int width, int height)ItemStackgetOutput()RecipeSerializer<?>getSerializer()booleanmatches(CraftingInventory craftingInventory, World world)Methods inherited from class net.minecraft.recipe.SpecialCraftingRecipe
getId, isIgnoredInRecipeBookMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.recipe.CraftingRecipe
getTypeMethods inherited from interface net.minecraft.recipe.Recipe
getGroup, getPreviewInputs, getRecipeKindIcon, getRemainingStacks, method_31584
-
Field Details
-
PAPER
-
DURATION_MODIFIER
-
FIREWORK_STAR
-
-
Constructor Details
-
FireworkRocketRecipe
-
-
Method Details
-
matches
-
craft
-
fits
@Environment(CLIENT) public boolean fits(int width, int height) -
getOutput
- Specified by:
getOutputin interfaceRecipe<CraftingInventory>- Overrides:
getOutputin classSpecialCraftingRecipe
-
getSerializer
-