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(java.lang.Object key, java.lang.Class<E> clazz, java.lang.Runnable listener)
Adds a listener for a specifiedMultipartEvent
that also implementsContextlessEvent
with aRunnable
.default <E extends MultipartEvent & ContextlessEvent>
MultipartEventBus.ListenerInfo<E>MultipartEventBus. addRunOnceListener(java.lang.Object key, java.lang.Class<E> clazz, java.lang.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
Fired inAbstractBlock.onStateReplaced(BlockState, World, BlockPos, BlockState, boolean)
static class
PartContainerState.Validate
Fired inBlockEntity.cancelRemoval()
class
PartTickEvent
Fired once per block entity tick.