public static class CookingRecipeBuilder.Result extends java.lang.Object implements IFinishedRecipe
コンストラクタと説明 |
---|
Result(ResourceLocation idIn,
java.lang.String groupIn,
Ingredient ingredientIn,
Item resultIn,
float experienceIn,
int cookingTimeIn,
Advancement.Builder advancementBuilderIn,
ResourceLocation advancementIdIn,
IRecipeSerializer<? extends AbstractCookingRecipe> serializerIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
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, wait
getRecipeJson
public Result(ResourceLocation idIn, java.lang.String groupIn, Ingredient ingredientIn, Item resultIn, float experienceIn, int cookingTimeIn, Advancement.Builder advancementBuilderIn, ResourceLocation advancementIdIn, IRecipeSerializer<? extends AbstractCookingRecipe> serializerIn)
public void serialize(com.google.gson.JsonObject json)
serialize
インタフェース内 IFinishedRecipe
public IRecipeSerializer<?> getSerializer()
getSerializer
インタフェース内 IFinishedRecipe
public ResourceLocation getID()
getID
インタフェース内 IFinishedRecipe
@Nullable public com.google.gson.JsonObject getAdvancementJson()
getAdvancementJson
インタフェース内 IFinishedRecipe
@Nullable public ResourceLocation getAdvancementID()
getAdvancementJson()
is non-null.getAdvancementID
インタフェース内 IFinishedRecipe