@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 |
|---|---|
java.util.Optional<java.util.UUID> |
getAuthor()
Gets the
UUID of the player who added the note,
or an Optional.empty() if it was not a player. |
java.time.Instant |
getDate()
Gets the
Instant the note was created. |
java.lang.String |
getNote()
The note.
|
org.spongepowered.api.entity.living.player.User |
getTargetUser()
The subject of the note.
|
java.util.Optional<java.util.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.java.time.Instant getDate()
Instant the note was created.java.lang.String getNote()
org.spongepowered.api.entity.living.player.User getTargetUser()
getTargetUser in interface org.spongepowered.api.event.user.TargetUserEventUser