Package com.sk89q.worldedit.bukkit
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 Summary
ConstructorDescriptionBukkitBlockCommandSender
(WorldEditPlugin plugin, org.bukkit.command.BlockCommandSender sender) -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkPermission
(String permission) com.sk89q.worldedit.extent.Extent
String[]
com.sk89q.worldedit.util.Location
getName()
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
printDebug
(String msg) Deprecated.void
printError
(String msg) Deprecated.void
Deprecated.boolean
setLocation
(com.sk89q.worldedit.util.Location location) 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
- Specified by:
getName
in interfacecom.sk89q.worldedit.extension.platform.Actor
-
printRaw
Deprecated.- Specified by:
printRaw
in interfacecom.sk89q.worldedit.extension.platform.Actor
-
print
Deprecated.- Specified by:
print
in interfacecom.sk89q.worldedit.extension.platform.Actor
-
printDebug
Deprecated.- Specified by:
printDebug
in interfacecom.sk89q.worldedit.extension.platform.Actor
-
printError
Deprecated.- Specified by:
printError
in interfacecom.sk89q.worldedit.extension.platform.Actor
-
print
public void print(com.sk89q.worldedit.util.formatting.text.Component component) - Specified by:
print
in interfacecom.sk89q.worldedit.extension.platform.Actor
-
getLocale
- Specified by:
getLocale
in interfacecom.sk89q.worldedit.extension.platform.Actor
-
getLocation
public com.sk89q.worldedit.util.Location getLocation()- Specified by:
getLocation
in interfacecom.sk89q.worldedit.extension.platform.Locatable
-
setLocation
public boolean setLocation(com.sk89q.worldedit.util.Location location) - Specified by:
setLocation
in interfacecom.sk89q.worldedit.extension.platform.Locatable
-
getExtent
public com.sk89q.worldedit.extent.Extent getExtent()- Specified by:
getExtent
in interfacecom.sk89q.worldedit.extension.platform.Locatable
-
getUniqueId
- Specified by:
getUniqueId
in interfacecom.sk89q.worldedit.util.Identifiable
-
getGroups
- Specified by:
getGroups
in interfacecom.sk89q.worldedit.util.auth.Subject
-
checkPermission
public void checkPermission(String permission) throws com.sk89q.worldedit.util.auth.AuthorizationException - Specified by:
checkPermission
in interfacecom.sk89q.worldedit.util.auth.Subject
- Throws:
com.sk89q.worldedit.util.auth.AuthorizationException
-
hasPermission
- Specified by:
hasPermission
in interfacecom.sk89q.worldedit.util.auth.Subject
-
getSender
public org.bukkit.command.BlockCommandSender getSender() -
getSessionKey
public com.sk89q.worldedit.session.SessionKey getSessionKey()- Specified by:
getSessionKey
in interfacecom.sk89q.worldedit.session.SessionOwner
-