Package net.luckperms.api.event.track
Interface TrackDeleteEvent
-
- All Superinterfaces:
LuckPermsEvent
public interface TrackDeleteEvent extends LuckPermsEvent
Called when a track is deleted
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull DeletionCausegetCause()Gets the cause of the deletion@NonNull List<String>getExistingData()Gets an immutable copy of the tracks existing data@NonNull StringgetTrackName()Gets the name of the deleted track-
Methods inherited from interface net.luckperms.api.event.LuckPermsEvent
getEventType, getLuckPerms
-
-
-
-
Method Detail
-
getTrackName
@NonNull String getTrackName()
Gets the name of the deleted track- Returns:
- the name of the deleted track
-
getExistingData
@NonNull List<String> 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
-
-