Package net.minecraft.data.recipes
Class ShapedRecipeBuilder.Result
java.lang.Object
net.minecraft.data.recipes.CraftingRecipeBuilder.CraftingResult
net.minecraft.data.recipes.ShapedRecipeBuilder.Result
- All Implemented Interfaces:
FinishedRecipe
- Enclosing class:
- ShapedRecipeBuilder
-
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 Map<Character,
Ingredient> private final Item
private final boolean
-
Constructor Summary
ConstructorDescriptionResult
(ResourceLocation p_273548_, Item p_273530_, int p_272738_, String p_273549_, CraftingBookCategory p_273500_, List<String> p_273744_, Map<Character, Ingredient> p_272991_, AdvancementHolder p_297223_, boolean p_272862_) -
Method Summary
Modifier and TypeMethodDescriptionid()
void
serializeRecipeData
(com.google.gson.JsonObject p_126167_) 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
-
pattern
-
key
-
advancement
-
showNotification
private final boolean showNotification
-
-
Constructor Details
-
Result
public Result(ResourceLocation p_273548_, Item p_273530_, int p_272738_, String p_273549_, CraftingBookCategory p_273500_, List<String> p_273744_, Map<Character, Ingredient> p_272991_, AdvancementHolder p_297223_, boolean p_272862_)
-
-
Method Details
-
serializeRecipeData
public void serializeRecipeData(com.google.gson.JsonObject p_126167_) - Specified by:
serializeRecipeData
in interfaceFinishedRecipe
- Overrides:
serializeRecipeData
in classCraftingRecipeBuilder.CraftingResult
-
type
-
id
-
advancement
-