net.minecraft.world.item.crafting

public class ShapedRecipe

implements CraftingRecipe

bov
net.minecraft.world.item.crafting.ShapedRecipe
net.minecraft.class_1869
net.minecraft.recipe.ShapedRecipe
net.minecraft.item.crafting.ShapedRecipe
net.minecraft.server.v1_16_R3.ShapedRecipes

Field summary

Modifier and TypeField
private final int
a
width
field_9055
width
field_77576_b
width
private final int
b
height
field_9054
height
field_77577_c
height
private final NonNullList<Ingredient>
c
recipeItems
field_9052
input
field_77574_d
items
private final ItemStack
d
result
field_9053
output
field_77575_e
result
private final ResourceLocation
e
id
field_9051
id
field_199561_e
key
private final String
f
group
field_9056
group
field_194137_e
group

Constructor summary

ModifierConstructor
public (ResourceLocation id, String group, int width, int height, NonNullList<Ingredient> input, ItemStack output)

Method summary

Modifier and TypeMethod
public ResourceLocation
f()
getId()
method_8114()
getId()
func_199560_c()
getKey()
public RecipeSerializer<?>
ag_()
getSerializer()
method_8119()
getSerializer()
func_199559_b()
getRecipeSerializer()
public ItemStack
c()
getResultItem()
method_8110()
getOutput()
func_77571_b()
getResult()
public NonNullList<Ingredient>
a()
getIngredients()
method_8117()
getIngredients()
func_192400_c()
public boolean
a(bio arg0, brx arg1)
matches(CraftingContainer arg0, Level arg1)
method_17728(class_1715 arg0, class_1937 arg1)
matches(CraftingInventory arg0, World arg1)
func_77569_a(CraftingInventory arg0, World arg1)
private boolean
a(bio arg0, int arg1, int arg2, boolean arg3)
matches(CraftingContainer arg0, int arg1, int arg2, boolean arg3)
method_8161(class_1715 arg0, int arg1, int arg2, boolean arg3)
matchesPattern(CraftingInventory inv, int offsetX, int offsetY, boolean flipped)
func_77573_a(CraftingInventory arg0, int arg1, int arg2, boolean arg3)
public ItemStack
a(bio arg0)
assemble(CraftingContainer arg0)
method_17727(class_1715 arg0)
craft(CraftingInventory arg0)
func_77572_b(CraftingInventory arg0)
public int
i()
getWidth()
method_8150()
getWidth()
func_192403_f()
public int
j()
getHeight()
method_8158()
getHeight()
func_192404_g()
private static NonNullList<Ingredient>
b(String[] arg0, Map<String, bon> arg1, int arg2, int arg3)
dissolvePattern(String[] arg0, Map<String, Ingredient> arg1, int arg2, int arg3)
method_8148(String[] arg0, Map<String, class_1856> arg1, int arg2, int arg3)
createPatternMatrix(String[] pattern, Map<String, Ingredient> symbols, int width, int height)
func_192402_a(String[] arg0, Map<String, Ingredient> arg1, int arg2, int arg3)
static String[]
a(String... arg0)
shrink(String... arg0)
method_8146(String... arg0)
removePadding(String... pattern)
func_194134_a(String... arg0)
private static int
a(String arg0)
firstNonSpace(String arg0)
method_8151(String arg0)
findFirstSymbol(String line)
func_194135_a(String arg0)
private static int
b(String arg0)
lastNonSpace(String arg0)
method_8153(String arg0)
findLastSymbol(String pattern)
func_194136_b(String arg0)
private static String[]
b(com.google.gson.JsonArray arg0)
patternFromJson(com.google.gson.JsonArray arg0)
method_8145(com.google.gson.JsonArray arg0)
getPattern(com.google.gson.JsonArray json)
func_192407_a(com.google.gson.JsonArray arg0)
private static Map<String, Ingredient>
c(com.google.gson.JsonObject arg0)
keyFromJson(com.google.gson.JsonObject arg0)
method_8157(com.google.gson.JsonObject arg0)
readSymbols(com.google.gson.JsonObject json)
func_192408_a(com.google.gson.JsonObject arg0)
public static ItemStack
a(com.google.gson.JsonObject arg0)
itemFromJson(com.google.gson.JsonObject arg0)
method_8155(com.google.gson.JsonObject arg0)
getItemStack(com.google.gson.JsonObject json)
func_199798_a(com.google.gson.JsonObject arg0)
public String
d()
getGroup()
method_8112()
getGroup()
func_193358_e()
public boolean
a(int arg0, int arg1)
canCraftInDimensions(int arg0, int arg1)
method_8113(int arg0, int arg1)
fits(int arg0, int arg1)
func_194133_a(int arg0, int arg1)