1.8 KiB
1.8 KiB
title
title |
---|
net.axay.kspigot.extensions.events - |
//KSpigot/net.axay.kspigot.extensions.events
Package net.axay.kspigot.extensions.events
Functions
Name | Summary |
---|---|
cancel | [jvm] Brief description "Cancels" this event by setting the result to Material.AIR. Content fun PrepareItemCraftEvent.cancel() |
Properties
Name | Summary |
---|---|
clickedBlockExceptAir | [jvm] val PlayerInteractEvent.clickedBlockExceptAir: Block? |
interactItem | [jvm] Returns the item used in the interaction with the use of the EquipmentSlot returned by the value PlayerInteractEntityEvent.hand. val PlayerInteractEntityEvent.interactItem: ItemStack? |
isCancelled | [jvm] Checks if the event is "cancelled" by returning if the material of the result is equal to Material.AIR. val PrepareItemCraftEvent.isCancelled: Boolean |