Class ConsoleSender
java.lang.Object
net.minestom.server.command.ConsoleSender
- All Implemented Interfaces:
Audience, Identified, Pointered, CommandSender, Taggable, TagReadable, TagWritable
Represents the console when sending a command to the server.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionidentity()pointers()voidsendMessage(String message) Sends a raw string message.voidsendMessage(Identity source, Component message, MessageType type) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Audience
clearResourcePacks, clearTitle, closeDialog, 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, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, sendResourcePacks, sendResourcePacks, sendResourcePacks, sendTitlePart, showBossBar, showDialog, showTitle, stopSound, stopSoundMethods inherited from interface CommandSender
sendMessageMethods inherited from interface Pointered
get, getOrDefault, getOrDefaultFromMethods inherited from interface Taggable
getAndSetTag, getAndUpdateTag, getTag, hasTag, removeTag, setTag, updateAndGetTag, updateTag
-
Constructor Details
-
ConsoleSender
public ConsoleSender()
-
-
Method Details
-
sendMessage
Description copied from interface:CommandSenderSends a raw string message.- Specified by:
sendMessagein interfaceCommandSender- Parameters:
message- the message to send
-
sendMessage
- Specified by:
sendMessagein interfaceAudience
-
tagHandler
- Specified by:
tagHandlerin interfaceTaggable
-
identity
- Specified by:
identityin interfaceIdentified
-
pointers
-