net.minecraft.data.recipes

public class ShapedRecipeBuilder

implements RecipeBuilder

pd
net.minecraft.data.recipes.ShapedRecipeBuilder
net.minecraft.class_2447
net.minecraft.data.server.recipe.ShapedRecipeJsonBuilder

Field summary

Modifier and TypeField
private final HolderGetter<Item>
b
items
field_53731
registryLookup
private final RecipeCategory
c
category
field_40645
category
private final Item
d
result
field_11380
output
private final int
e
count
field_11378
count
private final List<String>
f
rows
field_11377
pattern
private final Map<Character, Ingredient>
g
key
field_11376
inputs
private final Map<String, Criterion<?>>
h
criteria
field_46149
criteria
private String
i
group
field_11381
group
private boolean
j
showNotification
field_42956
showNotification

Constructor summary

ModifierConstructor
private (HolderGetter<Item> registryLookup, RecipeCategory category, ItemLike output, int count)

Method summary

Modifier and TypeMethod
public static ShapedRecipeBuilder
a(jr<cxl> arg0, pa arg1, dhh arg2)
shaped(HolderGetter<Item> arg0, RecipeCategory arg1, ItemLike arg2)
method_10437(class_7871<class_1792> arg0, class_7800 arg1, class_1935 arg2)
create(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output)
public static ShapedRecipeBuilder
a(jr<cxl> arg0, pa arg1, dhh arg2, int arg3)
shaped(HolderGetter<Item> arg0, RecipeCategory arg1, ItemLike arg2, int arg3)
method_10436(class_7871<class_1792> arg0, class_7800 arg1, class_1935 arg2, int arg3)
create(RegistryEntryLookup<Item> registryLookup, RecipeCategory category, ItemConvertible output, int count)
public ShapedRecipeBuilder
a(Character arg0, ayk<cxl> arg1)
define(Character arg0, TagKey<Item> arg1)
method_10433(Character arg0, class_6862<class_1792> arg1)
input(Character c, TagKey<Item> tag)
public ShapedRecipeBuilder
a(Character arg0, dhh arg1)
define(Character arg0, ItemLike arg1)
method_10434(Character arg0, class_1935 arg1)
input(Character c, ItemConvertible item)
public ShapedRecipeBuilder
a(Character arg0, dca arg1)
define(Character arg0, Ingredient arg1)
method_10428(Character arg0, class_1856 arg1)
input(Character c, Ingredient ingredient)
public ShapedRecipeBuilder
b(String arg0)
pattern(String arg0)
method_10439(String arg0)
pattern(String patternStr)
public ShapedRecipeBuilder
b(String arg0, ap<?> arg1)
unlockedBy(String arg0, Criterion<?> arg1)
method_10429(String arg0, class_175<?> arg1)
criterion(String arg0, AdvancementCriterion<?> arg1)
public ShapedRecipeBuilder
c(String arg0)
group(String arg0)
method_10435(String arg0)
group(String arg0)
public ShapedRecipeBuilder
a(boolean arg0)
showNotification(boolean arg0)
method_49380(boolean arg0)
showNotification(boolean showNotification)
public Item
a()
getResult()
method_36441()
getOutputItem()
public void
a(pb arg0, aly<dce<?>> arg1)
save(RecipeOutput arg0, ResourceKey<Recipe<?>> arg1)
method_17972(class_8790 arg0, class_5321<class_1860<?>> arg1)
offerTo(RecipeExporter arg0, RegistryKey<Recipe<?>> arg1)
private ShapedRecipePattern
a(aly<dce<?>> arg0)
ensureValid(ResourceKey<Recipe<?>> arg0)
method_10432(class_5321<class_1860<?>> arg0)
validate(RegistryKey<Recipe<?>> recipeKey)