Class CommandKill

java.lang.Object
valorless.rarespawns.commands.CommandKill

public class CommandKill extends Object
Command handler that kills nearby rare entities within a given radius.

Sets a special tag to mark the kill as command-initiated, removes any associated boss bars, and then schedules setting the entity's health to 0.

  • Constructor Details

    • CommandKill

      public CommandKill()
  • Method Details

    • Run

      public static boolean Run(RSCommand command)
      Executes the kill command. Usage: /rare kill Kills all rare entities within the specified radius around the sender.
      Parameters:
      command - encapsulated command context
      Returns:
      true if command was handled; false on parsing errors