Package alexiil.mc.lib.multipart.api.event
package alexiil.mc.lib.multipart.api.event
-
InterfaceDescriptionMarker interface for
MultipartEvent
's that don't come with any context: for examplePartTickEvent
is a singleton, so you never care about anything about the event.MultipartEventExternalListener<E extends MultipartEvent> -
ClassDescriptionThe base class for all events that take place in a
MultipartContainer
.Fired when a neighbouring block was updated.Fired whenever anAbstractPart
is added to aMultipartContainer
.Fired when the state of a container's block entity changes.Fired inUnloadableBlockEntity.onChunkUnload()
.Fired inBlockEntity.markRemoved()
Fired inBlockEntity.cancelRemoval()
PartListenerAdded<E extends MultipartEvent>Fired wheneverMultipartEventBus.addListener(Object, Class, EventListener)
is called.PartListenerRemoved<E extends MultipartEvent>Fired wheneverMultipartEventBus.removeListeners(Object)
is called.Fired once per precipitation tick.Fired once per random display tick.Fired once per random tick.Fired after a part is removed from a container.Fired once per scheduled tick.Fired once per block entity tick.