Class CommandEvent

java.lang.Object
com.sk89q.worldedit.event.AbstractCancellable
com.sk89q.worldedit.event.platform.CommandEvent
All Implemented Interfaces:
Cancellable

public class CommandEvent extends AbstractCancellable
This class is currently only for internal use. Do not post or catch this event.
  • Constructor Details

    • CommandEvent

      public CommandEvent(Actor actor, String arguments)
      Create a new instance.
      Parameters:
      actor - the player
      arguments - the arguments
  • Method Details

    • getActor

      public Actor getActor()
      Get the actor that issued the command.
      Returns:
      the actor that issued the command
    • getArguments

      public String getArguments()
      Get the arguments.
      Returns:
      the arguments