net.minecraft.world.item.crafting

public final class ShapedRecipePattern

dct
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
d
MAX_SIZE
field_47322
f_mdscvoeu
MAX_WIDTH_AND_HEIGHT
MAX_WIDTH_AND_HEIGHT
f_302599_
public static final char
a
EMPTY_SLOT
field_52602
f_agqbzxiq
SPACE
EMPTY_SLOT
f_348009_
public static final com.mojang.serialization.MapCodec<ShapedRecipePattern>
b
MAP_CODEC
field_47321
f_rozvlqti
CODEC
CODEC
f_302908_
public static final StreamCodec<RegistryFriendlyByteBuf, ShapedRecipePattern>
c
STREAM_CODEC
field_48359
f_dzuvweoz
PACKET_CODEC
PACKET_CODEC
f_315058_
private final int
e
width
field_51637
f_gxvszphf
width
width
f_303446_
private final int
f
height
field_51638
f_gmsboqxc
height
height
f_302375_
private final List<Optional<Ingredient>>
g
ingredients
field_51639
f_ywkjtxyf
ingredients
ingredients
f_303265_
private final Optional<ShapedRecipePattern$Data>
h
data
field_51640
f_apzcmivo
data
data
f_302791_
private final int
i
ingredientCount
field_51641
f_tzzecmbw
ingredientCount
ingredientCount
f_337661_
private final boolean
j
symmetrical
field_51642
f_cgwpfjoc
symmetrical
symmetric
f_337728_

Constructor summary

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

Method summary

Modifier and TypeMethod
private static ShapedRecipePattern
a(Integer arg0, Integer arg1, List<Optional<dca>> arg2)
createFromNetwork(Integer arg0, Integer arg1, List<Optional<Ingredient>> arg2)
method_61695(Integer arg0, Integer arg1, List<Optional<class_1856>> arg2)
m_oycgezfb(Integer arg0, Integer arg1, List<Optional<C_tcpsydrv>> arg2)
create(Integer width, Integer height, List<Optional<Ingredient>> ingredients)
create(Integer width, Integer height, List<Optional<Ingredient>> ingredients)
m_352100_(Integer p_365396_, Integer p_361921_, List<Optional<C_1462_>> p_363051_)
public static ShapedRecipePattern
a(Map<Character, dca> 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, dca> 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(dct$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)
firstNonEmpty(String arg0)
method_55083(String arg0)
m_rtnllriw(String arg0)
findFirstSymbol(String line)
findFirstSymbolIndex(String string)
m_304979_(String p_309836_)
private static int
b(String arg0)
lastNonEmpty(String arg0)
method_55089(String arg0)
m_sezfapqm(String arg0)
findLastSymbol(String line)
findLastSymbolIndex(String string)
m_306007_(String p_312853_)
public boolean
a(dbs 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(dbs 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)
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 List<Optional<Ingredient>>
c()
ingredients()
method_59997()
m_jwyaufas()
getIngredients()
getIngredients()
m_304810_()