net.minecraft.crafting.recipe

public class ShapedRecipe

implements Recipe

akw
net.minecraft.class_1115
net.minecraft.crafting.recipe.ShapedRecipe
net.minecraft.item.crafting.ShapedRecipes
net.minecraft.item.crafting.ShapedRecipes

Field summary

Modifier and TypeField
private final int
a
field_4438
width
field_77576_b
recipeWidth
private final int
b
field_4439
height
field_77577_c
recipeHeight
private final DefaultedList<Ingredient>
c
field_15686
ingredients
field_77574_d
recipeItems
private final ItemStack
d
field_4441
result
field_77575_e
recipeOutput
private final String
e
field_15687
group
field_194137_e
group

Constructor summary

ModifierConstructor
public (String group, int width, int height, DefaultedList<Ingredient> ingredients, ItemStack result)

Method summary

Modifier and TypeMethod
public ItemStack
b()
method_3501()
getResult()
func_77571_b()
getRecipeOutput()
public DefaultedList<ItemStack>
b(afy arg0)
method_13670(class_1011 arg0)
getRemainder(CraftingInventory arg0)
func_179532_b(InventoryCrafting arg0)
getRemainingItems(InventoryCrafting arg0)
public DefaultedList<Ingredient>
d()
method_14252()
getIngredients()
func_192400_c()
getIngredients()
public boolean
a(afy arg0, amu arg1)
method_3500(class_1011 arg0, class_1150 arg1)
matches(CraftingInventory arg0, World arg1)
func_77569_a(InventoryCrafting arg0, World arg1)
matches(InventoryCrafting arg0, World arg1)
private boolean
a(afy arg0, int arg1, int arg2, boolean arg3)
method_3503(class_1011 arg0, int arg1, int arg2, boolean arg3)
matches(CraftingInventory inventory, int x, int y, boolean rotate)
func_77573_a(InventoryCrafting arg0, int arg1, int arg2, boolean arg3)
checkMatch(InventoryCrafting craftingInventory, int arg1, int arg2, boolean arg3)
public ItemStack
a(afy arg0)
method_3502(class_1011 arg0)
getResult(CraftingInventory arg0)
func_77572_b(InventoryCrafting arg0)
getCraftingResult(InventoryCrafting arg0)
public int
f()
method_14272()
getWidth()
func_192403_f()
getWidth()
public int
g()
method_14273()
getHeight()
func_192404_g()
getHeight()
public static ShapedRecipe
a(com.google.gson.JsonObject arg0)
method_14265(com.google.gson.JsonObject arg0)
fromJson(com.google.gson.JsonObject json)
func_193362_a(com.google.gson.JsonObject arg0)
deserialize(com.google.gson.JsonObject json)
private static DefaultedList<Ingredient>
a(String[] arg0, Map<String, akq> arg1, int arg2, int arg3)
method_14269(String[] arg0, Map<String, class_3193> arg1, int arg2, int arg3)
parsePattern(String[] pattern, Map<String, Ingredient> ingredients, int width, int height)
func_192402_a(String[] arg0, Map<String, Ingredient> arg1, int arg2, int arg3)
deserializeIngredients(String[] pattern, Map<String, Ingredient> keys, int patternWidth, int patternHeight)
static String[]
a(String... arg0)
method_14268(String... arg0)
shrink(String... ss)
func_194134_a(String... arg0)
shrink(String... toShrink)
private static int
a(String arg0)
method_14267(String arg0)
indexOfFirstNonSpace(String s)
func_194135_a(String arg0)
firstNonSpace(String str)
private static int
b(String arg0)
method_14271(String arg0)
indexOfLastNonSpace(String s)
func_194136_b(String arg0)
lastNonSpace(String str)
private static String[]
a(com.google.gson.JsonArray arg0)
method_14263(com.google.gson.JsonArray arg0)
patternFromJson(com.google.gson.JsonArray json)
func_192407_a(com.google.gson.JsonArray arg0)
patternFromJson(com.google.gson.JsonArray jsonArr)
private static Map<String, Ingredient>
b(com.google.gson.JsonObject arg0)
method_14270(com.google.gson.JsonObject arg0)
keyFromJson(com.google.gson.JsonObject json)
func_192408_a(com.google.gson.JsonObject arg0)
deserializeKey(com.google.gson.JsonObject json)
public static Ingredient
a(com.google.gson.JsonElement arg0)
method_14264(com.google.gson.JsonElement arg0)
ingredientFromJson(com.google.gson.JsonElement json)
func_193361_a(com.google.gson.JsonElement arg0)
deserializeIngredient(com.google.gson.JsonElement jsonElement)
public static ItemStack
a(com.google.gson.JsonObject arg0, boolean arg1)
method_14266(com.google.gson.JsonObject arg0, boolean arg1)
stackFromJson(com.google.gson.JsonObject json, boolean parseSize)
func_192405_a(com.google.gson.JsonObject arg0, boolean arg1)
deserializeItem(com.google.gson.JsonObject json, boolean useCount)
public String
e()
method_14253()
getGroup()
func_193358_e()
getGroup()
public boolean
a(int arg0, int arg1)
method_14250(int arg0, int arg1)
fits(int arg0, int arg1)
func_194133_a(int arg0, int arg1)
canFit(int arg0, int arg1)