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