@MightOccurAsync public interface NucleusNoteEvent extends org.spongepowered.api.event.user.TargetUserEvent
Modifier and Type | Interface and Description |
---|---|
static interface |
NucleusNoteEvent.Created
Event that is fired when a note is created.
|
Modifier and Type | Method and Description |
---|---|
Optional<UUID> |
getAuthor()
Gets the
UUID of the player who added the note,
or an Optional.empty() if it was not a player. |
Instant |
getDate()
Gets the
Instant the note was created. |
String |
getNote()
The note.
|
org.spongepowered.api.entity.living.player.User |
getTargetUser()
The subject of the note.
|
Optional<UUID> getAuthor()
UUID
of the player who added the note,
or an Optional.empty()
if it was not a player.UUID
of the player, if any.Instant getDate()
Instant
the note was created.String getNote()
org.spongepowered.api.entity.living.player.User getTargetUser()
getTargetUser
in interface org.spongepowered.api.event.user.TargetUserEvent
User