public static class SingleItemRecipeBuilder.Result extends java.lang.Object implements IFinishedRecipe
| Constructor and Description |
|---|
Result(ResourceLocation p_i50574_1_,
IRecipeSerializer<?> serializerIn,
java.lang.String groupIn,
Ingredient p_i50574_4_,
Item resultIn,
int countIn,
Advancement.Builder p_i50574_7_,
ResourceLocation p_i50574_8_) |
| Modifier and Type | Method and Description |
|---|---|
ResourceLocation |
getAdvancementID() |
com.google.gson.JsonObject |
getAdvancementJson() |
ResourceLocation |
getID() |
IRecipeSerializer<?> |
getSerializer() |
void |
serialize(com.google.gson.JsonObject json) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRecipeJsonpublic Result(ResourceLocation p_i50574_1_, IRecipeSerializer<?> serializerIn, java.lang.String groupIn, Ingredient p_i50574_4_, Item resultIn, int countIn, Advancement.Builder p_i50574_7_, ResourceLocation p_i50574_8_)
public void serialize(com.google.gson.JsonObject json)
serialize in interface IFinishedRecipepublic ResourceLocation getID()
getID in interface IFinishedRecipepublic IRecipeSerializer<?> getSerializer()
getSerializer in interface IFinishedRecipe@Nullable public com.google.gson.JsonObject getAdvancementJson()
getAdvancementJson in interface IFinishedRecipe@Nullable public ResourceLocation getAdvancementID()
getAdvancementID in interface IFinishedRecipe