Uses of Interface
alexiil.mc.lib.multipart.api.event.ContextlessEvent
Package | Description |
---|---|
alexiil.mc.lib.multipart.api |
LibMultiPart's API.
|
alexiil.mc.lib.multipart.api.event |
-
Uses of ContextlessEvent in alexiil.mc.lib.multipart.api
Classes in alexiil.mc.lib.multipart.api with type parameters of type ContextlessEvent Modifier and Type Class Description static class
MultipartEventBus.ContextlessListener<E extends MultipartEvent & ContextlessEvent>
Methods in alexiil.mc.lib.multipart.api with type parameters of type ContextlessEvent Modifier and Type Method Description default <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
Classes in alexiil.mc.lib.multipart.api.event that implement ContextlessEvent Modifier and Type Class Description static class
PartContainerState.ChunkUnload
static class
PartContainerState.Invalidate
Fired inBlockEntity.markRemoved()
static class
PartContainerState.Remove
static class
PartContainerState.Validate
Fired inBlockEntity.cancelRemoval()
class
PartTickEvent
Fired once per block entity tick.