Interface CommandSender
- All Superinterfaces:
Audience, PermissionHolder, Pointered
- All Known Subinterfaces:
Player
Represents an object that can be used to run
Commands.
This is intentionally separated from CommandSource due to the possibility of it not matching the CommandSender
when the executor was changed using the /execute command for example.-
Method Summary
Methods inherited from interface Audience
clearResourcePacks, clearTitle, closeDialog, deleteMessage, deleteMessage, filterAudience, forEachAudience, hideBossBar, openBook, openBook, openBook, playSound, playSound, playSound, removeResourcePacks, removeResourcePacks, removeResourcePacks, removeResourcePacks, removeResourcePacks, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, sendResourcePacks, sendResourcePacks, sendResourcePacks, sendTitlePart, showBossBar, showDialog, showTitle, stopSound, stopSoundMethods inherited from interface PermissionHolder
activeOverrides, hasPermission, hasPermission, invalidatePermissions, isOperator, isPermissionDecided, newGrant, permissionState, permissionState, setOperatorMethods inherited from interface Pointered
get, getOrDefault, getOrDefaultFrom, pointers
-
Method Details
-
name
String name()
-