Package-level declarations

Types

Link copied to clipboard
class BlockDestroyEvent(val pos: BlockPos, val side: EnumFacing, val state: IBlockState) : Event
Link copied to clipboard
class BlockStateChangeEvent(val pos: BlockPos, val oldState: IBlockState, val newState: IBlockState) : Event
Link copied to clipboard
open class ClickEvent : Event
Link copied to clipboard
class ClipFinishEvent : Event

Fired when a clip chain is finished.

Link copied to clipboard
class ContainerKeyTypedEvent(val keyCode: Int) : Event
Link copied to clipboard
class ContainerMouseClickedEvent(val mouseX: Int, val mouseY: Int, val mouseButton: Int) : Event
Link copied to clipboard
class DrawContainerEvent(val mouseX: Int, val mouseY: Int) : Event
Link copied to clipboard
class DrawContainerLastEvent(val mouseX: Int, val mouseY: Int) : Event
Link copied to clipboard
class DungeonEndEvent : Event

Fired in Dungeon.onChat when the "> EXTRA STATS <" message is received.

Link copied to clipboard
class DungeonRoomStateChangeEvent(val tile: Tile, val newState: RoomState) : Event

Posted in MapUpdate.updateRooms right before the state of a Tile is changed. The old state is still contained in tile as Tile.state.

Link copied to clipboard
class DungeonSecretEvent : Event

Fired when a secret is picked up in dungeons. Currently gets fired whenever SecretChime plays its sound.

Link copied to clipboard
class EntityRemovedEvent(val entity: Entity) : Event

Fired when an entity is removed from the world.

Link copied to clipboard
class ExplosionHandledEvent(val packet: S27PacketExplosion) : Event

Gets fired right before the momentum of an S27 is handled by the net handler.

Link copied to clipboard
open class GuiContainerEvent(val container: Container, val gui: GuiContainer) : Event
Link copied to clipboard
class PacketSentEvent(val packet: Packet<*>) : Event
Link copied to clipboard
class PlaySoundEventPre(val p_sound: ISound) : Event
Link copied to clipboard
open class PositionUpdateEvent(var x: Double, var y: Double, var z: Double, var yaw: Float, var pitch: Float, var onGround: Boolean, var sprinting: Boolean, var sneaking: Boolean) : Event
Link copied to clipboard
class PreKeyInputEvent(val key: Int, val character: Char) : Event

This event is mixed in to fire before the vanilla key binds are evaluated. The forge event fires after those.

Link copied to clipboard
class PreMouseInputEvent(val button: Int) : Event

This event is mixed in to fire before the vanilla key binds are evaluated. The forge event fires after those.

Link copied to clipboard
class ReceiveChatPacketEvent(val packet: S02PacketChat) : Event
Link copied to clipboard
class ReceivePacketEvent(val packet: Packet<*>) : Event
Link copied to clipboard
class RenderLivingEntityEvent(var entity: EntityLivingBase, var p_77036_2_: Float, var p_77036_3_: Float, var p_77036_4_: Float, var p_77036_5_: Float, var p_77036_6_: Float, var scaleFactor: Float, var modelBase: ModelBase) : Event
Link copied to clipboard
class RoomChangeEvent(val newRoomPair: Pair<Room, Int>?, val oldRoomPair: Pair<Room, Int>?) : Event

Fired in Dungeon.onTick whenever the room is changed.

Link copied to clipboard
class TeleportEventPost(val packet: S08PacketPlayerPosLook) : Event
Link copied to clipboard
class TeleportEventPre(val packet: S08PacketPlayerPosLook) : Event

Gets called upon receiving a S08PacketPlayerPosLook packet

Link copied to clipboard
class VelocityUpdateEvent(val packet: S12PacketEntityVelocity) : Event