Package-level declarations

Functions

Link copied to clipboard
fun ItemStack.craftItemEvent(action: CraftItemEvent.() -> Unit = {})

Custom Interaction Method for the CraftItemEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Player.onBlockBreak(callback: BlockBreakEvent.() -> Unit)

Custom Interaction Method for the BlockBreakEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Player.onBlockPlace(callback: BlockPlaceEvent.() -> Unit)

Custom Interaction Method for the BlockPlaceEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Player.onChat(callback: AsyncChatEvent.() -> Unit)

Custom Interaction Method for the AsyncChatEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Inventory.onClick(callback: InventoryClickEvent.() -> Unit)

Custom Interaction Method for the InventoryClickEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Inventory.onClose(callback: InventoryCloseEvent.() -> Unit)

Custom Interaction Method for the InventoryCloseEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Entity.onDamage(callback: EntityDamageEvent.() -> Unit)

Custom Interaction Method for the EntityDamageEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Entity.onDamageByBlock(callback: EntityDamageByBlockEvent.() -> Unit)

Custom Interaction Method for the EntityDamageByBlockEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Entity.onDamageByEntity(callback: EntityDamageByEntityEvent.() -> Unit)

Custom Interaction Method for the EntityDamageByEntityEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Entity.onDeath(callback: EntityDeathEvent.() -> Unit)

Custom Interaction Method for the EntityDeathEvent. Register SmartEvents and use the Event Manager.

fun Player.onDeath(callback: PlayerDeathEvent.() -> Unit)

Custom Interaction Method for the PlayerDeathEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Player.onDrop(callback: PlayerDropItemEvent.() -> Unit)

Custom Interaction Method for the PlayerDropItemEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Player.onInteractEntity(callback: PlayerInteractAtEntityEvent.() -> Unit)

Custom Interaction Method for the PlayerInteractAtEntityEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Player.onInventoryClick(callback: InventoryClickEvent.() -> Unit)

Custom Interaction Method for the InventoryClickEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Player.onInventoryClose(callback: InventoryCloseEvent.() -> Unit)

Custom Interaction Method for the InventoryCloseEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Entity.onItemDamage(callback: EntityDamageItemEvent.() -> Unit)

Custom Interaction Method for the EntityDamageItemEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Player.onItemSwap(callback: PlayerSwapHandItemsEvent.() -> Unit)

Custom Interaction Method for the PlayerSwapHandItemsEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Player.onJoin(callback: PlayerJoinEvent.() -> Unit)

Custom Interaction Method for the PlayerJoinEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Player.onMove(callback: PlayerMoveEvent.() -> Unit)

Custom Interaction Method for the PlayerMoveEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Entity.onPickUp(callback: EntityPickupItemEvent.() -> Unit)

Custom Interaction Method for the EntityPickupItemEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Player.onQuit(callback: PlayerQuitEvent.() -> Unit)

Custom Interaction Method for the PlayerQuitEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Inventory.onSlotClick(slot: Int, callback: InventoryClickEvent.() -> Unit)

Custom Interaction Method for the InventoryClickEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun Display.playerInteractEntityEvent(interactionHeight: Float?, interactionWidth: Float?, action: PlayerInteractEntityEvent.() -> Unit = {})

Custom Interaction Method for the PlayerInteractEntityEvent. Register SmartEvents and use the Event Manager.

Link copied to clipboard
fun ItemStack.playerInteractEvent(action: PlayerInteractEvent.() -> Unit = {})

Custom Interaction Method for the PlayerInteractEvent. Register SmartEvents and use the Event Manager.