@Deprecated public class ShapelessRecipe extends java.lang.Object implements ICraftingRecipe
| Constructor and Description |
|---|
ShapelessRecipe(IItemStack output,
IIngredient[] ingredients,
IRecipeFunction function,
IRecipeAction action)
Deprecated.
|
ShapelessRecipe(java.lang.String name,
IItemStack output,
IIngredient[] ingredients,
IRecipeFunction function,
IRecipeAction action)
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.
|
IIngredient[] |
getIngredients()
Deprecated.
|
IIngredient[] |
getIngredients1D()
Deprecated.
|
IIngredient[][] |
getIngredients2D()
Deprecated.
|
java.lang.String |
getName()
Deprecated.
|
IItemStack |
getOutput()
Deprecated.
|
java.lang.String |
getResourceDomain()
Deprecated.
|
int |
getSize()
Deprecated.
|
boolean |
hasRecipeAction()
Deprecated.
|
boolean |
hasRecipeFunction()
Deprecated.
|
boolean |
hasTransformers()
Deprecated.
|
boolean |
isHidden()
Deprecated.
|
boolean |
isShaped()
Deprecated.
|
boolean |
matches(ICraftingInventory inventory)
Deprecated.
|
java.lang.String |
toCommandString()
Deprecated.
|
public ShapelessRecipe(IItemStack output, IIngredient[] ingredients, IRecipeFunction function, IRecipeAction action)
public ShapelessRecipe(java.lang.String name,
IItemStack output,
IIngredient[] ingredients,
IRecipeFunction function,
IRecipeAction action)
public int getSize()
public IIngredient[] getIngredients()
public IItemStack getOutput()
getOutput in interface ICraftingRecipepublic boolean matches(ICraftingInventory inventory)
matches in interface ICraftingRecipepublic IItemStack getCraftingResult(ICraftingInventory inventory)
getCraftingResult 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 boolean hasTransformers()
hasTransformers in interface ICraftingRecipepublic boolean hasRecipeAction()
hasRecipeAction in interface ICraftingRecipepublic boolean hasRecipeFunction()
hasRecipeFunction in interface ICraftingRecipepublic IRecipeAction getAction()
public java.lang.String getName()
getName in interface ICraftingRecipepublic java.lang.String getFullResourceName()
getFullResourceName in interface ICraftingRecipepublic java.lang.String getResourceDomain()
getResourceDomain in interface ICraftingRecipe