Class DeliverItemsObjective

java.lang.Object
rocks.gravili.notquests.structs.objectives.Objective
rocks.gravili.notquests.structs.objectives.DeliverItemsObjective

public class DeliverItemsObjective extends Objective
  • Constructor Details

    • DeliverItemsObjective

      public DeliverItemsObjective (NotQuests main)
  • Method Details

    • handleCommands

      public static void handleCommands (NotQuests main, cloud.commandframework.paper.PaperCommandManager<org.bukkit.command.CommandSender> manager, cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> addObjectiveBuilder)
    • setItemToDeliver

      public void setItemToDeliver (org.bukkit.inventory.ItemStack itemToDeliver)
    • setRecipientNPCID

      public void setRecipientNPCID (int recipientNPCID)
    • setRecipientArmorStandUUID

      public void setRecipientArmorStandUUID (UUID recipientArmorStandUUID)
    • onObjectiveUnlock

      public void onObjectiveUnlock (ActiveObjective activeObjective)
      Specified by:
      onObjectiveUnlock in class Objective
    • getItemToDeliver

      public final org.bukkit.inventory.ItemStack getItemToDeliver()
    • getAmountToDeliver

      public final long getAmountToDeliver()
    • getRecipientNPCID

      public final int getRecipientNPCID()
    • getRecipientArmorStandUUID

      public final UUID getRecipientArmorStandUUID()
    • getObjectiveTaskDescription

      public String getObjectiveTaskDescription (String eventualColor, org.bukkit.entity.Player player)
      Specified by:
      getObjectiveTaskDescription in class Objective
    • save

      public void save (org.bukkit.configuration.file.FileConfiguration configuration, String initialPath)
      Specified by:
      save in class Objective
    • load

      public void load (org.bukkit.configuration.file.FileConfiguration configuration, String initialPath)
      Specified by:
      load in class Objective