Package net.minecraft.data.recipes
Class CraftingRecipeBuilder.CraftingResult
java.lang.Object
net.minecraft.data.recipes.CraftingRecipeBuilder.CraftingResult
- All Implemented Interfaces:
FinishedRecipe
- Direct Known Subclasses:
ShapedRecipeBuilder.Result
,ShapelessRecipeBuilder.Result
- Enclosing class:
- CraftingRecipeBuilder
protected abstract static class CraftingRecipeBuilder.CraftingResult
extends Object
implements FinishedRecipe
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.data.recipes.FinishedRecipe
FinishedRecipe.AdvancementData
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
serializeRecipeData
(com.google.gson.JsonObject p_250456_) <R extends CraftingRecipeBuilder.CraftingResult>
RwithCondition
(ICondition condition) 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
advancement, advancementData, id, serializeRecipe, type
-
Field Details
-
category
-
condition
-
-
Constructor Details
-
CraftingResult
-
-
Method Details
-
withCondition
-
serializeRecipeData
public void serializeRecipeData(com.google.gson.JsonObject p_250456_) - Specified by:
serializeRecipeData
in interfaceFinishedRecipe
-