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 pCategory, Holder<Item> pResult, Ingredient pInput, Ingredient pMaterial) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidensureValid(ResourceKey<Recipe<?>> pRecipe) voidsave(RecipeOutput pOutput, ResourceKey<Recipe<?>> pResourceKey) static TransmuteRecipeBuildertransmute(RecipeCategory pCategory, Ingredient pInput, Ingredient pMaterial, Item pResult) unlockedBy(String pName, Criterion<?> pCriterion) 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 pCategory, Holder<Item> pResult, Ingredient pInput, Ingredient pMaterial)
-
-
Method Details
-
transmute
public static TransmuteRecipeBuilder transmute(RecipeCategory pCategory, Ingredient pInput, Ingredient pMaterial, Item pResult) -
unlockedBy
- Specified by:
unlockedByin interfaceRecipeBuilder
-
group
- Specified by:
groupin interfaceRecipeBuilder
-
getResult
- Specified by:
getResultin interfaceRecipeBuilder
-
save
- Specified by:
savein interfaceRecipeBuilder
-
ensureValid
-