Package net.minecraft.item.crafting
Class FireworkRocketRecipe
- java.lang.Object
-
- net.minecraft.item.crafting.SpecialRecipe
-
- net.minecraft.item.crafting.FireworkRocketRecipe
-
- All Implemented Interfaces:
ICraftingRecipe
,IRecipe<CraftingInventory>
public class FireworkRocketRecipe extends SpecialRecipe
-
-
Field Summary
Fields Modifier and Type Field Description private static Ingredient
GUNPOWDER_INGREDIENT
private static Ingredient
PAPER_INGREDIENT
private static Ingredient
STAR_INGREDIENT
-
Constructor Summary
Constructors Constructor Description FireworkRocketRecipe(ResourceLocation p_i48168_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemStack
assemble(CraftingInventory p_77572_1_)
boolean
canCraftInDimensions(int p_194133_1_, int p_194133_2_)
ItemStack
getResultItem()
IRecipeSerializer<?>
getSerializer()
boolean
matches(CraftingInventory p_77569_1_, World p_77569_2_)
-
Methods inherited from class net.minecraft.item.crafting.SpecialRecipe
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.item.crafting.ICraftingRecipe
getType
-
Methods inherited from interface net.minecraft.item.crafting.IRecipe
getGroup, getIngredients, getRemainingItems, getToastSymbol
-
-
-
-
Field Detail
-
PAPER_INGREDIENT
private static final Ingredient PAPER_INGREDIENT
-
GUNPOWDER_INGREDIENT
private static final Ingredient GUNPOWDER_INGREDIENT
-
STAR_INGREDIENT
private static final Ingredient STAR_INGREDIENT
-
-
Constructor Detail
-
FireworkRocketRecipe
public FireworkRocketRecipe(ResourceLocation p_i48168_1_)
-
-
Method Detail
-
matches
public boolean matches(CraftingInventory p_77569_1_, World p_77569_2_)
-
assemble
public ItemStack assemble(CraftingInventory p_77572_1_)
-
canCraftInDimensions
public boolean canCraftInDimensions(int p_194133_1_, int p_194133_2_)
-
getResultItem
public ItemStack getResultItem()
- Specified by:
getResultItem
in interfaceIRecipe<CraftingInventory>
- Overrides:
getResultItem
in classSpecialRecipe
-
getSerializer
public IRecipeSerializer<?> getSerializer()
-
-