net.minecraft.data.recipes

public class SingleItemRecipeBuilder

implements RecipeBuilder

ly
net.minecraft.data.recipes.SingleItemRecipeBuilder
net.minecraft.class_3981
net.minecraft.data.server.recipe.SingleItemRecipeJsonBuilder
net.minecraft.src.C_4836_

Field summary

Modifier and TypeField
private final RecipeCategory
b
category
field_40650
category
f_244239_
private final Item
c
result
field_17690
output
f_126302_
private final Ingredient
d
ingredient
field_17691
input
f_126303_
private final int
e
count
field_17692
count
f_126304_
private final Map<String, Criterion<?>>
f
criteria
field_46151
criteria
f_291531_
private String
g
group
field_17694
group
f_126306_
private final RecipeSerializer<?>
h
type
field_17695
serializer
f_126307_

Constructor summary

ModifierConstructor
public (RecipeCategory category, RecipeSerializer<?> serializer, Ingredient input, ItemLike output, int count)

Method summary

Modifier and TypeMethod
public static SingleItemRecipeBuilder
a(cmg arg0, ls arg1, cpu arg2)
stonecutting(Ingredient arg0, RecipeCategory arg1, ItemLike arg2)
method_17968(class_1856 arg0, class_7800 arg1, class_1935 arg2)
createStonecutting(Ingredient input, RecipeCategory category, ItemConvertible output)
m_245264_(C_1462_ p_248596_, C_243442_ p_250503_, C_1595_ p_250269_)
public static SingleItemRecipeBuilder
a(cmg arg0, ls arg1, cpu arg2, int arg3)
stonecutting(Ingredient arg0, RecipeCategory arg1, ItemLike arg2, int arg3)
method_17969(class_1856 arg0, class_7800 arg1, class_1935 arg2, int arg3)
createStonecutting(Ingredient input, RecipeCategory category, ItemConvertible output, int count)
m_246944_(C_1462_ p_251375_, C_243442_ p_248984_, C_1595_ p_250105_, int p_249506_)
public SingleItemRecipeBuilder
b(String arg0, am<?> arg1)
unlockedBy(String arg0, Criterion<?> arg1)
method_17970(String arg0, class_175<?> arg1)
criterion(String arg0, AdvancementCriterion<?> arg1)
m_126132_(String p_298188_, C_109_<?> arg1)
public SingleItemRecipeBuilder
b(String arg0)
group(String arg0)
method_35919(String arg0)
group(String arg0)
m_126145_(String arg0)
public Item
a()
getResult()
method_36441()
getOutputItem()
m_142372_()
public void
a(lt arg0, aew arg1)
save(RecipeOutput arg0, ResourceLocation arg1)
method_17972(class_8790 arg0, class_2960 arg1)
offerTo(RecipeExporter arg0, Identifier arg1)
m_126140_(C_290160_ p_126328_, C_5265_ arg1)
private void
a(aew arg0)
ensureValid(ResourceLocation arg0)
method_17973(class_2960 arg0)
validate(Identifier recipeId)
m_126329_(C_5265_ arg0)