public class FireworkRocketRecipe extends SpecialCraftingRecipe
| Modifier and Type | Field and Description |
|---|---|
private static Ingredient |
DURATION_MODIFIER |
private static Ingredient |
FIREWORK_STAR |
private static Ingredient |
PAPER |
| Constructor and Description |
|---|
FireworkRocketRecipe(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 PAPER
private static final Ingredient DURATION_MODIFIER
private static final Ingredient FIREWORK_STAR
public FireworkRocketRecipe(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()