net.minecraft.world.item.crafting

public class ShapedRecipe

implements CraftingRecipe

cgt
net.minecraft.world.item.crafting.ShapedRecipe
net.minecraft.class_1869
net.minecraft.recipe.ShapedRecipe
net.minecraft.src.C_1475_
net.minecraft.world.item.crafting.ShapedRecipes

Field summary

Modifier and TypeField
final int
a
width
field_9055
width
f_44146_
final int
b
height
field_9054
height
f_44147_
final NonNullList<Ingredient>
c
recipeItems
field_9052
input
f_44148_
final ItemStack
d
result
field_9053
output
f_44149_
private final ResourceLocation
e
id
field_9051
id
f_44150_
final String
f
group
field_9056
group
f_44151_
final CraftingBookCategory
g
category
field_40256
category
f_244483_

Constructor summary

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

Method summary

Modifier and TypeMethod
public ResourceLocation
f()
getId()
method_8114()
getId()
m_6423_()
public RecipeSerializer<?>
X_()
getSerializer()
method_8119()
getSerializer()
m_7707_()
public String
d()
getGroup()
method_8112()
getGroup()
m_6076_()
public CraftingBookCategory
e()
category()
method_45441()
getCategory()
m_245232_()
public ItemStack
c()
getResultItem()
method_8110()
getOutput()
m_8043_()
public NonNullList<Ingredient>
a()
getIngredients()
method_8117()
getIngredients()
m_7527_()
public boolean
a(int arg0, int arg1)
canCraftInDimensions(int arg0, int arg1)
method_8113(int arg0, int arg1)
fits(int arg0, int arg1)
m_8004_(int p_44162_, int arg1)
public boolean
a(bzu arg0, cjw arg1)
matches(CraftingContainer arg0, Level arg1)
method_17728(class_1715 arg0, class_1937 arg1)
matches(CraftingInventory arg0, World arg1)
m_5818_(C_1251_ p_44177_, C_1596_ arg1)
private boolean
a(bzu 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)
m_44170_(C_1251_ p_44172_, int p_44173_, int p_44174_, boolean arg3)
public ItemStack
a(bzu arg0)
assemble(CraftingContainer arg0)
method_17727(class_1715 arg0)
craft(CraftingInventory arg0)
m_5874_(C_1251_ arg0)
public int
k()
getWidth()
method_8150()
getWidth()
m_44220_()
public int
l()
getHeight()
method_8158()
getHeight()
m_44221_()
static NonNullList<Ingredient>
a(String[] arg0, Map<String, cgl> 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)
m_44202_(String[] p_44203_, Map<String, C_1462_> p_44204_, int p_44205_, int p_44206_)
static String[]
a(String... arg0)
shrink(String... arg0)
method_8146(String... arg0)
removePadding(String... pattern)
m_44186_(String... p_44187_)
public boolean
j()
isIncomplete()
method_31584()
isEmpty()
m_142505_()
private static int
a(String arg0)
firstNonSpace(String arg0)
method_8151(String arg0)
findFirstSymbol(String line)
m_44184_(String p_44185_)
private static int
b(String arg0)
lastNonSpace(String arg0)
method_8153(String arg0)
findLastSymbol(String pattern)
m_44200_(String p_44201_)
static String[]
a(com.google.gson.JsonArray arg0)
patternFromJson(com.google.gson.JsonArray arg0)
method_8145(com.google.gson.JsonArray arg0)
getPattern(com.google.gson.JsonArray json)
m_44196_(com.google.gson.JsonArray p_44197_)
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)
m_44210_(com.google.gson.JsonObject p_44211_)
public static ItemStack
a(com.google.gson.JsonObject arg0)
itemStackFromJson(com.google.gson.JsonObject arg0)
method_35228(com.google.gson.JsonObject arg0)
outputFromJson(com.google.gson.JsonObject json)
m_151274_(com.google.gson.JsonObject p_151275_)
public static Item
b(com.google.gson.JsonObject arg0)
itemFromJson(com.google.gson.JsonObject arg0)
method_8155(com.google.gson.JsonObject arg0)
getItem(com.google.gson.JsonObject json)
m_151278_(com.google.gson.JsonObject p_151279_)