Class BukkitBlockCommandSender

java.lang.Object
com.sk89q.worldedit.extension.platform.AbstractNonPlayerActor
com.sk89q.worldedit.extension.platform.AbstractCommandBlockActor
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.AbstractCommandBlockActor
  • Field Summary

    Fields inherited from class com.sk89q.worldedit.extension.platform.AbstractCommandBlockActor

    UUID_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
    BukkitBlockCommandSender(WorldEditPlugin plugin, org.bukkit.command.BlockCommandSender sender)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    checkPermission(String permission)
     
     
     
     
    org.bukkit.command.BlockCommandSender
     
    com.sk89q.worldedit.session.SessionKey
     
     
    boolean
    hasPermission(String permission)
     
    void
    print(com.sk89q.worldedit.util.formatting.text.Component component)
     
    void
    Deprecated.
    void
    Deprecated.
    void
    Deprecated.
    void
    Deprecated.

    Methods inherited from class com.sk89q.worldedit.extension.platform.AbstractCommandBlockActor

    getExtent, getLocation, setLocation

    Methods inherited from class com.sk89q.worldedit.extension.platform.AbstractNonPlayerActor

    canDestroyBedrock, dispatchCUIEvent, isPlayer, openFileOpenDialog, openFileSaveDialog

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.sk89q.worldedit.extension.platform.Actor

    getDisplayName, printDebug, printError, printInfo, sendAnnouncements

    Methods inherited from interface com.sk89q.worldedit.extension.platform.Locatable

    getBlockLocation, setPosition, trySetPosition
  • Constructor Details

    • BukkitBlockCommandSender

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

    • getName

      public String getName()
    • printRaw

      @Deprecated public void printRaw(String msg)
      Deprecated.
    • print

      @Deprecated public void print(String msg)
      Deprecated.
    • printDebug

      @Deprecated public void printDebug(String msg)
      Deprecated.
    • printError

      @Deprecated public void printError(String msg)
      Deprecated.
    • print

      public void print(com.sk89q.worldedit.util.formatting.text.Component component)
    • getLocale

      public Locale getLocale()
    • getUniqueId

      public UUID getUniqueId()
    • getGroups

      public String[] getGroups()
    • checkPermission

      public void checkPermission(String permission) throws com.sk89q.worldedit.util.auth.AuthorizationException
      Throws:
      com.sk89q.worldedit.util.auth.AuthorizationException
    • hasPermission

      public boolean hasPermission(String permission)
    • getSender

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

      public com.sk89q.worldedit.session.SessionKey getSessionKey()