@MightOccurAsync public interface NucleusChangeNicknameEvent extends org.spongepowered.api.event.Event
Ensure that you listen for NucleusChangeNicknameEvent.Pre
or NucleusChangeNicknameEvent.Post
, rather than this
base event.
Modifier and Type | Interface and Description |
---|---|
static interface |
NucleusChangeNicknameEvent.Post |
static interface |
NucleusChangeNicknameEvent.Pre |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<org.spongepowered.api.text.Text> |
getNickname()
The new nickname, if any, for the
getUser() |
java.util.Optional<org.spongepowered.api.text.Text> |
getPreviousNickname()
The previous nickname for the
getUser() |
org.spongepowered.api.entity.living.player.User |
getUser()
The user whose nickname was changed.
|
org.spongepowered.api.entity.living.player.User getUser()
User
java.util.Optional<org.spongepowered.api.text.Text> getPreviousNickname()
getUser()
java.util.Optional<org.spongepowered.api.text.Text> getNickname()
getUser()