Class MobPurgeCMD

java.lang.Object
org.bukkit.command.Command
dev.plex.command.PlexCommand
dev.plex.command.impl.MobPurgeCMD
All Implemented Interfaces:
org.bukkit.command.PluginIdentifiableCommand

public class MobPurgeCMD extends PlexCommand
  • Field Details Link icon

    • MOB_TYPES Link icon

      private final List<org.bukkit.entity.EntityType> MOB_TYPES
  • Constructor Details Link icon

    • MobPurgeCMD Link icon

      public MobPurgeCMD()
  • Method Details Link icon

    • execute Link icon

      protected net.kyori.adventure.text.Component execute (@NotNull @NotNull org.bukkit.command.CommandSender sender, @Nullable @Nullable org.bukkit.entity.Player playerSender, @NotNull @NotNull String[] args)
      Description copied from class: PlexCommand
      Executes the command
      Specified by:
      execute in class PlexCommand
      Parameters:
      sender - The sender of the command
      playerSender - The player who executed the command (null if CommandSource is console or if CommandSource is any but console executed)
      args - A Kyori Component to send to the sender (can be null)
    • multipleS Link icon

      private String multipleS (int count)
    • purgeMobs Link icon

      private int purgeMobs (org.bukkit.entity.EntityType type)
    • getAllMobs Link icon

      private List<String> getAllMobs()
    • smartTabComplete Link icon

      @NotNull public @NotNull List<String> smartTabComplete (@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull String alias, @NotNull @NotNull String[] args) throws IllegalArgumentException
      Specified by:
      smartTabComplete in class PlexCommand
      Throws:
      IllegalArgumentException