Interface ContextlessEvent
- All Known Implementing Classes:
PartContainerState.ChunkUnload
,PartContainerState.Invalidate
,PartContainerState.Remove
,PartContainerState.Validate
,PartPostTransformEvent
,PartPreTransformEvent
,PartRandomDisplayTickEvent
,PartRandomTickEvent
,PartScheduledTickEvent
,PartTickEvent
public interface ContextlessEvent
Marker interface for
MultipartEvent
's that don't come with any context: for example PartTickEvent
is
a singleton, so you never care about anything about the event. (As such it is highly recommended that every class
that implements this is also final, as listeners won't know which subclass of this it is). MultipartEvent's that
implement this interface can be listened to via a Runnable
instead of an EventListener
in
MultipartEventBus.addContextlessListener(Object, Class, Runnable)