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