Interface TrackMutateEvent
- All Superinterfaces:
LuckPermsEvent
- All Known Subinterfaces:
TrackAddGroupEvent,TrackClearEvent,TrackRemoveGroupEvent
Called when a track is changed
-
Method Summary
Modifier and TypeMethodDescriptionGets an immutable copy of the tracks data after the changeGets an immutable copy of the tracks data before the changegetTrack()Gets the track that was mutatedMethods inherited from interface net.luckperms.api.event.LuckPermsEvent
getEventType, getLuckPerms
-
Method Details
-
getTrack
Gets the track that was mutated- Returns:
- the track that was mutated
-
getStateBefore
@NonNull @Unmodifiable List<String> getStateBefore()Gets an immutable copy of the tracks data before the change- Returns:
- the data before the change
-
getStateAfter
@NonNull @Unmodifiable List<String> getStateAfter()Gets an immutable copy of the tracks data after the change- Returns:
- the data after the change
-