Package-level declarations

Types

Link copied to clipboard
class PreRebarBlockBreakEvent(val block: Block, val rebarBlock: RebarBlock, val context: BlockBreakContext) : Event, Cancellable

Called before a RebarBlock has been broken.

Link copied to clipboard
class PreRebarBlockPlaceEvent(val block: Block, val blockSchema: RebarBlockSchema, val context: BlockCreateContext) : Event, Cancellable

Called after the material of the block is set, but before the RebarBlock's constructor is called.

Link copied to clipboard

Called before two fluid points are connected.

Link copied to clipboard

Called before two fluid points are disconnected.

Link copied to clipboard
class RebarBlockBreakEvent(val block: Block, val rebarBlock: RebarBlock, val context: BlockBreakContext, val drops: MutableList<ItemStack>) : Event

Called after a RebarBlock has been broken.

Link copied to clipboard
class RebarBlockDeserializeEvent(val block: Block, val rebarBlock: RebarBlock, val pdc: PersistentDataContainer) : Event

Called after the rebarBlock has been deserialized.

Link copied to clipboard
class RebarBlockLoadEvent(val block: Block, val rebarBlock: RebarBlock) : Event

Called after the rebarBlock's load constructor is called.

Link copied to clipboard
class RebarBlockPlaceEvent(val block: Block, val rebarBlock: RebarBlock, val context: BlockCreateContext) : Event

Called after a RebarBlock has been placed.

Link copied to clipboard
class RebarBlockSerializeEvent(val block: Block, val rebarBlock: RebarBlock, val pdc: PersistentDataContainer, val debug: Boolean) : Event

Called after the rebarBlock is serialized. A block being serialized does not necessarily mean it is going to be unloaded.

Link copied to clipboard
class RebarBlockUnloadEvent(val block: Block, val rebarBlock: RebarBlock) : Event

Unloaded after the rebarBlock and its chunk have been unloaded.

Link copied to clipboard
class RebarBlockWailaEvent(player: Player, val block: Block, var display: WailaDisplay?) : PlayerEvent, Cancellable

Called when the players WAILA display is being generated for a targeted Block. This is called if and only if the player has WAILA enabled and the block already has a generated display.

Link copied to clipboard
class RebarCargoConnectEvent(val block1: RebarBlock, val block2: RebarBlock) : Event, Cancellable

Called before a CargoDuct or RebarCargoBlock connects to an adjacent CargoDuct or RebarCargoBlock

Link copied to clipboard
class RebarCargoDisconnectEvent(val block1: RebarBlock, val block2: RebarBlock) : Event

Called after a CargoDuct disconnects from an adjacent CargoDuct or RebarCargoBlock

Link copied to clipboard
class RebarChunkBlocksLoadEvent(val chunk: Chunk, val rebarBlocks: List<RebarBlock>) : Event

Called after the blocks in a chunk (but not the chunk itself) have been loaded.

Link copied to clipboard
class RebarChunkBlocksUnloadEvent(val chunk: Chunk, val rebarBlocks: List<RebarBlock>) : Event

Called after the rebarBlocks in a chunk (and the chunk itself) have been unloaded.

Link copied to clipboard

Called when all the configurable recipes are loaded

Link copied to clipboard
class RebarEntityAddEvent(val rebarEntity: RebarEntity<*>) : Event

Called when an entity is added to io.github.pylonmc.rebar.entity.EntityStorage, when this is called, the entity already spawned in the world. Also fired when an entity is loaded.

Link copied to clipboard
class RebarEntityDeathEvent(val rebarEntity: RebarEntity<*>, val event: EntityRemoveFromWorldEvent) : Event

Called when a RebarEntity is removed for any reason.

Link copied to clipboard
class RebarEntityDeserializeEvent(entity: Entity, val rebarEntity: RebarEntity<*>, val pdc: PersistentDataContainer) : EntityEvent
Link copied to clipboard
class RebarEntityLoadEvent(val rebarEntity: RebarEntity<*>) : Event

Called after a RebarEntity has been loaded.

Link copied to clipboard
class RebarEntitySerializeEvent(entity: Entity, val rebarEntity: RebarEntity<*>, val pdc: PersistentDataContainer) : EntityEvent
Link copied to clipboard
class RebarEntityUnloadEvent(val rebarEntity: RebarEntity<*>) : Event

Called after a RebarEntity has been unloaded. This includes the entity dying!

Link copied to clipboard
class RebarEntityWailaEvent(player: Player, val block: Entity, var display: WailaDisplay?) : PlayerEvent, Cancellable

Called when the players WAILA display is being generated for a targeted Entity. This is called if and only if the player has WAILA enabled and the entity already has a generated display.

Link copied to clipboard

Called after two VirtualFluidPoints have been connected.

Link copied to clipboard

Called after two VirtualFluidPoints have been disconnected.

Link copied to clipboard
class RebarMultiblockFormEvent(val block: Block, val rebarBlock: RebarBlock) : Event
Link copied to clipboard
class RebarMultiblockRefreshEvent(val block: Block, val rebarBlock: RebarBlock) : Event
Link copied to clipboard
class RebarMultiblockUnformEvent(val block: Block, val rebarBlock: RebarBlock) : Event
Link copied to clipboard
class RebarRegisterEvent(val registry: RebarRegistry<*>, val value: Keyed) : Event

Called when something is registered to a registry.

Link copied to clipboard
class RebarUnregisterEvent(val registry: RebarRegistry<*>, val value: Keyed) : Event

Called when something is unregistered from a registry.