Interface IQuestDeliveryObjective

All Superinterfaces:
IDialogueObjectiveTemplate, IQuestObjectiveTemplate
All Known Implementing Classes:
DeliveryObjectiveTemplateTemplate

public interface IQuestDeliveryObjective extends IDialogueObjectiveTemplate
Quest objective interface for deliveries.
  • Method Details

    • hasItem

      boolean hasItem(net.minecraft.world.entity.player.Player player, IQuestInstance colonyQuest)
      Check if the objective is ready to move on.
      Parameters:
      colonyQuest - the objective belongs to.
      Returns:
      true if so.
    • tryDiscountItem

      boolean tryDiscountItem(net.minecraft.world.entity.player.Player player, IQuestInstance colonyQuest)
      Attempt to resolve an objective.
      Parameters:
      colonyQuest - the objective belongs to.
      Returns:
      true if so.
    • getReadyDialogueTree

      Dialogue tree when the conditions are fulfilled.
      Returns:
      the dialogue to play.