public static class ShapelessRecipeBuilder.Result extends java.lang.Object implements IFinishedRecipe
Constructor and Description |
---|
Result(ResourceLocation idIn,
Item resultIn,
int countIn,
java.lang.String groupIn,
java.util.List<Ingredient> ingredientsIn,
Advancement.Builder advancementBuilderIn,
ResourceLocation advancementIdIn) |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
getAdvancementID() |
com.google.gson.JsonObject |
getAdvancementJson() |
ResourceLocation |
getID() |
com.google.gson.JsonObject |
getRecipeJson() |
public Result(ResourceLocation idIn, Item resultIn, int countIn, java.lang.String groupIn, java.util.List<Ingredient> ingredientsIn, Advancement.Builder advancementBuilderIn, ResourceLocation advancementIdIn)
public com.google.gson.JsonObject getRecipeJson()
getRecipeJson
in interface IFinishedRecipe
public ResourceLocation getID()
getID
in interface IFinishedRecipe
@Nullable public com.google.gson.JsonObject getAdvancementJson()
getAdvancementJson
in interface IFinishedRecipe
@Nullable public ResourceLocation getAdvancementID()
getAdvancementID
in interface IFinishedRecipe