net.minecraft.recipe

public class ShapedRecipe

implements CraftingRecipe

ber
net.minecraft.class_1869
net.minecraft.recipe.ShapedRecipe
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_9055
width
width
field_77576_b
recipeWidth
private final int
b
field_9054
height
height
field_77577_c
recipeHeight
private final DefaultedList<Ingredient>
c
field_9052
inputs
ingredients
field_77574_d
recipeItems
private final ItemStack
d
field_9053
output
result
field_77575_e
recipeOutput
private final Identifier
e
field_9051
id
location
field_199561_e
id
private final String
f
field_9056
group
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
f()
method_8114()
getId()
getId()
func_199560_c()
getId()
public RecipeSerializer<?>
Q_()
method_8119()
getSerializer()
getSerializer()
func_199559_b()
getSerializer()
public ItemStack
c()
method_8110()
getOutput()
getResult()
func_77571_b()
getRecipeOutput()
public DefaultedList<Ingredient>
a()
method_8117()
getPreviewInputs()
getIngredients()
func_192400_c()
getIngredients()
public boolean
a(ayr arg0, bhm arg1)
method_17728(class_1715 arg0, class_1937 arg1)
method_17728(CraftingInventory arg0, World arg1)
matches(CraftingInventory inventory, World world)
func_77569_a(CraftingInventory arg0, World arg1)
matches(CraftingInventory inv, World worldIn)
private boolean
a(ayr arg0, int arg1, int arg2, boolean arg3)
method_8161(class_1715 arg0, int arg1, int arg2, boolean arg3)
matchesSmall(CraftingInventory arg0, int arg1, int arg2, boolean arg3)
matches(CraftingInventory arg0, int arg1, int arg2, boolean arg3)
func_77573_a(CraftingInventory arg0, int arg1, int arg2, boolean arg3)
checkMatch(CraftingInventory craftingInventory, int arg1, int arg2, boolean arg3)
public ItemStack
a(ayr arg0)
method_17727(class_1715 arg0)
method_17727(CraftingInventory arg0)
getResult(CraftingInventory inventory)
func_77572_b(CraftingInventory arg0)
getCraftingResult(CraftingInventory inv)
public int
i()
method_8150()
getWidth()
getWidth()
func_192403_f()
getWidth()
public int
j()
method_8158()
getHeight()
getHeight()
func_192404_g()
getHeight()
private static DefaultedList<Ingredient>
b(String[] arg0, Map<String, bej> arg1, int arg2, int arg3)
method_8148(String[] arg0, Map<String, class_1856> arg1, int arg2, int arg3)
getIngredients(String[] arg0, Map<String, Ingredient> 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_8146(String... arg0)
combinePattern(String... arg0)
shrink(String... ss)
func_194134_a(String... arg0)
shrink(String... toShrink)
private static int
a(String arg0)
method_8151(String arg0)
findNextIngredient(String arg0)
indexOfFirstNonSpace(String s)
func_194135_a(String arg0)
firstNonSpace(String str)
private static int
b(String arg0)
method_8153(String arg0)
findNextIngredientReverse(String arg0)
indexOfLastNonSpace(String s)
func_194136_b(String arg0)
lastNonSpace(String str)
private static String[]
b(com.google.gson.JsonArray arg0)
method_8145(com.google.gson.JsonArray arg0)
getPattern(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_8157(com.google.gson.JsonObject arg0)
getComponents(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_8155(com.google.gson.JsonObject arg0)
getItemStack(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
d()
method_8112()
getGroup()
getGroup()
func_193358_e()
getGroup()
public boolean
a(int arg0, int arg1)
method_8113(int arg0, int arg1)
fits(int arg0, int arg1)
fits(int arg0, int arg1)
func_194133_a(int arg0, int arg1)
canFit(int arg0, int arg1)