net.minecraft.crafting.recipe

public class ShapedRecipe

implements Recipe

avp
net.minecraft.class_1115
net.minecraft.crafting.recipe.ShapedRecipe
net.minecraft.item.crafting.ShapedRecipe
net.minecraft.item.crafting.ShapedRecipe

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 Identifier
e
field_17466
location
field_199561_e
id
private final String
f
field_15687
group
field_194137_e
group

Constructor summary

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

Method summary

Modifier and TypeMethod
public Identifier
b()
method_16202()
getId()
func_199560_c()
getId()
public RecipeSerializer<?>
a()
method_16200()
getSerializer()
func_199559_b()
getSerializer()
public ItemStack
d()
method_3501()
getResult()
func_77571_b()
getRecipeOutput()
public DefaultedList<Ingredient>
e()
method_14252()
getIngredients()
func_192400_c()
getIngredients()
public boolean
a(ade arg0, axy arg1)
method_3500(class_849 arg0, class_1150 arg1)
matches(Inventory arg0, World arg1)
func_77569_a(IInventory arg0, World arg1)
matches(IInventory arg0, World arg1)
private boolean
a(ade arg0, int arg1, int arg2, boolean arg3)
method_3503(class_849 arg0, int arg1, int arg2, boolean arg3)
matches(Inventory inventory, int x, int y, boolean rotate)
func_77573_a(IInventory arg0, int arg1, int arg2, boolean arg3)
checkMatch(IInventory craftingInventory, int arg1, int arg2, boolean arg3)
public ItemStack
a(ade arg0)
method_16201(class_849 arg0)
getResult(Inventory arg0)
func_77572_b(IInventory arg0)
getCraftingResult(IInventory arg0)
public int
g()
method_14272()
getWidth()
func_192403_f()
getWidth()
public int
h()
method_14273()
getHeight()
func_192404_g()
getHeight()
private static DefaultedList<Ingredient>
b(String[] arg0, Map<String, avh> 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[]
b(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>
c(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 ItemStack
a(com.google.gson.JsonObject arg0)
method_16223(com.google.gson.JsonObject arg0)
stackFromJson(com.google.gson.JsonObject json)
func_199798_a(com.google.gson.JsonObject arg0)
deserializeItem(com.google.gson.JsonObject arg0)
public String
f()
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)