Class ConditionalRecipe.Finished
java.lang.Object
net.minecraftforge.common.crafting.ConditionalRecipe.Finished
- All Implemented Interfaces:
FinishedRecipe
- Enclosing class:
- ConditionalRecipe
-
Field Summary
Modifier and TypeFieldDescriptionprivate ConditionalAdvancement.Builder
private ResourceLocation
private List<ICondition[]>
private ResourceLocation
private List<FinishedRecipe>
-
Constructor Summary
ModifierConstructorDescriptionprivate
Finished(ResourceLocation id, List<ICondition[]> conditions, List<FinishedRecipe> recipes, ResourceLocation advId, ConditionalAdvancement.Builder adv)
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
getType()
com.google.gson.JsonObject
void
serializeRecipeData(com.google.gson.JsonObject json)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.data.recipes.FinishedRecipe
serializeRecipe
-
Field Details
-
id
-
conditions
-
recipes
-
advId
-
adv
-
-
Constructor Details
-
Finished
private Finished(ResourceLocation id, List<ICondition[]> conditions, List<FinishedRecipe> recipes, @Nullable ResourceLocation advId, @Nullable ConditionalAdvancement.Builder adv)
-
-
Method Details
-
serializeRecipeData
public void serializeRecipeData(com.google.gson.JsonObject json)- Specified by:
serializeRecipeData
in interfaceFinishedRecipe
-
getId
- Specified by:
getId
in interfaceFinishedRecipe
-
getType
- Specified by:
getType
in interfaceFinishedRecipe
-
serializeAdvancement
public com.google.gson.JsonObject serializeAdvancement()- Specified by:
serializeAdvancement
in interfaceFinishedRecipe
-
getAdvancementId
- Specified by:
getAdvancementId
in interfaceFinishedRecipe
-