public interface Actor extends Identifiable, SessionOwner, Subject
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDestroyBedrock()
Returns true if the actor can destroy bedrock.
|
void |
dispatchCUIEvent(CUIEvent event)
Send a CUI event.
|
String |
getName()
Get the name of the actor.
|
boolean |
isPlayer()
Return whether this actor is a player.
|
File |
openFileOpenDialog(String[] extensions)
Open a file open dialog.
|
File |
openFileSaveDialog(String[] extensions)
Open a file save dialog.
|
void |
print(String msg)
Print a WorldEdit message.
|
void |
printDebug(String msg)
Print a WorldEdit message.
|
void |
printError(String msg)
Print a WorldEdit error.
|
void |
printRaw(String msg)
Print a message.
|
getUniqueIdgetSessionKeycheckPermission, getGroups, hasPermissionString getName()
void printRaw(String msg)
msg - The message textvoid printDebug(String msg)
msg - The message textvoid print(String msg)
msg - The message textvoid printError(String msg)
msg - The error message textboolean canDestroyBedrock()
boolean isPlayer()
File openFileOpenDialog(String[] extensions)
extensions - null to allow allFile openFileSaveDialog(String[] extensions)
extensions - null to allow allvoid dispatchCUIEvent(CUIEvent event)
event - the eventCopyright © 2010-2014. All Rights Reserved.