minecraft-data 3.38.0 → 3.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/data.js +23 -2
  2. package/doc/history.md +8 -0
  3. package/minecraft-data/.github/workflows/commands.yml +22 -0
  4. package/minecraft-data/README.md +1 -1
  5. package/minecraft-data/data/bedrock/1.16.201/proto.yml +1 -1
  6. package/minecraft-data/data/bedrock/1.16.201/protocol.json +1 -1
  7. package/minecraft-data/data/bedrock/1.16.210/proto.yml +2 -2
  8. package/minecraft-data/data/bedrock/1.16.210/protocol.json +7 -7
  9. package/minecraft-data/data/bedrock/1.16.210/types.yml +1 -1
  10. package/minecraft-data/data/bedrock/1.16.220/proto.yml +2 -2
  11. package/minecraft-data/data/bedrock/1.16.220/protocol.json +8 -8
  12. package/minecraft-data/data/bedrock/1.16.220/types.yml +2 -2
  13. package/minecraft-data/data/bedrock/1.17.0/proto.yml +2 -2
  14. package/minecraft-data/data/bedrock/1.17.0/protocol.json +8 -8
  15. package/minecraft-data/data/bedrock/1.17.0/types.yml +2 -2
  16. package/minecraft-data/data/bedrock/1.17.10/proto.yml +2 -2
  17. package/minecraft-data/data/bedrock/1.17.10/protocol.json +8 -8
  18. package/minecraft-data/data/bedrock/1.17.10/types.yml +2 -2
  19. package/minecraft-data/data/bedrock/1.17.30/proto.yml +2 -2
  20. package/minecraft-data/data/bedrock/1.17.30/protocol.json +8 -8
  21. package/minecraft-data/data/bedrock/1.17.30/types.yml +2 -2
  22. package/minecraft-data/data/bedrock/1.17.40/proto.yml +2 -2
  23. package/minecraft-data/data/bedrock/1.17.40/protocol.json +8 -8
  24. package/minecraft-data/data/bedrock/1.17.40/types.yml +2 -2
  25. package/minecraft-data/data/bedrock/1.18.0/proto.yml +2 -2
  26. package/minecraft-data/data/bedrock/1.18.0/protocol.json +8 -8
  27. package/minecraft-data/data/bedrock/1.18.0/types.yml +2 -2
  28. package/minecraft-data/data/bedrock/1.18.11/proto.yml +11 -11
  29. package/minecraft-data/data/bedrock/1.18.11/protocol.json +17 -17
  30. package/minecraft-data/data/bedrock/1.18.11/types.yml +2 -2
  31. package/minecraft-data/data/bedrock/1.18.30/proto.yml +11 -11
  32. package/minecraft-data/data/bedrock/1.18.30/protocol.json +17 -17
  33. package/minecraft-data/data/bedrock/1.18.30/types.yml +2 -2
  34. package/minecraft-data/data/bedrock/1.19.1/proto.yml +11 -11
  35. package/minecraft-data/data/bedrock/1.19.1/protocol.json +17 -17
  36. package/minecraft-data/data/bedrock/1.19.1/types.yml +2 -2
  37. package/minecraft-data/data/bedrock/1.19.10/proto.yml +11 -11
  38. package/minecraft-data/data/bedrock/1.19.10/protocol.json +17 -17
  39. package/minecraft-data/data/bedrock/1.19.10/types.yml +2 -2
  40. package/minecraft-data/data/bedrock/1.19.20/proto.yml +11 -11
  41. package/minecraft-data/data/bedrock/1.19.20/protocol.json +17 -17
  42. package/minecraft-data/data/bedrock/1.19.20/types.yml +2 -2
  43. package/minecraft-data/data/bedrock/1.19.21/proto.yml +11 -11
  44. package/minecraft-data/data/bedrock/1.19.21/protocol.json +17 -17
  45. package/minecraft-data/data/bedrock/1.19.21/types.yml +2 -2
  46. package/minecraft-data/data/bedrock/1.19.30/proto.yml +11 -11
  47. package/minecraft-data/data/bedrock/1.19.30/protocol.json +17 -17
  48. package/minecraft-data/data/bedrock/1.19.30/types.yml +2 -2
  49. package/minecraft-data/data/bedrock/1.19.40/proto.yml +11 -11
  50. package/minecraft-data/data/bedrock/1.19.40/protocol.json +21 -18
  51. package/minecraft-data/data/bedrock/1.19.40/types.yml +5 -2
  52. package/minecraft-data/data/bedrock/1.19.50/proto.yml +11 -11
  53. package/minecraft-data/data/bedrock/1.19.50/protocol.json +21 -18
  54. package/minecraft-data/data/bedrock/1.19.50/types.yml +5 -2
  55. package/minecraft-data/data/bedrock/1.19.60/proto.yml +11 -11
  56. package/minecraft-data/data/bedrock/1.19.60/protocol.json +21 -18
  57. package/minecraft-data/data/bedrock/1.19.60/types.yml +5 -2
  58. package/minecraft-data/data/bedrock/1.19.62/proto.yml +11 -11
  59. package/minecraft-data/data/bedrock/1.19.62/protocol.json +21 -18
  60. package/minecraft-data/data/bedrock/1.19.62/types.yml +5 -2
  61. package/minecraft-data/data/bedrock/1.19.70/proto.yml +11 -11
  62. package/minecraft-data/data/bedrock/1.19.70/protocol.json +21 -18
  63. package/minecraft-data/data/bedrock/1.19.70/types.yml +5 -2
  64. package/minecraft-data/data/bedrock/1.19.80/proto.yml +11 -11
  65. package/minecraft-data/data/bedrock/1.19.80/protocol.json +21 -18
  66. package/minecraft-data/data/bedrock/1.19.80/types.yml +5 -2
  67. package/minecraft-data/data/bedrock/1.20.0/proto.yml +3961 -0
  68. package/minecraft-data/data/bedrock/1.20.0/protocol.json +21 -18
  69. package/minecraft-data/data/bedrock/1.20.0/types.yml +2096 -0
  70. package/minecraft-data/data/bedrock/1.20.10/protocol.json +11452 -0
  71. package/minecraft-data/data/bedrock/1.20.10/version.json +6 -0
  72. package/minecraft-data/data/bedrock/common/protocolVersions.json +6 -0
  73. package/minecraft-data/data/bedrock/common/versions.json +2 -1
  74. package/minecraft-data/data/bedrock/latest/proto.yml +55 -14
  75. package/minecraft-data/data/bedrock/latest/types.yml +10 -2
  76. package/minecraft-data/data/dataPaths.json +24 -4
  77. package/minecraft-data/data/pc/1.19.3/protocol.json +56 -0
  78. package/minecraft-data/data/pc/1.19.4/protocol.json +56 -0
  79. package/minecraft-data/data/pc/1.20/protocol.json +56 -0
  80. package/minecraft-data/doc/history.md +10 -0
  81. package/package.json +1 -1
