public class ShapelessRecipe extends java.lang.Object implements ICraftingRecipe
| 修飾子とタイプ | クラスと説明 | 
|---|---|
| static class  | ShapelessRecipe.Serializer | 
| コンストラクタと説明 | 
|---|
| ShapelessRecipe(ResourceLocation idIn,
               java.lang.String groupIn,
               ItemStack recipeOutputIn,
               NonNullList<Ingredient> recipeItemsIn) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| boolean | canFit(int width,
      int height)Used to determine if this recipe can fit in a grid of the given width/height | 
| ItemStack | getCraftingResult(CraftingInventory inv)Returns an Item that is the result of this recipe | 
| java.lang.String | getGroup()Recipes with equal group are combined into one button in the recipe book | 
| ResourceLocation | getId() | 
| NonNullList<Ingredient> | getIngredients() | 
| ItemStack | getRecipeOutput()Get the result of this recipe, usually for display purposes (e.g. recipe book). | 
| IRecipeSerializer<?> | getSerializer() | 
| boolean | matches(CraftingInventory inv,
       World worldIn)Used to check if a recipe matches current crafting inventory | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypegetIcon, getRemainingItems, isDynamicpublic ShapelessRecipe(ResourceLocation idIn, java.lang.String groupIn, ItemStack recipeOutputIn, NonNullList<Ingredient> recipeItemsIn)
public ResourceLocation getId()
getId インタフェース内 IRecipe<CraftingInventory>public IRecipeSerializer<?> getSerializer()
getSerializer インタフェース内 IRecipe<CraftingInventory>public java.lang.String getGroup()
getGroup インタフェース内 IRecipe<CraftingInventory>public ItemStack getRecipeOutput()
getRecipeOutput インタフェース内 IRecipe<CraftingInventory>public NonNullList<Ingredient> getIngredients()
getIngredients インタフェース内 IRecipe<CraftingInventory>public boolean matches(CraftingInventory inv, World worldIn)
matches インタフェース内 IRecipe<CraftingInventory>public ItemStack getCraftingResult(CraftingInventory inv)
getCraftingResult インタフェース内 IRecipe<CraftingInventory>public boolean canFit(int width,
                      int height)
canFit インタフェース内 IRecipe<CraftingInventory>