Class TransmuteRecipeBuilder
java.lang.Object
net.minecraft.data.recipes.TransmuteRecipeBuilder
- All Implemented Interfaces:
RecipeBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate final RecipeUnlockAdvancementBuilderprivate final RecipeCategoryprivate @Nullable Stringprivate final Ingredientprivate final Ingredientprivate MinMaxBounds.Intsprivate final ItemStackTemplateFields inherited from interface RecipeBuilder
ROOT_RECIPE_ADVANCEMENT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateTransmuteRecipeBuilder(RecipeCategory category, ItemStackTemplate result, Ingredient input, Ingredient material) -
Method Summary
Modifier and TypeMethodDescriptionResourceKey<Recipe<?>> voidsave(RecipeOutput output, ResourceKey<Recipe<?>> id) setMaterialCount(MinMaxBounds.Ints materialCount) static TransmuteRecipeBuildertransmute(RecipeCategory category, Ingredient input, Ingredient material, Item result) static TransmuteRecipeBuildertransmute(RecipeCategory category, Ingredient input, Ingredient material, ItemStackTemplate result) unlockedBy(String name, Criterion<?> criterion) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RecipeBuilder
save, save
-
Field Details
-
category
-
result
-
input
-
material
-
advancementBuilder
-
group
-
materialCount
-
addMaterialCountToOutput
private boolean addMaterialCountToOutput
-
-
Constructor Details
-
TransmuteRecipeBuilder
private TransmuteRecipeBuilder(RecipeCategory category, ItemStackTemplate result, Ingredient input, Ingredient material)
-
-
Method Details
-
transmute
public static TransmuteRecipeBuilder transmute(RecipeCategory category, Ingredient input, Ingredient material, Item result) -
transmute
public static TransmuteRecipeBuilder transmute(RecipeCategory category, Ingredient input, Ingredient material, ItemStackTemplate result) -
unlockedBy
- Specified by:
unlockedByin interfaceRecipeBuilder
-
group
- Specified by:
groupin interfaceRecipeBuilder
-
addMaterialCountToOutput
-
setMaterialCount
-
defaultId
- Specified by:
defaultIdin interfaceRecipeBuilder
-
save
- Specified by:
savein interfaceRecipeBuilder
-