Class CollectItemsObjective

java.lang.Object
rocks.gravili.notquests.paper.structs.objectives.Objective
rocks.gravili.notquests.paper.structs.objectives.PickupItemsObjective

public class CollectItemsObjective extends Objective
  • Constructor Details

    • CollectItemsObjective

      public CollectItemsObjective(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)
    • isCollectAnyItem

      public final boolean isCollectAnyItem()
    • setCollectAnyItem

      public void setCollectAnyItem(boolean collectAnyItem)
    • setItemToCollect

      public void setItemToCollect(org.bukkit.inventory.ItemStack itemToCollect)
    • getObjectiveTaskDescription

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

      public void setDeductIfItemIsDropped(boolean deductIfItemIsDropped)
    • 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
    • getItemToCollect

      public final org.bukkit.inventory.ItemStack getItemToCollect()
    • getAmountToCollect

      public final long getAmountToCollect()
    • onObjectiveUnlock

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

      public final boolean isDeductIfItemIsDropped()