Class CommandSpawn

java.lang.Object
valorless.rarespawns.commands.CommandSpawn

public class CommandSpawn extends Object
Command handler that spawns a configured rare entity.

Usage: /rare spawn [playerName] - If a player name is provided, spawns at that player's location. - Otherwise, spawns where the sender looks (ray-traced up to 200 blocks), or at the sender's position if no hit.

  • Constructor Details

    • CommandSpawn

      public CommandSpawn()
  • Method Details

    • Run

      public static boolean Run(RSCommand command)
      Executes the spawn command.
      Parameters:
      command - encapsulated command context
      Returns:
      true if command was handled