Uses of Interface
alexiil.mc.lib.multipart.api.event.ContextlessEvent
Package
Description
LibMultiPart's API.
-
Uses of ContextlessEvent in alexiil.mc.lib.multipart.api
Modifier and TypeClassDescriptionstatic class
Modifier and TypeMethodDescriptiondefault <E extends MultipartEvent & ContextlessEvent>
MultipartEventBus.ListenerInfo<E>MultipartEventBus.addContextlessListener(Object key, Class<E> clazz, Runnable listener)
Adds a listener for a specifiedMultipartEvent
that also implementsContextlessEvent
with aRunnable
.default <E extends MultipartEvent & ContextlessEvent>
MultipartEventBus.ListenerInfo<E>MultipartEventBus.addRunOnceListener(Object key, Class<E> clazz, Runnable listener)
Adds a listener for a specifiedMultipartEvent
that also implementsContextlessEvent
with aRunnable
. -
Uses of ContextlessEvent in alexiil.mc.lib.multipart.api.event
Modifier and TypeClassDescriptionstatic class
Fired inUnloadableBlockEntity.onChunkUnload()
.static class
Fired inBlockEntity.markRemoved()
static class
static class
Fired inBlockEntity.cancelRemoval()
class
Fired once per block entity tick.