Package valorless.rarespawns.commands
Class CommandKill
java.lang.Object
valorless.rarespawns.commands.CommandKill
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
CommandKill
public CommandKill()
-
-
Method Details
-
Run
Executes the kill command. Usage: /rare killKills 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
-