Class BukkitBlockCommandSender

java.lang.Object
com.sk89q.worldedit.extension.platform.AbstractNonPlayerActor
com.sk89q.worldedit.bukkit.BukkitBlockCommandSender
All Implemented Interfaces:
com.sk89q.worldedit.extension.platform.Actor, com.sk89q.worldedit.extension.platform.Locatable, com.sk89q.worldedit.session.SessionOwner, com.sk89q.worldedit.util.auth.Subject, com.sk89q.worldedit.util.Identifiable

public class BukkitBlockCommandSender extends com.sk89q.worldedit.extension.platform.AbstractNonPlayerActor implements com.sk89q.worldedit.extension.platform.Locatable
  • Constructor Details

    • BukkitBlockCommandSender

      public BukkitBlockCommandSender(WorldEditPlugin plugin, org.bukkit.command.BlockCommandSender sender)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface com.sk89q.worldedit.extension.platform.Actor
    • printRaw

      @Deprecated public void printRaw(String msg)
      Deprecated.
      Specified by:
      printRaw in interface com.sk89q.worldedit.extension.platform.Actor
    • print

      @Deprecated public void print(String msg)
      Deprecated.
      Specified by:
      print in interface com.sk89q.worldedit.extension.platform.Actor
    • printDebug

      @Deprecated public void printDebug(String msg)
      Deprecated.
      Specified by:
      printDebug in interface com.sk89q.worldedit.extension.platform.Actor
    • printError

      @Deprecated public void printError(String msg)
      Deprecated.
      Specified by:
      printError in interface com.sk89q.worldedit.extension.platform.Actor
    • print

      public void print(com.sk89q.worldedit.util.formatting.text.Component component)
      Specified by:
      print in interface com.sk89q.worldedit.extension.platform.Actor
    • getLocale

      public Locale getLocale()
      Specified by:
      getLocale in interface com.sk89q.worldedit.extension.platform.Actor
    • getLocation

      public com.sk89q.worldedit.util.Location getLocation()
      Specified by:
      getLocation in interface com.sk89q.worldedit.extension.platform.Locatable
    • setLocation

      public boolean setLocation(com.sk89q.worldedit.util.Location location)
      Specified by:
      setLocation in interface com.sk89q.worldedit.extension.platform.Locatable
    • getExtent

      public com.sk89q.worldedit.extent.Extent getExtent()
      Specified by:
      getExtent in interface com.sk89q.worldedit.extension.platform.Locatable
    • getUniqueId

      public UUID getUniqueId()
      Specified by:
      getUniqueId in interface com.sk89q.worldedit.util.Identifiable
    • getGroups

      public String[] getGroups()
      Specified by:
      getGroups in interface com.sk89q.worldedit.util.auth.Subject
    • checkPermission

      public void checkPermission(String permission) throws com.sk89q.worldedit.util.auth.AuthorizationException
      Specified by:
      checkPermission in interface com.sk89q.worldedit.util.auth.Subject
      Throws:
      com.sk89q.worldedit.util.auth.AuthorizationException
    • hasPermission

      public boolean hasPermission(String permission)
      Specified by:
      hasPermission in interface com.sk89q.worldedit.util.auth.Subject
    • getSender

      public org.bukkit.command.BlockCommandSender getSender()
    • getSessionKey

      public com.sk89q.worldedit.session.SessionKey getSessionKey()
      Specified by:
      getSessionKey in interface com.sk89q.worldedit.session.SessionOwner