Interface TrackMutateEvent
-
- All Superinterfaces:
LuckPermsEvent
- All Known Subinterfaces:
TrackAddGroupEvent,TrackClearEvent,TrackRemoveGroupEvent
public interface TrackMutateEvent extends LuckPermsEvent
Called when a track is changed
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull @Unmodifiable List<String>getStateAfter()Gets an immutable copy of the tracks data after the change@NonNull @Unmodifiable List<String>getStateBefore()Gets an immutable copy of the tracks data before the change@NonNull TrackgetTrack()Gets the track that was mutated-
Methods inherited from interface net.luckperms.api.event.LuckPermsEvent
getEventType, getLuckPerms
-
-
-
-
Method Detail
-
getTrack
@NonNull Track 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
-
-