Interface TrackMutateEvent

All Superinterfaces:
LuckPermsEvent
All Known Subinterfaces:
TrackAddGroupEvent, TrackClearEvent, TrackRemoveGroupEvent

public interface TrackMutateEvent extends LuckPermsEvent
Called when a track is changed
  • Method Details

    • 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