public class FireworkStarRecipe extends SpecialCraftingRecipe
Modifier and Type | Field and 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 and Description |
---|
FireworkStarRecipe(Identifier id) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
craft(CraftingInventory craftingInventory) |
boolean |
fits(int width,
int height) |
ItemStack |
getOutput() |
RecipeSerializer<?> |
getSerializer() |
boolean |
matches(CraftingInventory craftingInventory,
World world) |
getId, isIgnoredInRecipeBook
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getType
getGroup, getPreviewInputs, getRecipeKindIcon, getRemainingStacks
private static final Ingredient TYPE_MODIFIER
private static final Ingredient TRAIL_MODIFIER
private static final Ingredient FLICKER_MODIFIER
private static final Map<Item,FireworkItem.Type> TYPE_MODIFIER_MAP
private static final Ingredient GUNPOWDER
public FireworkStarRecipe(Identifier id)
public boolean matches(CraftingInventory craftingInventory, World world)
public ItemStack craft(CraftingInventory craftingInventory)
@Environment(value=CLIENT) public boolean fits(int width, int height)
public ItemStack getOutput()
getOutput
in interface Recipe<CraftingInventory>
getOutput
in class SpecialCraftingRecipe
public RecipeSerializer<?> getSerializer()