@@ -939,11 +939,11 @@
939
939
  },
940
940
  {
941
941
  "name": "block_position",
942
- "type": "vec3i"
942
+ "type": "BlockCoordinates"
943
943
  },
944
944
  {
945
945
  "name": "face",
946
- "type": "varint"
946
+ "type": "zigzag32"
947
947
  },
948
948
  {
949
949
  "name": "hotbar_slot",
@@ -5129,7 +5129,7 @@
5129
5129
  "71": "balloon_pop",
5130
5130
  "72": "treasure_hunt",
5131
5131
  "73": "agent_summon",
5132
- "74": "charged_crossbow",
5132
+ "74": "charged_item",
5133
5133
  "75": "fall"
5134
5134
  }
5135
5135
  }
@@ -8468,7 +8468,7 @@
8468
8468
  [
8469
8469
  {
8470
8470
  "name": "position",
8471
- "type": "BlockCoordinates"
8471
+ "type": "vec3i"
8472
8472
  },
8473
8473
  {
8474
8474
  "name": "face",
@@ -8481,7 +8481,7 @@
8481
8481
  [
8482
8482
  {
8483
8483
  "name": "position",
8484
- "type": "BlockCoordinates"
8484
+ "type": "vec3i"
8485
8485
  },
8486
8486
  {
8487
8487
  "name": "face",
@@ -8494,7 +8494,7 @@
8494
8494
  [
8495
8495
  {
8496
8496
  "name": "position",
8497
- "type": "BlockCoordinates"
8497
+ "type": "vec3i"
8498
8498
  },
8499
8499
  {
8500
8500
  "name": "face",
@@ -8507,7 +8507,7 @@
8507
8507
  [
8508
8508
  {
8509
8509
  "name": "position",
8510
- "type": "BlockCoordinates"
8510
+ "type": "vec3i"
8511
8511
  },
8512
8512
  {
8513
8513
  "name": "face",
@@ -8520,7 +8520,7 @@
8520
8520
  [
8521
8521
  {
8522
8522
  "name": "position",
8523
- "type": "BlockCoordinates"
8523
+ "type": "vec3i"
8524
8524
  },
8525
8525
  {
8526
8526
  "name": "face",
@@ -468,10 +468,10 @@ TransactionUseItem:
468
468
  2: break_block
469
469
  # BlockPosition is the position of the block that was interacted with. This is only really a correct
470
470
  # block position if ActionType is not UseItemActionClickAir.
471
- block_position: vec3i
471
+ block_position: BlockCoordinates
472
472
  # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face
473
473
  # clicked. When breaking the block, it is the face that was last being hit until the block broke.
474
- face: varint
474
+ face: zigzag32
475
475
  # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
476
476
  # to ensure that the hot bar slot and held item are correctly synchronised with the server.
477
477
  hotbar_slot: varint
@@ -859,7 +859,7 @@ packet_entity_event:
859
859
  71: balloon_pop
860
860
  72: treasure_hunt
861
861
  73: agent_summon
862
- 74: charged_crossbow
862
+ 74: charged_item
863
863
  75: fall
864
864
  data: zigzag32
865
865
 
@@ -2858,7 +2858,7 @@ packet_player_auth_input:
2858
2858
  if start_break or abort_break or crack_break or predict_break or continue_break:
2859
2859
  # BlockPosition is the position of the target block, if the action with the ActionType set concerned a
2860
2860
  # block. If that is not the case, the block position will be zero.
2861
- position: BlockCoordinates
2861
+ position: vec3i
2862
2862
  # BlockFace is the face of the target block that was touched. If the action with the ActionType set
2863
2863
  # concerned a block. If not, the face is always 0.
2864
2864
  face: zigzag32
@@ -939,11 +939,11 @@
939
939
  },
940
940
  {
941
941
  "name": "block_position",
942
- "type": "vec3i"
942
+ "type": "BlockCoordinates"
943
943
  },
944
944
  {
945
945
  "name": "face",
946
- "type": "varint"
946
+ "type": "zigzag32"
947
947
  },
948
948
  {
949
949
  "name": "hotbar_slot",
@@ -5144,7 +5144,7 @@
5144
5144
  "71": "balloon_pop",
5145
5145
  "72": "treasure_hunt",
5146
5146
  "73": "agent_summon",
5147
- "74": "charged_crossbow",
5147
+ "74": "charged_item",
5148
5148
  "75": "fall"
5149
5149
  }
5150
5150
  }
@@ -8513,7 +8513,7 @@
8513
8513
  [
8514
8514
  {
8515
8515
  "name": "position",
8516
- "type": "BlockCoordinates"
8516
+ "type": "vec3i"
8517
8517
  },
8518
8518
  {
8519
8519
  "name": "face",
@@ -8526,7 +8526,7 @@
8526
8526
  [
8527
8527
  {
8528
8528
  "name": "position",
8529
- "type": "BlockCoordinates"
8529
+ "type": "vec3i"
8530
8530
  },
8531
8531
  {
8532
8532
  "name": "face",
@@ -8539,7 +8539,7 @@
8539
8539
  [
8540
8540
  {
8541
8541
  "name": "position",
8542
- "type": "BlockCoordinates"
8542
+ "type": "vec3i"
8543
8543
  },
8544
8544
  {
8545
8545
  "name": "face",
@@ -8552,7 +8552,7 @@
8552
8552
  [
8553
8553
  {
8554
8554
  "name": "position",
8555
- "type": "BlockCoordinates"
8555
+ "type": "vec3i"
8556
8556
  },
8557
8557
  {
8558
8558
  "name": "face",
@@ -8565,7 +8565,7 @@
8565
8565
  [
8566
8566
  {
8567
8567
  "name": "position",
8568
- "type": "BlockCoordinates"
8568
+ "type": "vec3i"
8569
8569
  },
8570
8570
  {
8571
8571
  "name": "face",
@@ -468,10 +468,10 @@ TransactionUseItem:
468
468
  2: break_block
469
469
  # BlockPosition is the position of the block that was interacted with. This is only really a correct
470
470
  # block position if ActionType is not UseItemActionClickAir.
471
- block_position: vec3i
471
+ block_position: BlockCoordinates
472
472
  # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face
473
473
  # clicked. When breaking the block, it is the face that was last being hit until the block broke.
474
- face: varint
474
+ face: zigzag32
475
475
  # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
476
476
  # to ensure that the hot bar slot and held item are correctly synchronised with the server.
477
477
  hotbar_slot: varint
@@ -859,7 +859,7 @@ packet_entity_event:
859
859
  71: balloon_pop
860
860
  72: treasure_hunt
861
861
  73: agent_summon
862
- 74: charged_crossbow
862
+ 74: charged_item
863
863
  75: fall
864
864
  data: zigzag32
865
865
 
@@ -2865,7 +2865,7 @@ packet_player_auth_input:
2865
2865
  if start_break or abort_break or crack_break or predict_break or continue_break:
2866
2866
  # BlockPosition is the position of the target block, if the action with the ActionType set concerned a
2867
2867
  # block. If that is not the case, the block position will be zero.
2868
- position: BlockCoordinates
2868
+ position: vec3i
2869
2869
  # BlockFace is the face of the target block that was touched. If the action with the ActionType set
2870
2870
  # concerned a block. If not, the face is always 0.
2871
2871
  face: zigzag32
@@ -3301,9 +3301,9 @@ packet_photo_info_request:
3301
3301
  photo_id: zigzag64
3302
3302
 
3303
3303
  SubChunkEntryWithoutCaching: []lu32
3304
- dx: u8
3305
- dy: u8
3306
- dz: u8
3304
+ dx: i8
3305
+ dy: i8
3306
+ dz: i8
3307
3307
  result: u8 =>
3308
3308
  0: undefined
3309
3309
  1: success
@@ -3323,9 +3323,9 @@ SubChunkEntryWithoutCaching: []lu32
3323
3323
  if has_data: '["buffer", { "count": 256 }]'
3324
3324
 
3325
3325
  SubChunkEntryWithCaching: []lu32
3326
- dx: u8
3327
- dy: u8
3328
- dz: u8
3326
+ dx: i8
3327
+ dy: i8
3328
+ dz: i8
3329
3329
  result: u8 =>
3330
3330
  0: undefined
3331
3331
  1: success
@@ -3364,9 +3364,9 @@ packet_subchunk_request:
3364
3364
  # Origin point
3365
3365
  origin: vec3i
3366
3366
  requests: []lu32
3367
- dx: u8
3368
- dy: u8
3369
- dz: u8
3367
+ dx: i8
3368
+ dy: i8
3369
+ dz: i8
3370
3370
 
3371
3371
  packet_client_start_item_cooldown:
3372
3372
  !id: 0xb0
@@ -939,11 +939,11 @@
939
939
  },
940
940
  {
941
941
  "name": "block_position",
942
- "type": "vec3i"
942
+ "type": "BlockCoordinates"
943
943
  },
944
944
  {
945
945
  "name": "face",
946
- "type": "varint"
946
+ "type": "zigzag32"
947
947
  },
948
948
  {
949
949
  "name": "hotbar_slot",
@@ -5179,7 +5179,7 @@
5179
5179
  "71": "balloon_pop",
5180
5180
  "72": "treasure_hunt",
5181
5181
  "73": "agent_summon",
5182
- "74": "charged_crossbow",
5182
+ "74": "charged_item",
5183
5183
  "75": "fall"
5184
5184
  }
5185
5185
  }
@@ -8571,7 +8571,7 @@
8571
8571
  [
8572
8572
  {
8573
8573
  "name": "position",
8574
- "type": "BlockCoordinates"
8574
+ "type": "vec3i"
8575
8575
  },
8576
8576
  {
8577
8577
  "name": "face",
@@ -8584,7 +8584,7 @@
8584
8584
  [
8585
8585
  {
8586
8586
  "name": "position",
8587
- "type": "BlockCoordinates"
8587
+ "type": "vec3i"
8588
8588
  },
8589
8589
  {
8590
8590
  "name": "face",
@@ -8597,7 +8597,7 @@
8597
8597
  [
8598
8598
  {
8599
8599
  "name": "position",
8600
- "type": "BlockCoordinates"
8600
+ "type": "vec3i"
8601
8601
  },
8602
8602
  {
8603
8603
  "name": "face",
@@ -8610,7 +8610,7 @@
8610
8610
  [
8611
8611
  {
8612
8612
  "name": "position",
8613
- "type": "BlockCoordinates"
8613
+ "type": "vec3i"
8614
8614
  },
8615
8615
  {
8616
8616
  "name": "face",
@@ -8623,7 +8623,7 @@
8623
8623
  [
8624
8624
  {
8625
8625
  "name": "position",
8626
- "type": "BlockCoordinates"
8626
+ "type": "vec3i"
8627
8627
  },
8628
8628
  {
8629
8629
  "name": "face",
@@ -9283,15 +9283,15 @@
9283
9283
  [
9284
9284
  {
9285
9285
  "name": "dx",
9286
- "type": "u8"
9286
+ "type": "i8"
9287
9287
  },
9288
9288
  {
9289
9289
  "name": "dy",
9290
- "type": "u8"
9290
+ "type": "i8"
9291
9291
  },
9292
9292
  {
9293
9293
  "name": "dz",
9294
- "type": "u8"
9294
+ "type": "i8"
9295
9295
  },
9296
9296
  {
9297
9297
  "name": "result",
@@ -9361,15 +9361,15 @@
9361
9361
  [
9362
9362
  {
9363
9363
  "name": "dx",
9364
- "type": "u8"
9364
+ "type": "i8"
9365
9365
  },
9366
9366
  {
9367
9367
  "name": "dy",
9368
- "type": "u8"
9368
+ "type": "i8"
9369
9369
  },
9370
9370
  {
9371
9371
  "name": "dz",
9372
- "type": "u8"
9372
+ "type": "i8"
9373
9373
  },
9374
9374
  {
9375
9375
  "name": "result",
@@ -9496,15 +9496,15 @@
9496
9496
  [
9497
9497
  {
9498
9498
  "name": "dx",
9499
- "type": "u8"
9499
+ "type": "i8"
9500
9500
  },
9501
9501
  {
9502
9502
  "name": "dy",
9503
- "type": "u8"
9503
+ "type": "i8"
9504
9504
  },
9505
9505
  {
9506
9506
  "name": "dz",
9507
- "type": "u8"
9507
+ "type": "i8"
9508
9508
  }
9509
9509
  ]
9510
9510
  ]
@@ -472,10 +472,10 @@ TransactionUseItem:
472
472
  2: break_block
473
473
  # BlockPosition is the position of the block that was interacted with. This is only really a correct
474
474
  # block position if ActionType is not UseItemActionClickAir.
475
- block_position: vec3i
475
+ block_position: BlockCoordinates
476
476
  # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face
477
477
  # clicked. When breaking the block, it is the face that was last being hit until the block broke.
478
- face: varint
478
+ face: zigzag32
479
479
  # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
480
480
  # to ensure that the hot bar slot and held item are correctly synchronised with the server.
481
481
  hotbar_slot: varint
@@ -865,7 +865,7 @@ packet_entity_event:
865
865
  71: balloon_pop
866
866
  72: treasure_hunt
867
867
  73: agent_summon
868
- 74: charged_crossbow
868
+ 74: charged_item
869
869
  75: fall
870
870
  76: grow_up
871
871
  77: vibration_detected
@@ -2879,7 +2879,7 @@ packet_player_auth_input:
2879
2879
  if start_break or abort_break or crack_break or predict_break or continue_break:
2880
2880
  # BlockPosition is the position of the target block, if the action with the ActionType set concerned a
2881
2881
  # block. If that is not the case, the block position will be zero.
2882
- position: BlockCoordinates
2882
+ position: vec3i
2883
2883
  # BlockFace is the face of the target block that was touched. If the action with the ActionType set
2884
2884
  # concerned a block. If not, the face is always 0.
2885
2885
  face: zigzag32
@@ -3319,9 +3319,9 @@ packet_photo_info_request:
3319
3319
  photo_id: zigzag64
3320
3320
 
3321
3321
  SubChunkEntryWithoutCaching: []lu32
3322
- dx: u8
3323
- dy: u8
3324
- dz: u8
3322
+ dx: i8
3323
+ dy: i8
3324
+ dz: i8
3325
3325
  result: u8 =>
3326
3326
  0: undefined
3327
3327
  1: success
@@ -3341,9 +3341,9 @@ SubChunkEntryWithoutCaching: []lu32
3341
3341
  if has_data: '["buffer", { "count": 256 }]'
3342
3342
 
3343
3343
  SubChunkEntryWithCaching: []lu32
3344
- dx: u8
3345
- dy: u8
3346
- dz: u8
3344
+ dx: i8
3345
+ dy: i8
3346
+ dz: i8
3347
3347
  result: u8 =>
3348
3348
  0: undefined
3349
3349
  1: success
@@ -3384,9 +3384,9 @@ packet_subchunk_request:
3384
3384
  # Origin point
3385
3385
  origin: vec3i
3386
3386
  requests: []lu32
3387
- dx: u8
3388
- dy: u8
3389
- dz: u8
3387
+ dx: i8
3388
+ dy: i8
3389
+ dz: i8
3390
3390
 
3391
3391
  # ClientStartItemCooldown is sent by the client to the server to initiate a cooldown on an item. The purpose of this
3392
3392
  # packet isn't entirely clear.
@@ -943,11 +943,11 @@
943
943
  },
944
944
  {
945
945
  "name": "block_position",
946
- "type": "vec3i"
946
+ "type": "BlockCoordinates"
947
947
  },
948
948
  {
949
949
  "name": "face",
950
- "type": "varint"
950
+ "type": "zigzag32"
951
951
  },
952
952
  {
953
953
  "name": "hotbar_slot",
@@ -5260,7 +5260,7 @@
5260
5260
  "71": "balloon_pop",
5261
5261
  "72": "treasure_hunt",
5262
5262
  "73": "agent_summon",
5263
- "74": "charged_crossbow",
5263
+ "74": "charged_item",
5264
5264
  "75": "fall",
5265
5265
  "76": "grow_up",
5266
5266
  "77": "vibration_detected"
@@ -8660,7 +8660,7 @@
8660
8660
  [
8661
8661
  {
8662
8662
  "name": "position",
8663
- "type": "BlockCoordinates"
8663
+ "type": "vec3i"
8664
8664
  },
8665
8665
  {
8666
8666
  "name": "face",
@@ -8673,7 +8673,7 @@
8673
8673
  [
8674
8674
  {
8675
8675
  "name": "position",
8676
- "type": "BlockCoordinates"
8676
+ "type": "vec3i"
8677
8677
  },
8678
8678
  {
8679
8679
  "name": "face",
@@ -8686,7 +8686,7 @@
8686
8686
  [
8687
8687
  {
8688
8688
  "name": "position",
8689
- "type": "BlockCoordinates"
8689
+ "type": "vec3i"
8690
8690
  },
8691
8691
  {
8692
8692
  "name": "face",
@@ -8699,7 +8699,7 @@
8699
8699
  [
8700
8700
  {
8701
8701
  "name": "position",
8702
- "type": "BlockCoordinates"
8702
+ "type": "vec3i"
8703
8703
  },
8704
8704
  {
8705
8705
  "name": "face",
@@ -8712,7 +8712,7 @@
8712
8712
  [
8713
8713
  {
8714
8714
  "name": "position",
8715
- "type": "BlockCoordinates"
8715
+ "type": "vec3i"
8716
8716
  },
8717
8717
  {
8718
8718
  "name": "face",
@@ -9392,15 +9392,15 @@
9392
9392
  [
9393
9393
  {
9394
9394
  "name": "dx",
9395
- "type": "u8"
9395
+ "type": "i8"
9396
9396
  },
9397
9397
  {
9398
9398
  "name": "dy",
9399
- "type": "u8"
9399
+ "type": "i8"
9400
9400
  },
9401
9401
  {
9402
9402
  "name": "dz",
9403
- "type": "u8"
9403
+ "type": "i8"
9404
9404
  },
9405
9405
  {
9406
9406
  "name": "result",
@@ -9470,15 +9470,15 @@
9470
9470
  [
9471
9471
  {
9472
9472
  "name": "dx",
9473
- "type": "u8"
9473
+ "type": "i8"
9474
9474
  },
9475
9475
  {
9476
9476
  "name": "dy",
9477
- "type": "u8"
9477
+ "type": "i8"
9478
9478
  },
9479
9479
  {
9480
9480
  "name": "dz",
9481
- "type": "u8"
9481
+ "type": "i8"
9482
9482
  },
9483
9483
  {
9484
9484
  "name": "result",
@@ -9605,15 +9605,15 @@
9605
9605
  [
9606
9606
  {
9607
9607
  "name": "dx",
9608
- "type": "u8"
9608
+ "type": "i8"
9609
9609
  },
9610
9610
  {
9611
9611
  "name": "dy",
9612
- "type": "u8"
9612
+ "type": "i8"
9613
9613
  },
9614
9614
  {
9615
9615
  "name": "dz",
9616
- "type": "u8"
9616
+ "type": "i8"
9617
9617
  }
9618
9618
  ]
9619
9619
  ]
@@ -480,10 +480,10 @@ TransactionUseItem:
480
480
  2: break_block
481
481
  # BlockPosition is the position of the block that was interacted with. This is only really a correct
482
482
  # block position if ActionType is not UseItemActionClickAir.
483
- block_position: vec3i
483
+ block_position: BlockCoordinates
484
484
  # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face
485
485
  # clicked. When breaking the block, it is the face that was last being hit until the block broke.
486
- face: varint
486
+ face: zigzag32
487
487
  # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
488
488
  # to ensure that the hot bar slot and held item are correctly synchronised with the server.
489
489
  hotbar_slot: varint
@@ -872,7 +872,7 @@ packet_entity_event:
872
872
  71: balloon_pop
873
873
  72: treasure_hunt
874
874
  73: agent_summon
875
- 74: charged_crossbow
875
+ 74: charged_item
876
876
  75: fall
877
877
  76: grow_up
878
878
  77: vibration_detected
@@ -2898,7 +2898,7 @@ packet_player_auth_input:
2898
2898
  if start_break or abort_break or crack_break or predict_break or continue_break:
2899
2899
  # BlockPosition is the position of the target block, if the action with the ActionType set concerned a
2900
2900
  # block. If that is not the case, the block position will be zero.
2901
- position: BlockCoordinates
2901
+ position: vec3i
2902
2902
  # BlockFace is the face of the target block that was touched. If the action with the ActionType set
2903
2903
  # concerned a block. If not, the face is always 0.
2904
2904
  face: zigzag32
@@ -3338,9 +3338,9 @@ packet_photo_info_request:
3338
3338
  photo_id: zigzag64
3339
3339
 
3340
3340
  SubChunkEntryWithoutCaching: []lu32
3341
- dx: u8
3342
- dy: u8
3343
- dz: u8
3341
+ dx: i8
3342
+ dy: i8
3343
+ dz: i8
3344
3344
  result: u8 =>
3345
3345
  0: undefined
3346
3346
  1: success
@@ -3360,9 +3360,9 @@ SubChunkEntryWithoutCaching: []lu32
3360
3360
  if has_data: '["buffer", { "count": 256 }]'
3361
3361
 
3362
3362
  SubChunkEntryWithCaching: []lu32
3363
- dx: u8
3364
- dy: u8
3365
- dz: u8
3363
+ dx: i8
3364
+ dy: i8
3365
+ dz: i8
3366
3366
  result: u8 =>
3367
3367
  0: undefined
3368
3368
  1: success
@@ -3403,9 +3403,9 @@ packet_subchunk_request:
3403
3403
  # Origin point
3404
3404
  origin: vec3i
3405
3405
  requests: []lu32
3406
- dx: u8
3407
- dy: u8
3408
- dz: u8
3406
+ dx: i8
3407
+ dy: i8
3408
+ dz: i8
3409
3409
 
3410
3410
  # ClientStartItemCooldown is sent by the client to the server to initiate a cooldown on an item. The purpose of this
3411
3411
  # packet isn't entirely clear.