public static class ShapelessRecipeBuilder.Result extends java.lang.Object implements IFinishedRecipe
コンストラクタと説明 |
---|
Result(ResourceLocation idIn,
Item resultIn,
int countIn,
java.lang.String groupIn,
java.util.List<Ingredient> ingredientsIn,
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, wait
getRecipeJson
public Result(ResourceLocation idIn, Item resultIn, int countIn, java.lang.String groupIn, java.util.List<Ingredient> ingredientsIn, Advancement.Builder advancementBuilderIn, ResourceLocation advancementIdIn)
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