net.minecraft.world.item.crafting

public class ShapedRecipe

implements CraftingRecipe

cmp
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
ingredients
f_44148_
final ItemStack
d
result
field_9053
result
f_44149_
final String
e
group
field_9056
group
f_44151_
final CraftingBookCategory
f
category
field_40256
category
f_244483_
final boolean
g
showNotification
field_42719
showNotification
f_271538_

Constructor summary

ModifierConstructor
public (String group, CraftingBookCategory category, int width, int height, NonNullList<Ingredient> ingredients, ItemStack result, boolean showNotification)
public (String group, CraftingBookCategory category, int width, int height, NonNullList<Ingredient> ingredients, ItemStack result)

Method summary

Modifier and TypeMethod
public RecipeSerializer<?>
an_()
getSerializer()
method_8119()
getSerializer()
m_7707_()
public String
c()
getGroup()
method_8112()
getGroup()
m_6076_()
public CraftingBookCategory
d()
category()
method_45441()
getCategory()
m_245232_()
public ItemStack
a(hr arg0)
getResultItem(RegistryAccess arg0)
method_8110(class_5455 arg0)
getResult(DynamicRegistryManager arg0)
m_8043_(C_4706_ arg0)
public NonNullList<Ingredient>
a()
getIngredients()
method_8117()
getIngredients()
m_7527_()
public boolean
h()
showNotification()
method_49188()
showNotification()
m_271738_()
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(cez arg0, cpv arg1)
matches(CraftingContainer arg0, Level arg1)
method_17728(class_8566 arg0, class_1937 arg1)
matches(RecipeInputInventory arg0, World arg1)
m_5818_(C_1251_ p_44177_, C_1596_ arg1)
private boolean
a(cez arg0, int arg1, int arg2, boolean arg3)
matches(CraftingContainer arg0, int arg1, int arg2, boolean arg3)
method_8161(class_8566 arg0, int arg1, int arg2, boolean arg3)
matchesPattern(RecipeInputInventory inv, int offsetX, int offsetY, boolean flipped)
m_44170_(C_1251_ p_44172_, int p_44173_, int p_44174_, boolean arg3)
public ItemStack
a(cez arg0, hr arg1)
assemble(CraftingContainer arg0, RegistryAccess arg1)
method_17727(class_8566 arg0, class_5455 arg1)
craft(RecipeInputInventory arg0, DynamicRegistryManager arg1)
m_5874_(C_1251_ p_266725_, C_4706_ arg1)
public int
j()
getWidth()
method_8150()
getWidth()
m_44220_()
public int
k()
getHeight()
method_8158()
getHeight()
m_44221_()
static String[]
a(List<String> arg0)
shrink(List<String> arg0)
method_8146(List<String> arg0)
removePadding(List<String> pattern)
m_44186_(List<String> p_299210_)
public boolean
i()
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_)