public class NukkitPlayerCMDSender extends NukkitCMDSender
Constructor and Description |
---|
NukkitPlayerCMDSender(cn.nukkit.Player player) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
ChatFormatter |
getFormatter() |
java.util.Optional<java.lang.String> |
getPlayerName() |
java.util.Optional<java.util.UUID> |
getUUID() |
int |
hashCode() |
buildMessage, hasPermission, send
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
hasAllPermissionsFor, hasPermission, isMissingPermissionsFor, isPlayer, send, supportsChatEvents
public java.util.Optional<java.lang.String> getPlayerName()
getPlayerName
in interface CMDSender
getPlayerName
in class NukkitCMDSender
public java.util.Optional<java.util.UUID> getUUID()
getUUID
in interface CMDSender
getUUID
in class NukkitCMDSender
public ChatFormatter getFormatter()
getFormatter
in interface CMDSender
getFormatter
in class NukkitCMDSender
public boolean equals(java.lang.Object o)
equals
in class NukkitCMDSender
public int hashCode()
hashCode
in class NukkitCMDSender