Package net.luckperms.api.event.type
Interface Sourced
- All Known Subinterfaces:
UserDemoteEvent,UserPromoteEvent,UserTrackEvent
public interface Sourced
Represents an event with a
Source.-
Method Summary
-
Method Details
-
getSource
Gets the events source.Never returns null. In situations where the source is unknown, a
Sourcewith typeSource.Type.UNKNOWNis returned.- Returns:
- the source
-