public class ShapelessRecipe extends java.lang.Object implements IRecipe
| Modifier and Type | Class and Description |
|---|---|
static class |
ShapelessRecipe.Serializer |
| Constructor and Description |
|---|
ShapelessRecipe(ResourceLocation idIn,
java.lang.String groupIn,
ItemStack recipeOutputIn,
NonNullList<Ingredient> recipeItemsIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canFit(int width,
int height) |
ItemStack |
getCraftingResult(IInventory inv) |
java.lang.String |
getGroup() |
ResourceLocation |
getId() |
NonNullList<Ingredient> |
getIngredients() |
ItemStack |
getRecipeOutput() |
IRecipeSerializer<?> |
getSerializer() |
boolean |
matches(IInventory inv,
World worldIn) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRemainingItems, isDynamicgetTypepublic ShapelessRecipe(ResourceLocation idIn, java.lang.String groupIn, ItemStack recipeOutputIn, NonNullList<Ingredient> recipeItemsIn)
public ResourceLocation getId()
public IRecipeSerializer<?> getSerializer()
getSerializer in interface IRecipepublic ItemStack getRecipeOutput()
getRecipeOutput in interface IRecipepublic NonNullList<Ingredient> getIngredients()
getIngredients in interface IRecipepublic boolean matches(IInventory inv, World worldIn)
public ItemStack getCraftingResult(IInventory inv)
getCraftingResult in interface IRecipe