public class FireworkRocketRecipe extends SpecialRecipe
| Modifier and Type | Field and Description |
|---|---|
private static Ingredient |
INGREDIENT_FIREWORK_STAR |
private static Ingredient |
INGREDIENT_GUNPOWDER |
private static Ingredient |
INGREDIENT_PAPER |
| Constructor and Description |
|---|
FireworkRocketRecipe(ResourceLocation idIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canFit(int width,
int height) |
ItemStack |
getCraftingResult(CraftingInventory inv) |
ItemStack |
getRecipeOutput() |
IRecipeSerializer<?> |
getSerializer() |
boolean |
matches(CraftingInventory inv,
World worldIn) |
getId, isDynamicclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypegetGroup, getIcon, getIngredients, getRemainingItemsprivate static final Ingredient INGREDIENT_PAPER
private static final Ingredient INGREDIENT_GUNPOWDER
private static final Ingredient INGREDIENT_FIREWORK_STAR
public FireworkRocketRecipe(ResourceLocation idIn)
public boolean matches(CraftingInventory inv, World worldIn)
public ItemStack getCraftingResult(CraftingInventory inv)
public boolean canFit(int width,
int height)
public ItemStack getRecipeOutput()
getRecipeOutput in interface IRecipe<CraftingInventory>getRecipeOutput in class SpecialRecipepublic IRecipeSerializer<?> getSerializer()