Class IQuestDialogueAnswer.CloseUIDialogueAnswer

java.lang.Object
com.minecolonies.api.quests.IQuestDialogueAnswer.CloseUIDialogueAnswer
All Implemented Interfaces:
IFinalQuestDialogueAnswer, IQuestDialogueAnswer
Enclosing interface:
IQuestDialogueAnswer

public static class IQuestDialogueAnswer.CloseUIDialogueAnswer extends Object implements IFinalQuestDialogueAnswer
Type that will close the quest without alteration.
  • Constructor Details

    • CloseUIDialogueAnswer

      public CloseUIDialogueAnswer()
  • Method Details

    • applyToQuest

      public void applyToQuest(net.minecraft.world.entity.player.Player player, IQuestInstance quest)
      Description copied from interface: IFinalQuestDialogueAnswer
      Apply the objective to colony quest. This only applies to the terminal ones!
      Specified by:
      applyToQuest in interface IFinalQuestDialogueAnswer
      Parameters:
      player - the player triggering it.
      quest - the quest to apply itself to.