net.minecraft.data.recipes

public class SingleItemRecipeBuilder

implements RecipeBuilder

os
net.minecraft.data.recipes.SingleItemRecipeBuilder
net.minecraft.class_3981
net.minecraft.data.server.recipe.StonecuttingRecipeJsonBuilder
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 SingleItemRecipe$Factory<?>
h
factory
field_47505
recipeFactory
f_303835_

Constructor summary

ModifierConstructor
public (RecipeCategory category, SingleItemRecipe$Factory<?> recipeFactory, Ingredient input, ItemLike output, int count)

Method summary

Modifier and TypeMethod
public static SingleItemRecipeBuilder
a(cyw arg0, om arg1, dcv 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(cyw arg0, om arg1, dcv 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, ao<?> 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(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_126328_, C_5265_ arg1)
private void
a(akr arg0)
ensureValid(ResourceLocation arg0)
method_17973(class_2960 arg0)
validate(Identifier recipeId)
m_126329_(C_5265_ arg0)