public abstract class AbstractNonPlayerActor extends java.lang.Object implements Actor
Constructor and Description |
---|
AbstractNonPlayerActor() |
Modifier and Type | Method and Description |
---|---|
boolean |
canDestroyBedrock()
Returns true if the actor can destroy bedrock.
|
void |
dispatchCUIEvent(CUIEvent event)
Send a CUI event.
|
boolean |
isPlayer()
Return whether this actor is a player.
|
java.io.File |
openFileOpenDialog(java.lang.String[] extensions)
Open a file open dialog.
|
java.io.File |
openFileSaveDialog(java.lang.String[] extensions)
Open a file save dialog.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName, getName, print, print, printDebug, printError, printRaw
getUniqueId
getSessionKey
checkPermission, getGroups, hasPermission
public boolean canDestroyBedrock()
Actor
canDestroyBedrock
in interface Actor
public boolean isPlayer()
Actor
public java.io.File openFileOpenDialog(java.lang.String[] extensions)
Actor
openFileOpenDialog
in interface Actor
extensions
- null to allow allpublic java.io.File openFileSaveDialog(java.lang.String[] extensions)
Actor
openFileSaveDialog
in interface Actor
extensions
- null to allow allpublic void dispatchCUIEvent(CUIEvent event)
Actor
dispatchCUIEvent
in interface Actor
event
- the event