@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 ICraftingRecipe
public java.lang.String getName()
getName
in interface ICraftingRecipe
public java.lang.String getFullResourceName()
getFullResourceName
in interface ICraftingRecipe
public java.lang.String getResourceDomain()
getResourceDomain
in interface ICraftingRecipe
public boolean matches(ICraftingInventory inventory)
matches
in interface ICraftingRecipe
public IItemStack getCraftingResult(ICraftingInventory inventory)
getCraftingResult
in interface ICraftingRecipe
public boolean hasTransformers()
hasTransformers
in interface ICraftingRecipe
public boolean hasRecipeAction()
hasRecipeAction
in interface ICraftingRecipe
public boolean hasRecipeFunction()
hasRecipeFunction
in interface ICraftingRecipe
public void applyTransformers(ICraftingInventory inventory, IPlayer byPlayer)
applyTransformers
in interface ICraftingRecipe
public IIngredient[] getIngredients1D()
getIngredients1D
in interface ICraftingRecipe
public IIngredient[][] getIngredients2D()
getIngredients2D
in interface ICraftingRecipe
public boolean isHidden()
isHidden
in interface ICraftingRecipe
public boolean isShaped()
isShaped
in interface ICraftingRecipe
public java.lang.String toCommandString()
toCommandString
in interface ICraftingRecipe
public IRecipeAction getAction()