net.minecraft.data.recipes

public class SingleItemRecipeBuilder

implements RecipeBuilder

kc
net.minecraft.data.recipes.SingleItemRecipeBuilder
net.minecraft.class_3981
net.minecraft.data.server.recipe.SingleItemRecipeJsonFactory
net.minecraft.src.C_4836_

Field summary

Modifier and TypeField
private final Item
a
result
field_17690
output
f_126302_
private final Ingredient
b
ingredient
field_17691
input
f_126303_
private final int
c
count
field_17692
count
f_126304_
private final Advancement$Builder
d
advancement
field_17693
builder
f_126305_
private String
e
group
field_17694
group
f_126306_
private final RecipeSerializer<?>
f
type
field_17695
serializer
f_126307_

Constructor summary

ModifierConstructor
public (RecipeSerializer<?> serializer, Ingredient input, ItemLike output, int outputCount)

Method summary

Modifier and TypeMethod
public static SingleItemRecipeBuilder
a(btf arg0, bwp arg1)
stonecutting(Ingredient arg0, ItemLike arg1)
method_17968(class_1856 arg0, class_1935 arg1)
createStonecutting(Ingredient input, ItemConvertible output)
m_126313_(C_1462_ p_126314_, C_1595_ p_126315_)
public static SingleItemRecipeBuilder
a(btf arg0, bwp arg1, int arg2)
stonecutting(Ingredient arg0, ItemLike arg1, int arg2)
method_17969(class_1856 arg0, class_1935 arg1, int arg2)
createStonecutting(Ingredient input, ItemConvertible output, int outputCount)
m_126316_(C_1462_ p_126317_, C_1595_ p_126318_, int p_126319_)
public SingleItemRecipeBuilder
b(String arg0, am arg1)
unlockedBy(String arg0, CriterionTriggerInstance arg1)
method_17970(String arg0, class_184 arg1)
criterion(String arg0, CriterionConditions arg1)
m_142284_(String p_176811_, C_207_ arg1)
public SingleItemRecipeBuilder
b(String arg0)
group(String arg0)
method_35919(String arg0)
group(String arg0)
m_142409_(String arg0)
public Item
a()
getResult()
method_36441()
getOutputItem()
m_142372_()
public void
a(Consumer<jw> arg0, ww 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_126328_, C_5265_ arg1)
private void
a(ww arg0)
ensureValid(ResourceLocation arg0)
method_17973(class_2960 arg0)
validate(Identifier recipeId)
m_126329_(C_5265_ arg0)