Package com.sk89q.worldedit.sponge
Class SpongeBlockCommandSender
java.lang.Object
com.sk89q.worldedit.extension.platform.AbstractNonPlayerActor
com.sk89q.worldedit.extension.platform.AbstractCommandBlockActor
com.sk89q.worldedit.sponge.SpongeBlockCommandSender
- 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 SpongeBlockCommandSender
extends com.sk89q.worldedit.extension.platform.AbstractCommandBlockActor
-
Field Summary
Fields inherited from class com.sk89q.worldedit.extension.platform.AbstractCommandBlockActor
UUID_PREFIX
-
Constructor Summary
ConstructorsConstructorDescriptionSpongeBlockCommandSender
(SpongeWorldEdit worldEdit, org.spongepowered.api.block.entity.CommandBlock sender) -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkPermission
(String permission) String[]
getName()
org.spongepowered.api.block.entity.CommandBlock
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.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
-
SpongeBlockCommandSender
public SpongeBlockCommandSender(SpongeWorldEdit worldEdit, org.spongepowered.api.block.entity.CommandBlock sender)
-
-
Method Details
-
getName
-
printRaw
Deprecated. -
print
Deprecated. -
printDebug
Deprecated. -
printError
Deprecated. -
print
public void print(com.sk89q.worldedit.util.formatting.text.Component component) -
getLocale
-
getUniqueId
-
getGroups
-
checkPermission
public void checkPermission(String permission) throws com.sk89q.worldedit.util.auth.AuthorizationException - Throws:
com.sk89q.worldedit.util.auth.AuthorizationException
-
hasPermission
-
getSender
public org.spongepowered.api.block.entity.CommandBlock getSender() -
getSessionKey
public com.sk89q.worldedit.session.SessionKey getSessionKey()
-