net.minecraft.world.item.crafting

public final class ShapedRecipePattern

dgg
net.minecraft.world.item.crafting.ShapedRecipePattern
net.minecraft.class_8957

Field summary

Modifier and TypeField
private static final int
d
MAX_SIZE
field_47322
public static final char
a
EMPTY_SLOT
field_52602
public static final com.mojang.serialization.MapCodec<ShapedRecipePattern>
b
MAP_CODEC
field_47321
public static final StreamCodec<RegistryFriendlyByteBuf, ShapedRecipePattern>
c
STREAM_CODEC
field_48359
private final int
e
width
field_51637
private final int
f
height
field_51638
private final List<Optional<Ingredient>>
g
ingredients
field_51639
private final Optional<ShapedRecipePattern$Data>
h
data
field_51640
private final int
i
ingredientCount
field_51641
private final boolean
j
symmetrical
field_51642

Constructor summary

ModifierConstructor
public (int arg0, int arg1, List<Optional<Ingredient>> arg2, Optional<ShapedRecipePattern$Data> arg3)

Method summary

Modifier and TypeMethod
private static ShapedRecipePattern
a(Integer arg0, Integer arg1, List<Optional<dfn>> arg2)
createFromNetwork(Integer arg0, Integer arg1, List<Optional<Ingredient>> arg2)
method_61695(Integer arg0, Integer arg1, List<Optional<class_1856>> arg2)
public static ShapedRecipePattern
a(Map<Character, dfn> arg0, String... arg1)
of(Map<Character, Ingredient> arg0, String... arg1)
method_55086(Map<Character, class_1856> arg0, String... arg1)
public static ShapedRecipePattern
a(Map<Character, dfn> arg0, List<String> arg1)
of(Map<Character, Ingredient> arg0, List<String> arg1)
method_55085(Map<Character, class_1856> arg0, List<String> arg1)
private static com.mojang.serialization.DataResult<ShapedRecipePattern>
a(dgg$a arg0)
unpack(ShapedRecipePattern$Data arg0)
method_55080(class_8957$class_8958 arg0)
static String[]
a(List<String> arg0)
shrink(List<String> arg0)
method_55084(List<String> arg0)
private static int
a(String arg0)
firstNonEmpty(String arg0)
method_55083(String arg0)
private static int
b(String arg0)
lastNonEmpty(String arg0)
method_55089(String arg0)
public boolean
a(dff arg0)
matches(CraftingInput arg0)
method_55078(class_9694 arg0)
private boolean
a(dff arg0, boolean arg1)
matches(CraftingInput arg0, boolean arg1)
method_55079(class_9694 arg0, boolean arg1)
public int
a()
width()
method_59995()
public int
b()
height()
method_59996()
public List<Optional<Ingredient>>
c()
ingredients()
method_59997()