NucleusChangeNicknameEvent.Pre
instead, this will
become a common interface to include Post in v2.0.@MightOccurAsync @Deprecated public interface NucleusChangeNicknameEvent extends org.spongepowered.api.event.Cancellable, org.spongepowered.api.event.user.TargetUserEvent
Modifier and Type | Interface and Description |
---|---|
static interface |
NucleusChangeNicknameEvent.Post
Deprecated.
|
static interface |
NucleusChangeNicknameEvent.Pre
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.spongepowered.api.text.Text |
getNewNickname()
Deprecated.
Use
getNickname() instead |
Optional<org.spongepowered.api.text.Text> |
getNickname()
Deprecated.
The new nickname, if any, for the
TargetUserEvent.getTargetUser() |
Optional<org.spongepowered.api.text.Text> |
getPreviousNickname()
Deprecated.
The previous nickname for the
TargetUserEvent.getTargetUser() |
Optional<org.spongepowered.api.text.Text> getPreviousNickname()
TargetUserEvent.getTargetUser()
@Deprecated org.spongepowered.api.text.Text getNewNickname()
getNickname()
insteadTargetUserEvent.getTargetUser()
Optional<org.spongepowered.api.text.Text> getNickname()
TargetUserEvent.getTargetUser()