net.minecraft.world.item.crafting

public final class ShapedRecipePattern

czi
net.minecraft.world.item.crafting.ShapedRecipePattern
net.minecraft.class_8957
net.minecraft.unmapped.C_vhpbjodz
net.minecraft.recipe.RawShapedRecipe
net.minecraft.recipe.ShapedRecipePattern
net.minecraft.src.C_302031_
net.minecraft.world.item.crafting.ShapedRecipePattern

Field summary

Modifier and TypeField
private static final int
c
MAX_SIZE
field_47322
f_mdscvoeu
MAX_WIDTH_AND_HEIGHT
MAX_WIDTH_AND_HEIGHT
f_302599_
public static final com.mojang.serialization.MapCodec<ShapedRecipePattern>
a
MAP_CODEC
field_47321
f_rozvlqti
CODEC
CODEC
f_302908_
public static final StreamCodec<RegistryFriendlyByteBuf, ShapedRecipePattern>
b
STREAM_CODEC
field_48359
f_dzuvweoz
PACKET_CODEC
PACKET_CODEC
f_315058_
private final int
d
width
field_51637
f_gxvszphf
width
width
f_303446_
private final int
e
height
field_51638
f_gmsboqxc
height
height
f_302375_
private final NonNullList<Ingredient>
f
ingredients
field_51639
f_ywkjtxyf
ingredients
ingredients
f_303265_
private final Optional<ShapedRecipePattern$Data>
g
data
field_51640
f_apzcmivo
data
data
f_302791_
private final int
h
ingredientCount
field_51641
f_tzzecmbw
ingredientCount
ingredientCount
f_337661_
private final boolean
i
symmetrical
field_51642
f_cgwpfjoc
symmetrical
symmetric
f_337728_

Constructor summary

ModifierConstructor
public (int width, int height, NonNullList<Ingredient> ingredients, Optional<ShapedRecipePattern$Data> data)

Method summary

Modifier and TypeMethod
public static ShapedRecipePattern
a(Map<Character, cyw> arg0, String... arg1)
of(Map<Character, Ingredient> arg0, String... arg1)
method_55086(Map<Character, class_1856> arg0, String... arg1)
m_stiknasv(Map<Character, C_tcpsydrv> arg0, String... arg1)
create(Map<Character, Ingredient> key, String... pattern)
of(Map<Character, Ingredient> key, String... pattern)
m_304825_(Map<Character, C_1462_> p_310983_, String... p_310430_)
public static ShapedRecipePattern
a(Map<Character, cyw> arg0, List<String> arg1)
of(Map<Character, Ingredient> arg0, List<String> arg1)
method_55085(Map<Character, class_1856> arg0, List<String> arg1)
m_sdpqfess(Map<Character, C_tcpsydrv> arg0, List<String> arg1)
create(Map<Character, Ingredient> key, List<String> pattern)
of(Map<Character, Ingredient> key, List<String> pattern)
m_306906_(Map<Character, C_1462_> p_313226_, List<String> p_310089_)
private static com.mojang.serialization.DataResult<ShapedRecipePattern>
a(czi$a arg0)
unpack(ShapedRecipePattern$Data arg0)
method_55080(class_8957$class_8958 arg0)
m_pkvzapnv(C_vhpbjodz$C_gmjqzgur arg0)
fromData(RawShapedRecipe$Data data)
fromData(ShapedRecipePattern$Data data)
m_305688_(C_302031_$C_301990_ p_312333_)
static String[]
a(List<String> arg0)
shrink(List<String> arg0)
method_55084(List<String> arg0)
m_ndnsmflz(List<String> arg0)
removePadding(List<String> pattern)
trim(List<String> pattern)
m_306947_(List<String> p_311492_)
private static int
a(String arg0)
firstNonSpace(String arg0)
method_55083(String arg0)
m_nuggimzn(String arg0)
findFirstSymbol(String line)
findFirstSymbol(String row)
m_304979_(String p_309836_)
private static int
b(String arg0)
lastNonSpace(String arg0)
method_55089(String arg0)
m_anyzteha(String arg0)
findLastSymbol(String line)
findLastSymbol(String row)
m_306007_(String p_312853_)
public boolean
a(cyp arg0)
matches(CraftingInput arg0)
method_55078(class_9694 arg0)
m_mxwtbrsc(C_euomljmv arg0)
matches(CraftingRecipeInput input)
matches(CraftingRecipeInput input)
m_306368_(C_336435_ arg0)
private boolean
a(cyp arg0, boolean arg1)
matches(CraftingInput arg0, boolean arg1)
method_55079(class_9694 arg0, boolean arg1)
m_rskvpukr(C_euomljmv arg0, boolean arg1)
matches(CraftingRecipeInput input, boolean mirrored)
matches(CraftingRecipeInput input, boolean mirror)
m_304908_(C_336435_ p_342488_, boolean arg1)
private void
a(wk arg0)
toNetwork(RegistryFriendlyByteBuf arg0)
method_55087(class_9129 arg0)
m_hlzmysnz(C_bngyzsts arg0)
writeToBuf(RegistryByteBuf buf)
toBuf(RegistryByteBuf buf)
m_307574_(C_313350_ arg0)
private static ShapedRecipePattern
b(wk arg0)
fromNetwork(RegistryFriendlyByteBuf arg0)
method_55090(class_9129 arg0)
m_eniuwjkw(C_bngyzsts arg0)
readFromBuf(RegistryByteBuf buf)
fromBuf(RegistryByteBuf buf)
m_306640_(C_313350_ p_332293_)
public int
a()
width()
method_59995()
m_jlmohzhk()
getWidth()
getWidth()
m_305604_()
public int
b()
height()
method_59996()
m_tgsmprvg()
getHeight()
getHeight()
m_307090_()
public NonNullList<Ingredient>
c()
ingredients()
method_59997()
m_jwyaufas()
getIngredients()
getIngredients()
m_304810_()