Class ConditionalRecipe.Finished
java.lang.Object
net.minecraftforge.common.crafting.ConditionalRecipe.Finished
- All Implemented Interfaces:
FinishedRecipe
- Enclosing class:
- ConditionalRecipe
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ConditionalAdvancement.Builder
private final ResourceLocation
private final List<ICondition[]>
private final ResourceLocation
private final List<FinishedRecipe>
-
Constructor Summary
ModifierConstructorDescriptionprivate
Finished
(ResourceLocation id, List<ICondition[]> conditions, List<FinishedRecipe> recipes, @Nullable 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 @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
-