Interface ConsoleSender
-
- All Superinterfaces:
com.github.siroshun09.adventureextender.MessageReceivable
,Sender
public interface ConsoleSender extends Sender
Interface that represents a console.- See Also:
Sender
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONSOLE_NAME
the name of console.static UUID
CONSOLE_UUID
theUUID
of console.
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default @NotNull String
getName()
Gets the name of the command sender.default @NotNull UUID
getUUID()
Gets theUUID
of the command sender.-
Methods inherited from interface com.github.siroshun09.adventureextender.MessageReceivable
getAudience, sendColorizedMessage, sendColorizedMessage, sendMessage, sendMessage
-
Methods inherited from interface com.github.siroshun09.mccommand.common.sender.Sender
getOriginalSender, hasPermission, isConsole, isOnline
-
-
-
-
Field Detail
-
CONSOLE_UUID
static final UUID CONSOLE_UUID
theUUID
of console.
-
CONSOLE_NAME
static final String CONSOLE_NAME
the name of console.- See Also:
- Constant Field Values
-
-
Method Detail
-
getUUID
@NotNull default @NotNull UUID getUUID()
Gets theUUID
of the command sender.If it is internal sender, returns
CONSOLE_UUID
.
-
getName
@NotNull default @NotNull String getName()
Gets the name of the command sender.If it is internal sender, returns
CONSOLE_NAME
.
-
-