Class AbstractCommandBlockActor

java.lang.Object
com.sk89q.worldedit.extension.platform.AbstractNonPlayerActor
com.sk89q.worldedit.extension.platform.AbstractCommandBlockActor
All Implemented Interfaces:
Actor, Locatable, SessionOwner, Subject, Identifiable

public abstract class AbstractCommandBlockActor extends AbstractNonPlayerActor implements Locatable
  • Field Details

  • Constructor Details

    • AbstractCommandBlockActor

      public AbstractCommandBlockActor(Location location)
  • Method Details

    • getLocation

      public Location getLocation()
      Description copied from interface: Locatable
      Get the location of this actor.
      Specified by:
      getLocation in interface Locatable
      Returns:
      the location of the actor
    • setLocation

      public boolean setLocation(Location location)
      Description copied from interface: Locatable
      Sets the location of this actor.
      Specified by:
      setLocation in interface Locatable
      Parameters:
      location - the new location of the actor
      Returns:
      if the teleport succeeded
    • getExtent

      public Extent getExtent()
      Description copied from interface: Locatable
      Get the extent that this actor is in.
      Specified by:
      getExtent in interface Locatable
      Returns:
      the extent