This is a list of all events. It's possible that not all events are listed here, but this list will be updated regularly.
Click on event ID to open it's class and see information, fields and methods.
| ID |
Cancellable |
Type |
Available on Fabric |
init
No
Startup
Yes
postinit
No
Startup
Yes
loaded
No
Startup
Yes
command.registry
No
Server
Startup
Yes (Since 3.1)
command.run
Yes
Server
Yes (Since 3.1)
client.init
No
Client
Startup
Yes
client.debug_info.left
No
Client
Yes
client.debug_info.right
No
Client
Yes
client.logged_in
No
Client
Yes (Since 3.1)
client.logged_out
No
Client
Yes (Since 3.1)
client.tick
No
Client
Yes
server.load
No
Server
Startup
Yes (Since 3.1)
server.unload
No
Server
Yes (Since 3.1)
server.tick
No
Server
Yes
server.datapack.first
No
Server
Startup
Yes
server.datapack.last
No
Server
Startup
Yes
recipes
No
Server
Startup
Yes
world.load
No
Server
Yes
world.unload
No
Server
Yes
world.tick
No
Server
Yes
world.explosion.pre
Yes
Server
Yes (Since 3.1)
world.explosion.post
No
Server
Yes (Since 3.1)
player.logged_in
No
Server
Yes (Since 3.1)
player.logged_out
No
Server
Yes (Since 3.1)
player.tick
No
Server
Yes (Since 3.1)
player.data_from_server.
Yes
Client
Yes (Since 3.1)
player.data_from_client.
Yes
Server
Yes (Since 3.1)
player.chat
Yes
Server
Yes (Since 3.1)
player.advancement
No
Server
Yes (Since 3.1)
player.inventory.opened
No
Server
Yes (Since 3.1)
player.inventory.closed
No
Server
Yes (Since 3.1)
player.inventory.changed
No
Server
Yes (Since 3.1)
player.chest.opened
No
Server
Yes (Since 3.1)
player.chest.closed
No
Server
Yes (Since 3.1)
entity.death
Yes
Server
Yes (Since 3.1)
entity.attack
Yes
Server
Yes (Since 3.1)
entity.drops
Yes
Server
No
entity.check_spawn
Yes
Server
No
entity.spawned
Yes
Server
Yes (Since 3.1)
block.registry
No
Startup
Yes
block.missing_mappings
No
Server
Startup
No
block.tags
No
Server
Startup
Yes
block.right_click
Yes
Server
Yes
block.left_click
Yes
Server
Yes
block.place
Yes
Server
Yes (Since 3.1)
block.break
Yes
Server
Yes (Since 3.1)
block.drops
No
Server
No
item.registry
No
Startup
Yes
item.missing_mappings
No
Server
Startup
No
item.tags
No
Server
Startup
Yes
item.right_click
Yes
Server
Yes
item.right_click_empty
No
Server
Yes
item.left_click
No
Server
Yes
item.entity_interact
Yes
Server
Yesitem.modification
(SinceNo
3.1)Startup
item.pickup
Yes
Server
Yes
item.tooltip
No
Client
Yes
item.toss
Yes
Server
Yes
item.crafted
No
Server
Yes (Since 3.1)
item.smelted
No
Server
Yes
fluid.registry
No
Startup
No
fluid.tags
No
Server
Startup
Yes
entity_type.tags
No
Server
Yes
worldgen.add
No
Startup
Yes
worldgen.remove
No
Startup
Yes