@Deprecated public class ShapedRecipe extends java.lang.Object implements ICraftingRecipe
| Constructor and Description |
|---|
ShapedRecipe(IItemStack output,
IIngredient[][] ingredients,
IRecipeFunction function,
IRecipeAction action,
boolean mirrored)
Deprecated.
|
ShapedRecipe(java.lang.String name,
IItemStack output,
IIngredient[][] ingredients,
IRecipeFunction function,
IRecipeAction action,
boolean mirrored)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyTransformers(ICraftingInventory inventory,
IPlayer byPlayer)
Deprecated.
|
IRecipeAction |
getAction()
Deprecated.
|
IItemStack |
getCraftingResult(ICraftingInventory inventory)
Deprecated.
|
java.lang.String |
getFullResourceName()
Deprecated.
|
int |
getHeight()
Deprecated.
|
IIngredient[] |
getIngredients()
Deprecated.
|
IIngredient[] |
getIngredients1D()
Deprecated.
|
IIngredient[][] |
getIngredients2D()
Deprecated.
|
byte[] |
getIngredientsX()
Deprecated.
|
byte[] |
getIngredientsY()
Deprecated.
|
java.lang.String |
getName()
Deprecated.
|
IItemStack |
getOutput()
Deprecated.
|
java.lang.String |
getResourceDomain()
Deprecated.
|
int |
getWidth()
Deprecated.
|
boolean |
hasRecipeAction()
Deprecated.
|
boolean |
hasRecipeFunction()
Deprecated.
|
boolean |
hasTransformers()
Deprecated.
|
boolean |
isHidden()
Deprecated.
|
boolean |
isMirrored()
Deprecated.
|
boolean |
isShaped()
Deprecated.
|
boolean |
matches(ICraftingInventory inventory)
Deprecated.
|
java.lang.String |
toCommandString()
Deprecated.
|
public ShapedRecipe(IItemStack output, IIngredient[][] ingredients, IRecipeFunction function, IRecipeAction action, boolean mirrored)
public ShapedRecipe(java.lang.String name,
IItemStack output,
IIngredient[][] ingredients,
IRecipeFunction function,
IRecipeAction action,
boolean mirrored)
public int getWidth()
public int getHeight()
public boolean isMirrored()
public IIngredient[] getIngredients()
public byte[] getIngredientsX()
public byte[] getIngredientsY()
public IItemStack getOutput()
getOutput in interface ICraftingRecipepublic java.lang.String getName()
getName in interface ICraftingRecipepublic java.lang.String getFullResourceName()
getFullResourceName in interface ICraftingRecipepublic java.lang.String getResourceDomain()
getResourceDomain in interface ICraftingRecipepublic boolean matches(ICraftingInventory inventory)
matches in interface ICraftingRecipepublic IItemStack getCraftingResult(ICraftingInventory inventory)
getCraftingResult in interface ICraftingRecipepublic boolean hasTransformers()
hasTransformers in interface ICraftingRecipepublic boolean hasRecipeAction()
hasRecipeAction in interface ICraftingRecipepublic boolean hasRecipeFunction()
hasRecipeFunction in interface ICraftingRecipepublic void applyTransformers(ICraftingInventory inventory, IPlayer byPlayer)
applyTransformers in interface ICraftingRecipepublic IIngredient[] getIngredients1D()
getIngredients1D in interface ICraftingRecipepublic IIngredient[][] getIngredients2D()
getIngredients2D in interface ICraftingRecipepublic boolean isHidden()
isHidden in interface ICraftingRecipepublic boolean isShaped()
isShaped in interface ICraftingRecipepublic java.lang.String toCommandString()
toCommandString in interface ICraftingRecipepublic IRecipeAction getAction()