Package com.minecolonies.api.quests
Interface IQuestRewardTemplate
- All Known Implementing Classes:
HappinessRewardTemplate,ItemRewardTemplate,QuestReputationRewardTemplate,RaidAdjustmentRewardTemplate,RelationshipRewardTemplate,ResearchCompleteRewardTemplate,SkillRewardTemplate,UnlockQuestRewardTemplate
public interface IQuestRewardTemplate
Quest reward interface for all reward types.
-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyReward(IColony colony, net.minecraft.world.entity.player.Player player, IQuestInstance colonyQuest) Apply the reward to colony and player.
-
Method Details
-
applyReward
void applyReward(IColony colony, net.minecraft.world.entity.player.Player player, IQuestInstance colonyQuest) Apply the reward to colony and player.- Parameters:
colony- the involved colony.player- the involved player.colonyQuest- the related quest.
-