Package net.minestom.server.command
Class ServerSender
java.lang.Object
net.minestom.server.command.ServerSender
- All Implemented Interfaces:
Audience
,Identified
,Pointered
,CommandSender
,Taggable
,TagReadable
,TagWritable
Sender used in
CommandManager.executeServerCommand(String)
.
Although this class implemented CommandSender
and thus Audience
, no
data can be sent to this sender because it's purpose is to process the data of
CommandContext.getReturnData()
.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.kyori.adventure.audience.Audience
clearResourcePacks, clearTitle, deleteMessage, deleteMessage, filterAudience, forEachAudience, hideBossBar, openBook, openBook, playSound, playSound, playSound, removeResourcePacks, removeResourcePacks, removeResourcePacks, removeResourcePacks, removeResourcePacks, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, sendResourcePacks, sendResourcePacks, sendResourcePacks, sendTitlePart, showBossBar, showTitle, stopSound, stopSound
Methods inherited from interface net.minestom.server.command.CommandSender
asConsole, asPlayer, isConsole, isPlayer, sendMessage, sendMessage
Methods inherited from interface net.kyori.adventure.pointer.Pointered
get, getOrDefault, getOrDefaultFrom, pointers
Methods inherited from interface net.minestom.server.tag.Taggable
getAndSetTag, getAndUpdateTag, getTag, hasTag, removeTag, setTag, updateAndGetTag, updateTag
-
Constructor Details
-
ServerSender
public ServerSender()
-
-
Method Details
-
tagHandler
- Specified by:
tagHandler
in interfaceTaggable
-
identity
- Specified by:
identity
in interfaceIdentified
-