net.minecraft.data.recipes

public class ShapedRecipeBuilder

implements RecipeBuilder

op
net.minecraft.data.recipes.ShapedRecipeBuilder
net.minecraft.class_2447
net.minecraft.data.server.recipe.ShapedRecipeJsonBuilder
net.minecraft.src.C_4830_

Field summary

Modifier and TypeField
private final RecipeCategory
b
category
field_40645
category
f_243672_
private final Item
c
result
field_11380
output
f_126106_
private final int
d
count
field_11378
count
f_126107_
private final List<String>
e
rows
field_11377
pattern
f_126108_
private final Map<Character, Ingredient>
f
key
field_11376
inputs
f_126109_
private final Map<String, Criterion<?>>
g
criteria
field_46149
criteria
f_291506_
private String
h
group
field_11381
group
f_126111_
private boolean
i
showNotification
field_42956
showNotification
f_271093_

Constructor summary

ModifierConstructor
public (RecipeCategory category, ItemLike output, int count)

Method summary

Modifier and TypeMethod
public static ShapedRecipeBuilder
a(om arg0, dcv arg1)
shaped(RecipeCategory arg0, ItemLike arg1)
method_10437(class_7800 arg0, class_1935 arg1)
create(RecipeCategory category, ItemConvertible output)
m_245327_(C_243442_ p_250853_, C_1595_ p_249747_)
public static ShapedRecipeBuilder
a(om arg0, dcv arg1, int arg2)
shaped(RecipeCategory arg0, ItemLike arg1, int arg2)
method_10436(class_7800 arg0, class_1935 arg1, int arg2)
create(RecipeCategory category, ItemConvertible output, int count)
m_246608_(C_243442_ p_251325_, C_1595_ p_250636_, int p_249081_)
public ShapedRecipeBuilder
a(Character arg0, awu<cul> arg1)
define(Character arg0, TagKey<Item> arg1)
method_10433(Character arg0, class_6862<class_1792> arg1)
input(Character c, TagKey<Item> tag)
m_206416_(Character p_206418_, C_203208_<C_1381_> arg1)
public ShapedRecipeBuilder
a(Character arg0, dcv arg1)
define(Character arg0, ItemLike arg1)
method_10434(Character arg0, class_1935 arg1)
input(Character c, ItemConvertible itemProvider)
m_126127_(Character p_126129_, C_1595_ arg1)
public ShapedRecipeBuilder
a(Character arg0, cyw arg1)
define(Character arg0, Ingredient arg1)
method_10428(Character arg0, class_1856 arg1)
input(Character c, Ingredient ingredient)
m_126124_(Character p_126126_, C_1462_ arg1)
public ShapedRecipeBuilder
b(String arg0)
pattern(String arg0)
method_10439(String arg0)
pattern(String patternStr)
m_126130_(String arg0)
public ShapedRecipeBuilder
b(String arg0, ao<?> arg1)
unlockedBy(String arg0, Criterion<?> arg1)
method_10429(String arg0, class_175<?> arg1)
criterion(String arg0, AdvancementCriterion<?> arg1)
m_126132_(String p_300780_, C_109_<?> arg1)
public ShapedRecipeBuilder
c(String arg0)
group(String arg0)
method_10435(String arg0)
group(String arg0)
m_126145_(String arg0)
public ShapedRecipeBuilder
a(boolean arg0)
showNotification(boolean arg0)
method_49380(boolean arg0)
showNotification(boolean showNotification)
m_271710_(boolean arg0)
public Item
a()
getResult()
method_36441()
getOutputItem()
m_142372_()
public void
a(on arg0, akr arg1)
save(RecipeOutput arg0, ResourceLocation arg1)
method_17972(class_8790 arg0, class_2960 arg1)
offerTo(RecipeExporter arg0, Identifier arg1)
m_126140_(C_290160_ p_126142_, C_5265_ arg1)
private ShapedRecipePattern
a(akr arg0)
ensureValid(ResourceLocation arg0)
method_10432(class_2960 arg0)
validate(Identifier recipeId)
m_126143_(C_5265_ arg0)