public static class SingleItemRecipeBuilder.Result extends java.lang.Object implements IFinishedRecipe
| コンストラクタと説明 |
|---|
Result(ResourceLocation idIn,
IRecipeSerializer<?> serializerIn,
java.lang.String groupIn,
Ingredient ingredientIn,
Item resultIn,
int countIn,
Advancement.Builder advancementBuilderIn,
ResourceLocation advancementIdIn) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
ResourceLocation |
getAdvancementID()
Gets the ID for the advancement associated with this recipe.
|
com.google.gson.JsonObject |
getAdvancementJson()
Gets the JSON for the advancement that unlocks this recipe.
|
ResourceLocation |
getID()
Gets the ID for the recipe.
|
IRecipeSerializer<?> |
getSerializer() |
void |
serialize(com.google.gson.JsonObject json) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRecipeJsonpublic Result(ResourceLocation idIn, IRecipeSerializer<?> serializerIn, java.lang.String groupIn, Ingredient ingredientIn, Item resultIn, int countIn, Advancement.Builder advancementBuilderIn, ResourceLocation advancementIdIn)
public void serialize(com.google.gson.JsonObject json)
serialize インタフェース内 IFinishedRecipepublic ResourceLocation getID()
getID インタフェース内 IFinishedRecipepublic IRecipeSerializer<?> getSerializer()
getSerializer インタフェース内 IFinishedRecipe@Nullable public com.google.gson.JsonObject getAdvancementJson()
getAdvancementJson インタフェース内 IFinishedRecipe@Nullable public ResourceLocation getAdvancementID()
getAdvancementJson()
is non-null.getAdvancementID インタフェース内 IFinishedRecipe