private static class ConditionalRecipe.Finished extends java.lang.Object implements IFinishedRecipe
Modifier and Type | Field and Description |
---|---|
private ConditionalAdvancement.Builder |
adv |
private ResourceLocation |
advId |
private java.util.List<ICondition[]> |
conditions |
private ResourceLocation |
id |
private java.util.List<IFinishedRecipe> |
recipes |
Modifier | Constructor and Description |
---|---|
private |
Finished(ResourceLocation id,
java.util.List<ICondition[]> conditions,
java.util.List<IFinishedRecipe> recipes,
ResourceLocation advId,
ConditionalAdvancement.Builder adv) |
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, wait
getRecipeJson
private final ResourceLocation id
private final java.util.List<ICondition[]> conditions
private final java.util.List<IFinishedRecipe> recipes
private final ResourceLocation advId
private final ConditionalAdvancement.Builder adv
private Finished(ResourceLocation id, java.util.List<ICondition[]> conditions, java.util.List<IFinishedRecipe> recipes, ResourceLocation advId, ConditionalAdvancement.Builder adv)
public void serialize(com.google.gson.JsonObject json)
serialize
in interface IFinishedRecipe
public ResourceLocation getID()
getID
in interface IFinishedRecipe
public IRecipeSerializer<?> getSerializer()
getSerializer
in interface IFinishedRecipe
public com.google.gson.JsonObject getAdvancementJson()
getAdvancementJson
in interface IFinishedRecipe
public ResourceLocation getAdvancementID()
getAdvancementID
in interface IFinishedRecipe