Package net.minecraft.data.recipes
Class TransmuteRecipeBuilder
java.lang.Object
net.minecraft.data.recipes.TransmuteRecipeBuilder
- All Implemented Interfaces:
RecipeBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RecipeCategoryprivate Stringprivate final Ingredientprivate final IngredientFields inherited from interface net.minecraft.data.recipes.RecipeBuilder
ROOT_RECIPE_ADVANCEMENT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateTransmuteRecipeBuilder(RecipeCategory category, Holder<Item> result, Ingredient input, Ingredient material) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidensureValid(ResourceKey<Recipe<?>> recipe) voidsave(RecipeOutput p_374401_, ResourceKey<Recipe<?>> p_379646_) static TransmuteRecipeBuildertransmute(RecipeCategory category, Ingredient input, Ingredient material, Item result) unlockedBy(String p_374276_, Criterion<?> p_374559_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.data.recipes.RecipeBuilder
save, save
-
Field Details
-
category
-
result
-
input
-
material
-
criteria
-
group
-
-
Constructor Details
-
TransmuteRecipeBuilder
private TransmuteRecipeBuilder(RecipeCategory category, Holder<Item> result, Ingredient input, Ingredient material)
-
-
Method Details
-
transmute
public static TransmuteRecipeBuilder transmute(RecipeCategory category, Ingredient input, Ingredient material, Item result) -
unlockedBy
- Specified by:
unlockedByin interfaceRecipeBuilder
-
group
- Specified by:
groupin interfaceRecipeBuilder
-
getResult
- Specified by:
getResultin interfaceRecipeBuilder
-
save
- Specified by:
savein interfaceRecipeBuilder
-
ensureValid
-