Package net.luckperms.api.event.track
Interface TrackDeleteEvent
- All Superinterfaces:
LuckPermsEvent
Called when a track is deleted
-
Method Summary
Modifier and TypeMethodDescriptiongetCause()Gets the cause of the deletionGets an immutable copy of the tracks existing dataGets the name of the deleted trackMethods inherited from interface net.luckperms.api.event.LuckPermsEvent
getEventType, getLuckPerms
-
Method Details
-
getTrackName
Gets the name of the deleted track- Returns:
- the name of the deleted track
-
getExistingData
Gets an immutable copy of the tracks existing data- Returns:
- a copy of the tracks existing data
-
getCause
@NonNull DeletionCause getCause()Gets the cause of the deletion- Returns:
- the cause of the deletion
-