Events List
Events
block_break
block_breakTriggered when you break a block with this item
attack
attackTriggered when you attack an entity with this item
kill
killTriggered when you kill an entity with this item
interact
interactTriggered when you interact...
(both mainhand and offhand trigger this event)
interact_mainhand
interact_mainhandTriggered when you interact...
(only mainhand triggers this event)
interact_offhand
interact_offhandTriggered when you interact...
(only offhand triggers this event)
drop
dropTriggered when you drop this item
pickup
pickupTriggered when you pickup this item
eat
eatTriggered when you eat this item
drink
drinkTriggered when you drink this item
bow_shot
bow_shotTriggered when you shot with this item (works only if it's a BOW)
gun_shot
gun_shotTriggered when you shot with this item (works only if this item has the gun behaviour)
gun_no_ammo
gun_no_ammoTriggered when you shot with this item and you have no ammo (works only if this item has the gun behaviour)
gun_reload
gun_reloadTriggered when you shot with this item and you reload (works only if this item has the gun behaviour)
book_write
book_writeTriggered when you write this book (works only if this item is a WRITABLE_BOOK)
book_read
book_readTriggered when you read this book (works only if this item is a WRITTEN_BOOK)
fishing_start
fishing_startTriggered when you start fishing with this item (works only if this item is a FISHING_ROD)
fishing_caught
fishing_caughtTriggered when you get a fish with this item (works only if this item is a FISHING_ROD)
fishing_failed
fishing_failedTriggered when you fail fishing with this item (works only if this item is a FISHING_ROD)
fishing_cancel
fishing_cancelTriggered when you cancel fishing with this item (works only if this item is a FISHING_ROD)
fishing_bite
fishing_biteTriggered when a fish bites the hook of this item (works only if this item is a FISHING_ROD)
fishing_in_ground
fishing_in_groundTriggered when the hook of this item hits the ground (works only if this item is a FISHING_ROD)
wear
wearTriggered when you wear this item
unwear
unwearTriggered when you unwear this item
held
heldTriggered when you held this item in mainhand
held_offhand
held_offhandTriggered when you held this item in offhand
unheld
unheldTriggered when you unheld this item from mainhand
unheld_offhand
unheld_offhandTriggered when you unheld this item from offhand
item_throw
item_throwTriggered when you throw this item (works only with ARROW material and throwable items like SNOWBALL, ENDER_PEARL...)
item_hit_ground
item_hit_groundTriggered when this item hits the ground after you have thrown it (works only with ARROW material and throwable items like SNOWBALL, ENDER_PEARL...)
item_hit_entity
item_hit_entityTriggered when this item hits an entity after you have thrown it (works only with ARROW material and throwable items like SNOWBALL, ENDER_PEARL...)
item_break
item_breakTriggered when an item is broken (has 0 durability and disappears)
bucket_empty
bucket_emptyTriggered when this bucket is empty (works only with WATER_BUCKET and MILK_BUCKET)
bucket_fill
bucket_fillTriggered when this bucket is filled (works only with BUCKET)
Last updated
Was this helpful?