@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 ICraftingRecipe
public boolean matches(ICraftingInventory inventory)
matches
in interface ICraftingRecipe
public IItemStack getCraftingResult(ICraftingInventory inventory)
getCraftingResult
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 boolean hasTransformers()
hasTransformers
in interface ICraftingRecipe
public boolean hasRecipeAction()
hasRecipeAction
in interface ICraftingRecipe
public boolean hasRecipeFunction()
hasRecipeFunction
in interface ICraftingRecipe
public IRecipeAction getAction()
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