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 RecipeCategory
private String
private final Ingredient
private final Ingredient
Fields inherited from interface net.minecraft.data.recipes.RecipeBuilder
ROOT_RECIPE_ADVANCEMENT
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
TransmuteRecipeBuilder
(RecipeCategory pCategory, Holder<Item> pResult, Ingredient pInput, Ingredient pMaterial) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
ensureValid
(ResourceKey<Recipe<?>> pRecipe) void
save
(RecipeOutput pOutput, ResourceKey<Recipe<?>> pResourceKey) static TransmuteRecipeBuilder
transmute
(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, wait
Methods 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:
unlockedBy
in interfaceRecipeBuilder
-
group
- Specified by:
group
in interfaceRecipeBuilder
-
getResult
- Specified by:
getResult
in interfaceRecipeBuilder
-
save
- Specified by:
save
in interfaceRecipeBuilder
-
ensureValid
-