11# Event List
2- ## ` ClientInputEvent `
3- This event is dispatched when player uses movement input
4-
5- Event is cancellable: ` false `
6-
7- Fields:
8- - backward: ` boolean `
9- - forward: ` boolean `
10- - jump: ` boolean `
11- - left: ` boolean `
12- - player: ` Player `
13- - right: ` boolean `
14- - shift: ` boolean `
15- - sprint: ` boolean `
16-
172## ` ClientTickEndEvent `
183This event is dispatched when the current tick of client ends executing
194
@@ -61,6 +46,24 @@ Event is cancellable: `true`
6146Fields:
6247- entity: ` Entity `
6348
49+ ## ` EntityDismountVehicleEvent `
50+ This event is dispatched when player tries to dismount from a vehicle
51+
52+ Event is cancellable: ` true `
53+
54+ Fields:
55+ - passenger: ` Entity `
56+ - vehicle: ` Entity `
57+
58+ ## ` EntityRideVehicleEvent `
59+ This event is dispatched when player tries to mount an vehicle
60+
61+ Event is cancellable: ` true `
62+
63+ Fields:
64+ - passenger: ` Entity `
65+ - vehicle: ` Entity `
66+
6467## ` EntityViewerAddEvent `
6568This event is dispatched when viewer is added to an entity viewer list
6669
@@ -94,7 +97,7 @@ This event is dispatched when group or item cooldown ends for a player
9497Event is cancellable: ` false `
9598
9699Fields:
97- - cooldown: ` Player$ ItemGroupCooldown`
100+ - cooldown: ` ItemGroupCooldown `
98101- player: ` Player `
99102
100103## ` ItemGroupCooldownStartEvent `
@@ -103,7 +106,7 @@ This event is dispatched when group or item cooldown starts for a player
103106Event is cancellable: ` true `
104107
105108Fields:
106- - cooldown: ` Player$ ItemGroupCooldown`
109+ - cooldown: ` ItemGroupCooldown `
107110- player: ` Player `
108111
109112## ` PacketReceivedEvent `
@@ -168,6 +171,16 @@ Fields:
168171- location: ` Location `
169172- player: ` Player `
170173
174+ ## ` PlayerCancelledDiggingEvent `
175+ This event is dispatched when player cancels digging of a block
176+
177+ Event is cancellable: ` false `
178+
179+ Fields:
180+ - block: ` Block `
181+ - location: ` Location `
182+ - player: ` Player `
183+
171184## ` PlayerChangeWorldEvent `
172185This event is dispatched when player changes worlds
173186
@@ -273,8 +286,8 @@ This event is dispatched when player enters new chunk
273286Event is cancellable: ` false `
274287
275288Fields:
276- - chunk : ` Chunk ?`
277- - chunkIndex : ` long `
289+ - newChunkPos : ` ChunkPos ?`
290+ - oldChunkPos : ` ChunkPos `
278291- player: ` Player `
279292
280293## ` PlayerEquipEvent `
@@ -287,6 +300,16 @@ Fields:
287300- player: ` Player `
288301- slot: ` EquipmentSlot `
289302
303+ ## ` PlayerFinishedDiggingEvent `
304+ This event is dispatched when player finishes digging a block
305+
306+ Event is cancellable: ` false `
307+
308+ Fields:
309+ - block: ` Block `
310+ - location: ` Location `
311+ - player: ` Player `
312+
290313## ` PlayerFlightToggleEvent `
291314This event is dispatched when player toggles flight
292315
@@ -317,6 +340,21 @@ Fields:
317340- interactionHand: ` PlayerHand `
318341- player: ` Player `
319342
343+ ## ` PlayerIputEvent `
344+ This event is dispatched when player uses movement input
345+
346+ Event is cancellable: ` false `
347+
348+ Fields:
349+ - backward: ` boolean `
350+ - forward: ` boolean `
351+ - jump: ` boolean `
352+ - left: ` boolean `
353+ - player: ` Player `
354+ - right: ` boolean `
355+ - shift: ` boolean `
356+ - sprint: ` boolean `
357+
320358## ` PlayerJoinEvent `
321359This event is dispatched when player enters the PLAY phase
322360
@@ -359,6 +397,7 @@ This event is dispatched when player respawns after dying
359397Event is cancellable: ` false `
360398
361399Fields:
400+ - isBecauseOfDeath: ` boolean `
362401- player: ` Player `
363402
364403## ` PlayerRightClickWithItemEvent `
@@ -414,6 +453,26 @@ Fields:
414453- player: ` Player `
415454- sprinting: ` boolean `
416455
456+ ## ` PlayerStartDiggingBlockEvent `
457+ This event is dispatched when player starts digging a block
458+
459+ Event is cancellable: ` false `
460+
461+ Fields:
462+ - block: ` Block `
463+ - location: ` Location `
464+ - player: ` Player `
465+
466+ ## ` PlayerSteerVehicleEvent `
467+ This event is dispatched when player steers a vehicle
468+
469+ Event is cancellable: ` false `
470+
471+ Fields:
472+ - location: ` Location `
473+ - player: ` Player `
474+ - vehicle: ` Entity `
475+
417476## ` PlayerSwingHandEvent `
418477This event is dispatched when player swings their hand
419478
@@ -472,6 +531,7 @@ This event is dispatched client requests motd/status
472531Event is cancellable: ` false `
473532
474533Fields:
534+ - playerNetworkManager: ` PlayerNetworkManager `
475535- status: ` ServerStatus `
476536
477537## ` ServerStartEvent `
@@ -506,3 +566,12 @@ Event is cancellable: `false`
506566Fields:
507567- world: ` World `
508568
569+ ## ` WorldTickEvent `
570+ This event is dispatched when world ticks
571+
572+ Event is cancellable: ` true `
573+
574+ Fields:
575+ - scheduler: ` CustomRateScheduler `
576+ - world: ` World `
577+
0 commit comments