Class ConditionalRecipe.Finished
java.lang.Object
net.minecraftforge.common.crafting.ConditionalRecipe.Finished
- All Implemented Interfaces:
IFinishedRecipe
- Enclosing class:
- ConditionalRecipe
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ConditionalAdvancement.Builder
private final ResourceLocation
private final List<ICondition[]>
private final ResourceLocation
private final List<IFinishedRecipe>
-
Constructor Summary
ModifierConstructorDescriptionprivate
Finished
(ResourceLocation id, List<ICondition[]> conditions, List<IFinishedRecipe> 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.IFinishedRecipe
serializeRecipe
-
Field Details
-
id
-
conditions
-
recipes
-
advId
-
adv
-
-
Constructor Details
-
Finished
private Finished(ResourceLocation id, List<ICondition[]> conditions, List<IFinishedRecipe> recipes, @Nullable ResourceLocation advId, @Nullable ConditionalAdvancement.Builder adv)
-
-
Method Details
-
serializeRecipeData
public void serializeRecipeData(com.google.gson.JsonObject json) - Specified by:
serializeRecipeData
in interfaceIFinishedRecipe
-
getId
- Specified by:
getId
in interfaceIFinishedRecipe
-
getType
- Specified by:
getType
in interfaceIFinishedRecipe
-
serializeAdvancement
public com.google.gson.JsonObject serializeAdvancement()- Specified by:
serializeAdvancement
in interfaceIFinishedRecipe
-
getAdvancementId
- Specified by:
getAdvancementId
in interfaceIFinishedRecipe
-