Package alexiil.mc.lib.multipart.api.event
-
Interface Summary Interface Description ContextlessEvent Marker interface forMultipartEvent
's that don't come with any context: for examplePartTickEvent
is a singleton, so you never care about anything about the event.EventListener<E> MultipartEventExternalListener<E extends MultipartEvent> -
Class Summary Class Description MultipartEvent The base class for all events that take place in aMultipartContainer
.NeighbourUpdateEvent Fired when a neighbouring block was updated.PartAddedEvent Fired whenever anAbstractPart
is added to aMultipartContainer
.PartContainerState Fired when the state of a container's block entity changes.PartContainerState.ChunkUnload PartContainerState.Invalidate Fired inBlockEntity.markRemoved()
PartContainerState.Remove PartContainerState.Validate Fired inBlockEntity.cancelRemoval()
PartEventEntityCollide PartListenerAdded<E extends MultipartEvent> Fired wheneverMultipartEventBus.addListener(Object, Class, EventListener)
is called.PartListenerRemoved<E extends MultipartEvent> Fired wheneverMultipartEventBus.removeListeners(Object)
is called.PartOfferedEvent PartRemovedEvent Fired after a part is removed from a container.PartTickEvent Fired once per block entity tick.