java.lang.Object
rocks.gravili.notquests.paper.structs.triggers.Trigger
rocks.gravili.notquests.paper.structs.triggers.types.NPCDeathTrigger

public class NPCDeathTrigger extends Trigger
  • Constructor Details

    • NPCDeathTrigger

      public NPCDeathTrigger(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> addTriggerBuilder)
    • getNpcToDieID

      public final int getNpcToDieID()
    • setNpcToDieID

      public void setNpcToDieID(int npcToDieID)
    • save

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

      public String getTriggerDescription()
      Specified by:
      getTriggerDescription in class Trigger
    • load

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