net.minecraft.world.item.crafting

public class ShapedRecipe

implements CraftingRecipe

czh
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

字段概要

修饰符与类型字段
final ShapedRecipePattern
a
pattern
field_47320
raw
f_302516_
final ItemStack
b
result
field_9053
result
f_44149_
final String
c
group
field_9056
group
f_44151_
final CraftingBookCategory
d
category
field_40256
category
f_244483_
final boolean
e
showNotification
field_42719
showNotification
f_271538_

构造函数概要

修饰符构造函数
public (String group, CraftingBookCategory category, ShapedRecipePattern raw, ItemStack result, boolean showNotification)
public (String group, CraftingBookCategory category, ShapedRecipePattern raw, ItemStack result)

方法概要

修饰符与类型方法
public RecipeSerializer<?>
at_()
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(jo$a arg0)
getResultItem(HolderLookup$Provider arg0)
method_8110(class_7225$class_7874 arg0)
getResult(RegistryWrapper$WrapperLookup arg0)
m_8043_(C_213466_$C_254607_ 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(cyp arg0, dcw arg1)
matches(CraftingInput arg0, Level arg1)
method_17728(class_9694 arg0, class_1937 arg1)
matches(CraftingRecipeInput arg0, World arg1)
m_5818_(C_336435_ p_44177_, C_1596_ arg1)
public ItemStack
a(cyp arg0, jo$a arg1)
assemble(CraftingInput arg0, HolderLookup$Provider arg1)
method_17727(class_9694 arg0, class_7225$class_7874 arg1)
craft(CraftingRecipeInput arg0, RegistryWrapper$WrapperLookup arg1)
m_5874_(C_336435_ p_333236_, C_213466_$C_254607_ arg1)
public int
j()
getWidth()
method_8150()
getWidth()
m_44220_()
public int
k()
getHeight()
method_8158()
getHeight()
m_44221_()
public boolean
i()
isIncomplete()
method_31584()
isEmpty()
m_142505_()