Package net.minecraft.item.crafting
Class FireworkStarRecipe
- java.lang.Object
-
- net.minecraft.item.crafting.SpecialRecipe
-
- net.minecraft.item.crafting.FireworkStarRecipe
-
- All Implemented Interfaces:
ICraftingRecipe
,IRecipe<CraftingInventory>
public class FireworkStarRecipe extends SpecialRecipe
-
-
Field Summary
Fields Modifier and Type Field Description private static Ingredient
FLICKER_INGREDIENT
private static Ingredient
GUNPOWDER_INGREDIENT
private static java.util.Map<Item,FireworkRocketItem.Shape>
SHAPE_BY_ITEM
private static Ingredient
SHAPE_INGREDIENT
private static Ingredient
TRAIL_INGREDIENT
-
Constructor Summary
Constructors Constructor Description FireworkStarRecipe(ResourceLocation p_i48166_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
-
SHAPE_INGREDIENT
private static final Ingredient SHAPE_INGREDIENT
-
TRAIL_INGREDIENT
private static final Ingredient TRAIL_INGREDIENT
-
FLICKER_INGREDIENT
private static final Ingredient FLICKER_INGREDIENT
-
SHAPE_BY_ITEM
private static final java.util.Map<Item,FireworkRocketItem.Shape> SHAPE_BY_ITEM
-
GUNPOWDER_INGREDIENT
private static final Ingredient GUNPOWDER_INGREDIENT
-
-
Constructor Detail
-
FireworkStarRecipe
public FireworkStarRecipe(ResourceLocation p_i48166_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()
-
-