net.minecraft.data.recipes

public class ShapedRecipeBuilder

implements RecipeBuilder

kh
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 Item
a
result
field_11380
output
f_126106_
private final int
b
count
field_11378
outputCount
f_126107_
private final List<String>
c
rows
field_11377
pattern
f_126108_
private final Map<Character, Ingredient>
d
key
field_11376
inputs
f_126109_
private final Advancement$Builder
e
advancement
field_11379
advancementBuilder
f_126110_
private String
f
group
field_11381
group
f_126111_

Constructor summary

ModifierConstructor
public (ItemLike output, int outputCount)

Method summary

Modifier and TypeMethod
public static ShapedRecipeBuilder
b(cau arg0)
shaped(ItemLike arg0)
method_10437(class_1935 arg0)
create(ItemConvertible output)
m_126116_(C_1595_ p_126117_)
public static ShapedRecipeBuilder
a(cau arg0, int arg1)
shaped(ItemLike arg0, int arg1)
method_10436(class_1935 arg0, int arg1)
create(ItemConvertible output, int outputCount)
m_126118_(C_1595_ p_126119_, int p_126120_)
public ShapedRecipeBuilder
a(Character arg0, aif<bus> 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, cau 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, bxl 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, an arg1)
unlockedBy(String arg0, CriterionTriggerInstance arg1)
method_10429(String arg0, class_184 arg1)
criterion(String arg0, CriterionConditions arg1)
m_142284_(String p_126134_, C_207_ arg1)
public ShapedRecipeBuilder
c(String arg0)
group(String arg0)
method_10435(String arg0)
group(String arg0)
m_142409_(String arg0)
public Item
a()
getResult()
method_36441()
getOutputItem()
m_142372_()
public void
a(Consumer<ke> arg0, yt arg1)
save(Consumer<FinishedRecipe> arg0, ResourceLocation arg1)
method_17972(Consumer<class_2444> arg0, class_2960 arg1)
offerTo(Consumer<RecipeJsonProvider> arg0, Identifier arg1)
m_142700_(Consumer<C_4828_> p_126142_, C_5265_ arg1)
private void
a(yt arg0)
ensureValid(ResourceLocation arg0)
method_10432(class_2960 arg0)
validate(Identifier recipeId)
m_126143_(C_5265_ arg0)