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
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Advancement.Builderprivate final ResourceLocationprivate final intprivate final Stringprivate final ResourceLocationprivate final Map<Character,Ingredient> private final Itemprivate final boolean - 
Constructor Summary
ConstructorsConstructorDescriptionResult(ResourceLocation p_273548_, Item p_273530_, int p_272738_, String p_273549_, CraftingBookCategory p_273500_, List<String> p_273744_, Map<Character, Ingredient> p_272991_, Advancement.Builder p_273260_, ResourceLocation p_273106_, boolean p_272862_)  - 
Method Summary
Modifier and TypeMethodDescriptiongetId()getType()com.google.gson.JsonObjectvoidserializeRecipeData(com.google.gson.JsonObject p_126167_) 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.FinishedRecipe
serializeRecipe 
- 
Field Details
- 
id
 - 
result
 - 
count
private final int count - 
group
 - 
pattern
 - 
key
 - 
advancement
 - 
advancementId
 - 
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_, Advancement.Builder p_273260_, ResourceLocation p_273106_, boolean p_272862_)  
 - 
 - 
Method Details
- 
serializeRecipeData
public void serializeRecipeData(com.google.gson.JsonObject p_126167_) - Specified by:
 serializeRecipeDatain interfaceFinishedRecipe- Overrides:
 serializeRecipeDatain classCraftingRecipeBuilder.CraftingResult
 - 
getType
 - 
getId
 - 
serializeAdvancement
@Nullable public com.google.gson.JsonObject serializeAdvancement() - 
getAdvancementId
 
 -