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, isIgnoredInRecipeBookclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypegetGroup, getPreviewInputs, getRecipeKindIcon, getRemainingStacksprivate 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 SpecialCraftingRecipepublic RecipeSerializer<?> getSerializer()