@@ -136,8 +136,9 @@ MetadataDictionary: []varint
136
136
16 : minecart_display_block # int (id | (data << 16))
137
137
17 : minecart_display_offset # int
138
138
18 : minecart_has_display # byte (must be 1 for minecart to show block inside)
139
- 20 : old_swell
140
- 21 : swell_dir
139
+ 19 : horse_type
140
+ 20 : creeper_swell
141
+ 21 : creeper_swell_direction
141
142
22 : charge_amount
142
143
23 : enderman_held_runtime_id # short
143
144
24 : entity_age # short
@@ -167,15 +168,15 @@ MetadataDictionary: []varint
167
168
49 : wither_target_1 # long
168
169
50 : wither_target_2 # long
169
170
51 : wither_target_3 # long
170
- 52 : aerial_attack
171
+ 52 : wither_aerial_attack
171
172
53 : boundingbox_width
172
173
54 : boundingbox_height
173
174
55 : fuse_length
174
175
56 : rider_seat_position # vector3f
175
176
57 : rider_rotation_locked # byte
176
177
58 : rider_max_rotation # float
177
178
59 : rider_min_rotation # float
178
- 60 : rider_rotation_offset
179
+ 60 : rider_seat_rotation_offset
179
180
61 : area_effect_cloud_radius # float
180
181
62 : area_effect_cloud_waiting # int
181
182
63 : area_effect_cloud_particle_id # int
@@ -192,7 +193,7 @@ MetadataDictionary: []varint
192
193
74 : controlling_rider_seat_number # byte
193
194
75 : strength # int
194
195
76 : max_strength # int
195
- 77 : spell_casting_color # int
196
+ 77 : evoker_spell_casting_color # int
196
197
78 : limited_life
197
198
79 : armor_stand_pose_index # int
198
199
80 : ender_crystal_time_offset # int
@@ -210,11 +211,11 @@ MetadataDictionary: []varint
210
211
92 : flags_extended
211
212
93 : laying_amount
212
213
94 : laying_amount_previous
213
- 95 : duration
214
- 96 : spawn_time
215
- 97 : change_rate
216
- 98 : change_on_pickup
217
- 99 : pickup_count
214
+ 95 : area_effect_cloud_duration
215
+ 96 : area_effect_cloud_spawn_time
216
+ 97 : area_effect_cloud_change_rate
217
+ 98 : area_effect_cloud_change_on_pickup
218
+ 99 : area_effect_cloud_pickup_count
218
219
100 : interact_text
219
220
101 : trade_tier
220
221
102 : max_trade_tier
@@ -408,8 +409,14 @@ TransactionUseItem:
408
409
# ActionType is the type of the UseItem inventory transaction. It is one of the action types found above,
409
410
# and specifies the way the player interacted with the block.
410
411
action_type : varint =>
412
+ # Right click item use on a surface like placing a block
411
413
0 : click_block
414
+ # Start right click and hold style item use or potentially interact with nothing.
415
+ # If it is a usable item like food the server is expected to send a SetActorDataPacket with ActorFlags::USINGITEM along with the transaction response.
416
+ # While using an item, movement speed is slowed which will be reflected in the move vector in Player Auth Input.
412
417
1 : click_air
418
+ # Block breaking like left click. When using server auth block breaking as specified in StartGamePacket this is never sent.
419
+ # Instead, block actions are supplied in Player Auth Input.
413
420
2 : break_block
414
421
# BlockPosition is the position of the block that was interacted with. This is only really a correct
415
422
# block position if ActionType is not UseItemActionClickAir.
@@ -487,10 +494,19 @@ Transaction:
487
494
legacy : TransactionLegacy
488
495
# What type of transaction took place
489
496
transaction_type : varint =>
497
+ # Sent for container UI operations depending on if ItemStackNetManager is enabled
490
498
0 : normal
499
+ # Sent from server to client to reject a transaction
491
500
1 : inventory_mismatch
501
+ # Sent for a player performing right click style item use.
502
+ # See the contained ItemUseInventoryTransaction::ActionType for the expected use case.
492
503
2 : item_use
504
+ # Sent for a player right clicking on an entity or attacking them.
505
+ # See ItemUseInventoryTransaction::ActionType for which it is.
493
506
3 : item_use_on_entity
507
+ # Sent when releasing right click on a chargeable item like a bow or finishing charging like a crossbow.
508
+ # This is different than canceling item use early which would be in Player Auth Input.
509
+ # See ItemReleaseInventoryTransaction::ActionType for which it is.
494
510
4 : item_release
495
511
# The list of inventory internal actions in this packet, e.g. inventory GUI actions
496
512
actions : TransactionActions
@@ -509,7 +525,9 @@ Transaction:
509
525
# ActionType is the type of the UseItemOnEntity inventory transaction. It is one of the action types
510
526
# found in the constants above, and specifies the way the player interacted with the entity.
511
527
action_type : varint =>
528
+ # Right click interact with actor.
512
529
0 : interact
530
+ # Left click style attack of actor or elytra spin attack. Server is expected to deal damage to the entity with visuals.
513
531
1 : attack
514
532
# HotBarSlot is the hot bar slot that the player was holding while clicking the entity. It should be used
515
533
# to ensure that the hot bar slot and held item are correctly synchronised with the server.
@@ -530,7 +548,9 @@ Transaction:
530
548
# As of 1.13, the ActionType is always 0. This field can be ignored, because releasing food (by consuming
531
549
# it) or releasing a bow (to shoot an arrow) is essentially the same.
532
550
action_type : varint =>
551
+ # Release right click and hold style item use, like firing a bow
533
552
0 : release
553
+ # Finish right click and hold style item use, like charging a crossbow
534
554
1 : consume
535
555
# HotBarSlot is the hot bar slot that the player was holding while releasing the item. It should be used
536
556
# to ensure that the hot bar slot and held item are correctly synchronised with the server.
0 commit comments