Class QuestRegistries.ObjectiveEntry
java.lang.Object
com.minecolonies.api.quests.registries.QuestRegistries.ObjectiveEntry
- Enclosing class:
- QuestRegistries
Quest objective entry type.
-
Constructor Summary
ConstructorsConstructorDescriptionObjectiveEntry(Function<com.google.gson.JsonObject, IQuestObjectiveTemplate> productionFunction) -
Method Summary
Modifier and TypeMethodDescriptionproduce(com.google.gson.JsonObject jsonObject) Create one from json.
-
Constructor Details
-
ObjectiveEntry
public ObjectiveEntry(Function<com.google.gson.JsonObject, IQuestObjectiveTemplate> productionFunction)
-
-
Method Details
-
produce
Create one from json.- Parameters:
jsonObject- the input.- Returns:
- the objective.
-