Package net.luckperms.api.event.type
Interface Sourced
-
- All Known Subinterfaces:
UserDemoteEvent,UserPromoteEvent,UserTrackEvent
public interface SourcedRepresents an event with aSource.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull SourcegetSource()Gets the events source.
-
-
-
Method Detail
-
getSource
@NonNull Source getSource()
Gets the events source.Never returns null. In situations where the source is unknown, a
Sourcewith typeSource.Type.UNKNOWNis returned.- Returns:
- the source
-
-