Package net.minecraft.data.recipes
Class ShapelessRecipeBuilder.Result
java.lang.Object
net.minecraft.data.recipes.CraftingRecipeBuilder.CraftingResult
net.minecraft.data.recipes.ShapelessRecipeBuilder.Result
- All Implemented Interfaces:
FinishedRecipe
- Enclosing class:
- ShapelessRecipeBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.recipes.FinishedRecipe
FinishedRecipe.AdvancementData
-
Field Summary
Modifier and TypeFieldDescriptionprivate final AdvancementHolder
private final int
private final String
private final ResourceLocation
private final List<Ingredient>
private final Item
-
Constructor Summary
ConstructorDescriptionResult
(ResourceLocation p_249007_, Item p_248667_, int p_249014_, String p_248592_, CraftingBookCategory p_249485_, List<Ingredient> p_252312_, AdvancementHolder p_297821_) -
Method Summary
Modifier and TypeMethodDescriptionid()
void
serializeRecipeData
(com.google.gson.JsonObject p_126230_) type()
Methods inherited from class net.minecraft.data.recipes.CraftingRecipeBuilder.CraftingResult
withCondition
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.FinishedRecipe
advancementData, serializeRecipe
-
Field Details
-
id
-
result
-
count
private final int count -
group
-
ingredients
-
advancement
-
-
Constructor Details
-
Result
public Result(ResourceLocation p_249007_, Item p_248667_, int p_249014_, String p_248592_, CraftingBookCategory p_249485_, List<Ingredient> p_252312_, AdvancementHolder p_297821_)
-
-
Method Details
-
serializeRecipeData
public void serializeRecipeData(com.google.gson.JsonObject p_126230_) - Specified by:
serializeRecipeData
in interfaceFinishedRecipe
- Overrides:
serializeRecipeData
in classCraftingRecipeBuilder.CraftingResult
-
type
-
id
-
advancement
-