minecraft-data 3.39.0 → 3.41.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 (98) hide show
  1. package/data.js +43 -2
  2. package/doc/history.md +8 -0
  3. package/index.d.ts +12 -0
  4. package/minecraft-data/README.md +1 -1
  5. package/minecraft-data/data/bedrock/1.16.201/attributes.json +107 -0
  6. package/minecraft-data/data/bedrock/1.16.201/proto.yml +4 -4
  7. package/minecraft-data/data/bedrock/1.16.201/protocol.json +63 -55
  8. package/minecraft-data/data/bedrock/1.16.210/proto.yml +6 -6
  9. package/minecraft-data/data/bedrock/1.16.210/protocol.json +69 -61
  10. package/minecraft-data/data/bedrock/1.16.210/types.yml +1 -1
  11. package/minecraft-data/data/bedrock/1.16.220/proto.yml +6 -6
  12. package/minecraft-data/data/bedrock/1.16.220/protocol.json +70 -62
  13. package/minecraft-data/data/bedrock/1.16.220/types.yml +2 -2
  14. package/minecraft-data/data/bedrock/1.17.0/proto.yml +5 -5
  15. package/minecraft-data/data/bedrock/1.17.0/protocol.json +70 -62
  16. package/minecraft-data/data/bedrock/1.17.0/types.yml +2 -2
  17. package/minecraft-data/data/bedrock/1.17.10/proto.yml +6 -6
  18. package/minecraft-data/data/bedrock/1.17.10/protocol.json +70 -62
  19. package/minecraft-data/data/bedrock/1.17.10/types.yml +2 -2
  20. package/minecraft-data/data/bedrock/1.17.30/proto.yml +6 -6
  21. package/minecraft-data/data/bedrock/1.17.30/protocol.json +70 -62
  22. package/minecraft-data/data/bedrock/1.17.30/types.yml +2 -2
  23. package/minecraft-data/data/bedrock/1.17.40/proto.yml +5 -5
  24. package/minecraft-data/data/bedrock/1.17.40/protocol.json +70 -62
  25. package/minecraft-data/data/bedrock/1.17.40/types.yml +2 -2
  26. package/minecraft-data/data/bedrock/1.18.0/proto.yml +6 -6
  27. package/minecraft-data/data/bedrock/1.18.0/protocol.json +70 -62
  28. package/minecraft-data/data/bedrock/1.18.0/types.yml +2 -2
  29. package/minecraft-data/data/bedrock/1.18.11/proto.yml +6 -6
  30. package/minecraft-data/data/bedrock/1.18.11/protocol.json +70 -62
  31. package/minecraft-data/data/bedrock/1.18.11/types.yml +2 -2
  32. package/minecraft-data/data/bedrock/1.18.30/proto.yml +6 -6
  33. package/minecraft-data/data/bedrock/1.18.30/protocol.json +72 -64
  34. package/minecraft-data/data/bedrock/1.18.30/types.yml +2 -2
  35. package/minecraft-data/data/bedrock/1.19.1/proto.yml +5 -5
  36. package/minecraft-data/data/bedrock/1.19.1/protocol.json +76 -68
  37. package/minecraft-data/data/bedrock/1.19.1/types.yml +2 -2
  38. package/minecraft-data/data/bedrock/1.19.10/proto.yml +5 -5
  39. package/minecraft-data/data/bedrock/1.19.10/protocol.json +76 -68
  40. package/minecraft-data/data/bedrock/1.19.10/types.yml +2 -2
  41. package/minecraft-data/data/bedrock/1.19.20/proto.yml +5 -5
  42. package/minecraft-data/data/bedrock/1.19.20/protocol.json +76 -68
  43. package/minecraft-data/data/bedrock/1.19.20/types.yml +2 -2
  44. package/minecraft-data/data/bedrock/1.19.21/proto.yml +5 -5
  45. package/minecraft-data/data/bedrock/1.19.21/protocol.json +76 -68
  46. package/minecraft-data/data/bedrock/1.19.21/types.yml +2 -2
  47. package/minecraft-data/data/bedrock/1.19.30/proto.yml +5 -5
  48. package/minecraft-data/data/bedrock/1.19.30/protocol.json +76 -68
  49. package/minecraft-data/data/bedrock/1.19.30/types.yml +2 -2
  50. package/minecraft-data/data/bedrock/1.19.40/proto.yml +5 -5
  51. package/minecraft-data/data/bedrock/1.19.40/protocol.json +80 -69
  52. package/minecraft-data/data/bedrock/1.19.40/types.yml +5 -2
  53. package/minecraft-data/data/bedrock/1.19.50/proto.yml +6 -6
  54. package/minecraft-data/data/bedrock/1.19.50/protocol.json +80 -69
  55. package/minecraft-data/data/bedrock/1.19.50/types.yml +5 -2
  56. package/minecraft-data/data/bedrock/1.19.60/proto.yml +6 -6
  57. package/minecraft-data/data/bedrock/1.19.60/protocol.json +80 -69
  58. package/minecraft-data/data/bedrock/1.19.60/types.yml +5 -2
  59. package/minecraft-data/data/bedrock/1.19.62/proto.yml +6 -6
  60. package/minecraft-data/data/bedrock/1.19.62/protocol.json +80 -69
  61. package/minecraft-data/data/bedrock/1.19.62/types.yml +5 -2
  62. package/minecraft-data/data/bedrock/1.19.70/proto.yml +5 -5
  63. package/minecraft-data/data/bedrock/1.19.70/protocol.json +80 -69
  64. package/minecraft-data/data/bedrock/1.19.70/types.yml +5 -2
  65. package/minecraft-data/data/bedrock/1.19.80/proto.yml +6 -6
  66. package/minecraft-data/data/bedrock/1.19.80/protocol.json +80 -69
  67. package/minecraft-data/data/bedrock/1.19.80/types.yml +5 -2
  68. package/minecraft-data/data/bedrock/1.20.0/proto.yml +3961 -0
  69. package/minecraft-data/data/bedrock/1.20.0/protocol.json +80 -69
  70. package/minecraft-data/data/bedrock/1.20.0/types.yml +2096 -0
  71. package/minecraft-data/data/bedrock/1.20.10/protocol.json +11452 -0
  72. package/minecraft-data/data/bedrock/1.20.10/version.json +6 -0
  73. package/minecraft-data/data/bedrock/common/features.json +5 -0
  74. package/minecraft-data/data/bedrock/common/protocolVersions.json +6 -0
  75. package/minecraft-data/data/bedrock/common/versions.json +2 -1
  76. package/minecraft-data/data/bedrock/latest/proto.yml +49 -8
  77. package/minecraft-data/data/bedrock/latest/types.yml +10 -2
  78. package/minecraft-data/data/dataPaths.json +44 -4
  79. package/minecraft-data/data/pc/1.10/attributes.json +53 -14
  80. package/minecraft-data/data/pc/1.11/attributes.json +53 -14
  81. package/minecraft-data/data/pc/1.12/attributes.json +53 -14
  82. package/minecraft-data/data/pc/1.13/attributes.json +53 -14
  83. package/minecraft-data/data/pc/1.14/attributes.json +53 -14
  84. package/minecraft-data/data/pc/1.15/attributes.json +53 -14
  85. package/minecraft-data/data/pc/1.16/attributes.json +53 -14
  86. package/minecraft-data/data/pc/1.17/attributes.json +53 -14
  87. package/minecraft-data/data/pc/1.19/protocol.json +13 -8
  88. package/minecraft-data/data/pc/1.19.2/protocol.json +13 -8
  89. package/minecraft-data/data/pc/1.19.3/protocol.json +70 -8
  90. package/minecraft-data/data/pc/1.19.4/protocol.json +75 -17
  91. package/minecraft-data/data/pc/1.20/protocol.json +78 -20
  92. package/minecraft-data/data/pc/1.7/attributes.json +28 -7
  93. package/minecraft-data/data/pc/1.8/attributes.json +49 -13
  94. package/minecraft-data/data/pc/1.9/attributes.json +53 -14
  95. package/minecraft-data/data/pc/common/features.json +5 -0
  96. package/minecraft-data/doc/history.md +14 -0
  97. package/minecraft-data/schemas/attributes_schema.json +13 -1
  98. package/package.json +2 -2
@@ -740,7 +740,10 @@
740
740
  "124": "update_properties",
741
741
  "125": "movement_sound_distance_offset",
742
742
  "126": "heartbeat_interval_ticks",
743
- "127": "heartbeat_sound_event"
743
+ "127": "heartbeat_sound_event",
744
+ "128": "player_last_death_position",
745
+ "129": "player_last_death_dimension",
746
+ "130": "player_has_died"
744
747
  }
745
748
  }
746
749
  ]
@@ -1030,11 +1033,11 @@
1030
1033
  },
1031
1034
  {
1032
1035
  "name": "block_position",
1033
- "type": "vec3i"
1036
+ "type": "BlockCoordinates"
1034
1037
  },
1035
1038
  {
1036
1039
  "name": "face",
1037
- "type": "varint"
1040
+ "type": "zigzag32"
1038
1041
  },
1039
1042
  {
1040
1043
  "name": "hotbar_slot",
@@ -5624,7 +5627,7 @@
5624
5627
  "71": "balloon_pop",
5625
5628
  "72": "treasure_hunt",
5626
5629
  "73": "agent_summon",
5627
- "74": "charged_crossbow",
5630
+ "74": "charged_item",
5628
5631
  "75": "fall",
5629
5632
  "76": "grow_up",
5630
5633
  "77": "vibration_detected",
@@ -6977,72 +6980,80 @@
6977
6980
  {
6978
6981
  "countType": "varint",
6979
6982
  "type": [
6980
- "array",
6981
- {
6982
- "countType": "varint",
6983
- "type": [
6984
- "container",
6985
- [
6986
- {
6987
- "name": "parameter_name",
6988
- "type": "string"
6989
- },
6990
- {
6991
- "name": "value_type",
6992
- "type": [
6993
- "mapper",
6994
- {
6995
- "type": "lu16",
6996
- "mappings": {
6997
- "1": "int",
6998
- "3": "float",
6999
- "4": "value",
7000
- "5": "wildcard_int",
7001
- "6": "operator",
7002
- "7": "command_operator",
7003
- "8": "target",
7004
- "10": "wildcard_target",
7005
- "17": "file_path",
7006
- "23": "integer_range",
7007
- "38": "equipment_slots",
7008
- "39": "string",
7009
- "47": "block_position",
7010
- "48": "position",
7011
- "51": "message",
7012
- "53": "raw_text",
7013
- "57": "json",
7014
- "67": "block_states",
7015
- "70": "command"
7016
- }
7017
- }
7018
- ]
7019
- },
6983
+ "container",
6984
+ [
6985
+ {
6986
+ "name": "parameters",
6987
+ "type": [
6988
+ "array",
7020
6989
  {
7021
- "name": "enum_type",
6990
+ "countType": "varint",
7022
6991
  "type": [
7023
- "mapper",
7024
- {
7025
- "type": "lu16",
7026
- "mappings": {
7027
- "16": "valid",
7028
- "32": "enum",
7029
- "256": "suffixed",
7030
- "1024": "soft_enum"
6992
+ "container",
6993
+ [
6994
+ {
6995
+ "name": "parameter_name",
6996
+ "type": "string"
6997
+ },
6998
+ {
6999
+ "name": "value_type",
7000
+ "type": [
7001
+ "mapper",
7002
+ {
7003
+ "type": "lu16",
7004
+ "mappings": {
7005
+ "1": "int",
7006
+ "3": "float",
7007
+ "4": "value",
7008
+ "5": "wildcard_int",
7009
+ "6": "operator",
7010
+ "7": "command_operator",
7011
+ "8": "target",
7012
+ "10": "wildcard_target",
7013
+ "17": "file_path",
7014
+ "23": "integer_range",
7015
+ "38": "equipment_slots",
7016
+ "39": "string",
7017
+ "47": "block_position",
7018
+ "48": "position",
7019
+ "51": "message",
7020
+ "53": "raw_text",
7021
+ "57": "json",
7022
+ "67": "block_states",
7023
+ "70": "command"
7024
+ }
7025
+ }
7026
+ ]
7027
+ },
7028
+ {
7029
+ "name": "enum_type",
7030
+ "type": [
7031
+ "mapper",
7032
+ {
7033
+ "type": "lu16",
7034
+ "mappings": {
7035
+ "16": "valid",
7036
+ "48": "enum",
7037
+ "256": "suffixed",
7038
+ "1040": "soft_enum"
7039
+ }
7040
+ }
7041
+ ]
7042
+ },
7043
+ {
7044
+ "name": "optional",
7045
+ "type": "bool"
7046
+ },
7047
+ {
7048
+ "name": "options",
7049
+ "type": "CommandFlags"
7031
7050
  }
7032
- }
7051
+ ]
7033
7052
  ]
7034
- },
7035
- {
7036
- "name": "optional",
7037
- "type": "bool"
7038
- },
7039
- {
7040
- "name": "options",
7041
- "type": "CommandFlags"
7042
7053
  }
7043
7054
  ]
7044
- ]
7045
- }
7055
+ }
7056
+ ]
7046
7057
  ]
7047
7058
  }
7048
7059
  ]
@@ -9156,7 +9167,7 @@
9156
9167
  [
9157
9168
  {
9158
9169
  "name": "position",
9159
- "type": "BlockCoordinates"
9170
+ "type": "vec3i"
9160
9171
  },
9161
9172
  {
9162
9173
  "name": "face",
@@ -9169,7 +9180,7 @@
9169
9180
  [
9170
9181
  {
9171
9182
  "name": "position",
9172
- "type": "BlockCoordinates"
9183
+ "type": "vec3i"
9173
9184
  },
9174
9185
  {
9175
9186
  "name": "face",
@@ -9182,7 +9193,7 @@
9182
9193
  [
9183
9194
  {
9184
9195
  "name": "position",
9185
- "type": "BlockCoordinates"
9196
+ "type": "vec3i"
9186
9197
  },
9187
9198
  {
9188
9199
  "name": "face",
@@ -9195,7 +9206,7 @@
9195
9206
  [
9196
9207
  {
9197
9208
  "name": "position",
9198
- "type": "BlockCoordinates"
9209
+ "type": "vec3i"
9199
9210
  },
9200
9211
  {
9201
9212
  "name": "face",
@@ -9208,7 +9219,7 @@
9208
9219
  [
9209
9220
  {
9210
9221
  "name": "position",
9211
- "type": "BlockCoordinates"
9222
+ "type": "vec3i"
9212
9223
  },
9213
9224
  {
9214
9225
  "name": "face",
@@ -293,6 +293,9 @@ MetadataDictionary: []varint
293
293
  125: movement_sound_distance_offset
294
294
  126: heartbeat_interval_ticks
295
295
  127: heartbeat_sound_event
296
+ 128: player_last_death_position
297
+ 129: player_last_death_dimension
298
+ 130: player_has_died
296
299
  type: varint =>
297
300
  0: byte
298
301
  1: short
@@ -495,10 +498,10 @@ TransactionUseItem:
495
498
  2: break_block
496
499
  # BlockPosition is the position of the block that was interacted with. This is only really a correct
497
500
  # block position if ActionType is not UseItemActionClickAir.
498
- block_position: vec3i
501
+ block_position: BlockCoordinates
499
502
  # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face
500
503
  # clicked. When breaking the block, it is the face that was last being hit until the block broke.
501
- face: varint
504
+ face: zigzag32
502
505
  # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
503
506
  # to ensure that the hot bar slot and held item are correctly synchronised with the server.
504
507
  hotbar_slot: varint
@@ -949,7 +949,7 @@ packet_entity_event:
949
949
  71: balloon_pop
950
950
  72: treasure_hunt
951
951
  73: agent_summon
952
- 74: charged_crossbow
952
+ 74: charged_item
953
953
  75: fall
954
954
  76: grow_up
955
955
  77: vibration_detected
@@ -1715,7 +1715,7 @@ packet_available_commands:
1715
1715
  # The list of overload parameters for this command
1716
1716
  overloads: []varint
1717
1717
  # Each of the parameters gets an array of posible overloads
1718
- _: []varint
1718
+ parameters: []varint
1719
1719
  # The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
1720
1720
  parameter_name: string
1721
1721
  value_type: lu16 =>
@@ -1741,9 +1741,9 @@ packet_available_commands:
1741
1741
  # In MC, this + prior field are combined to one 32bit bitfield
1742
1742
  enum_type: lu16 =>
1743
1743
  0x10: valid
1744
- 0x20: enum
1744
+ 0x30: enum
1745
1745
  0x100: suffixed
1746
- 0x400: soft_enum
1746
+ 0x410: soft_enum
1747
1747
  # Is this parameter required?
1748
1748
  optional: bool
1749
1749
  # Additinal options for this command (thanks macroshaft...)
@@ -3013,7 +3013,7 @@ packet_player_auth_input:
3013
3013
  if start_break or abort_break or crack_break or predict_break or continue_break:
3014
3014
  # BlockPosition is the position of the target block, if the action with the ActionType set concerned a
3015
3015
  # block. If that is not the case, the block position will be zero.
3016
- position: BlockCoordinates
3016
+ position: vec3i
3017
3017
  # BlockFace is the face of the target block that was touched. If the action with the ActionType set
3018
3018
  # concerned a block. If not, the face is always 0.
3019
3019
  face: zigzag32
@@ -3848,4 +3848,4 @@ packet_update_client_input_locks:
3848
3848
  locks: InputLockFlags
3849
3849
  # Position is the server's position of the client at the time the packet was sent. It is unclear what the exact
3850
3850
  # purpose of this field is.
3851
- position: vec3f
3851
+ position: vec3f
@@ -740,7 +740,10 @@
740
740
  "124": "update_properties",
741
741
  "125": "movement_sound_distance_offset",
742
742
  "126": "heartbeat_interval_ticks",
743
- "127": "heartbeat_sound_event"
743
+ "127": "heartbeat_sound_event",
744
+ "128": "player_last_death_position",
745
+ "129": "player_last_death_dimension",
746
+ "130": "player_has_died"
744
747
  }
745
748
  }
746
749
  ]
@@ -1030,11 +1033,11 @@
1030
1033
  },
1031
1034
  {
1032
1035
  "name": "block_position",
1033
- "type": "vec3i"
1036
+ "type": "BlockCoordinates"
1034
1037
  },
1035
1038
  {
1036
1039
  "name": "face",
1037
- "type": "varint"
1040
+ "type": "zigzag32"
1038
1041
  },
1039
1042
  {
1040
1043
  "name": "hotbar_slot",
@@ -5640,7 +5643,7 @@
5640
5643
  "71": "balloon_pop",
5641
5644
  "72": "treasure_hunt",
5642
5645
  "73": "agent_summon",
5643
- "74": "charged_crossbow",
5646
+ "74": "charged_item",
5644
5647
  "75": "fall",
5645
5648
  "76": "grow_up",
5646
5649
  "77": "vibration_detected",
@@ -6993,72 +6996,80 @@
6993
6996
  {
6994
6997
  "countType": "varint",
6995
6998
  "type": [
6996
- "array",
6997
- {
6998
- "countType": "varint",
6999
- "type": [
7000
- "container",
7001
- [
7002
- {
7003
- "name": "parameter_name",
7004
- "type": "string"
7005
- },
7006
- {
7007
- "name": "value_type",
7008
- "type": [
7009
- "mapper",
7010
- {
7011
- "type": "lu16",
7012
- "mappings": {
7013
- "1": "int",
7014
- "3": "float",
7015
- "4": "value",
7016
- "5": "wildcard_int",
7017
- "6": "operator",
7018
- "7": "command_operator",
7019
- "8": "target",
7020
- "10": "wildcard_target",
7021
- "17": "file_path",
7022
- "23": "integer_range",
7023
- "38": "equipment_slots",
7024
- "39": "string",
7025
- "47": "block_position",
7026
- "48": "position",
7027
- "51": "message",
7028
- "53": "raw_text",
7029
- "57": "json",
7030
- "67": "block_states",
7031
- "70": "command"
7032
- }
7033
- }
7034
- ]
7035
- },
6999
+ "container",
7000
+ [
7001
+ {
7002
+ "name": "parameters",
7003
+ "type": [
7004
+ "array",
7036
7005
  {
7037
- "name": "enum_type",
7006
+ "countType": "varint",
7038
7007
  "type": [
7039
- "mapper",
7040
- {
7041
- "type": "lu16",
7042
- "mappings": {
7043
- "16": "valid",
7044
- "32": "enum",
7045
- "256": "suffixed",
7046
- "1024": "soft_enum"
7008
+ "container",
7009
+ [
7010
+ {
7011
+ "name": "parameter_name",
7012
+ "type": "string"
7013
+ },
7014
+ {
7015
+ "name": "value_type",
7016
+ "type": [
7017
+ "mapper",
7018
+ {
7019
+ "type": "lu16",
7020
+ "mappings": {
7021
+ "1": "int",
7022
+ "3": "float",
7023
+ "4": "value",
7024
+ "5": "wildcard_int",
7025
+ "6": "operator",
7026
+ "7": "command_operator",
7027
+ "8": "target",
7028
+ "10": "wildcard_target",
7029
+ "17": "file_path",
7030
+ "23": "integer_range",
7031
+ "38": "equipment_slots",
7032
+ "39": "string",
7033
+ "47": "block_position",
7034
+ "48": "position",
7035
+ "51": "message",
7036
+ "53": "raw_text",
7037
+ "57": "json",
7038
+ "67": "block_states",
7039
+ "70": "command"
7040
+ }
7041
+ }
7042
+ ]
7043
+ },
7044
+ {
7045
+ "name": "enum_type",
7046
+ "type": [
7047
+ "mapper",
7048
+ {
7049
+ "type": "lu16",
7050
+ "mappings": {
7051
+ "16": "valid",
7052
+ "48": "enum",
7053
+ "256": "suffixed",
7054
+ "1040": "soft_enum"
7055
+ }
7056
+ }
7057
+ ]
7058
+ },
7059
+ {
7060
+ "name": "optional",
7061
+ "type": "bool"
7062
+ },
7063
+ {
7064
+ "name": "options",
7065
+ "type": "CommandFlags"
7047
7066
  }
7048
- }
7067
+ ]
7049
7068
  ]
7050
- },
7051
- {
7052
- "name": "optional",
7053
- "type": "bool"
7054
- },
7055
- {
7056
- "name": "options",
7057
- "type": "CommandFlags"
7058
7069
  }
7059
7070
  ]
7060
- ]
7061
- }
7071
+ }
7072
+ ]
7062
7073
  ]
7063
7074
  }
7064
7075
  ]
@@ -9174,7 +9185,7 @@
9174
9185
  [
9175
9186
  {
9176
9187
  "name": "position",
9177
- "type": "BlockCoordinates"
9188
+ "type": "vec3i"
9178
9189
  },
9179
9190
  {
9180
9191
  "name": "face",
@@ -9187,7 +9198,7 @@
9187
9198
  [
9188
9199
  {
9189
9200
  "name": "position",
9190
- "type": "BlockCoordinates"
9201
+ "type": "vec3i"
9191
9202
  },
9192
9203
  {
9193
9204
  "name": "face",
@@ -9200,7 +9211,7 @@
9200
9211
  [
9201
9212
  {
9202
9213
  "name": "position",
9203
- "type": "BlockCoordinates"
9214
+ "type": "vec3i"
9204
9215
  },
9205
9216
  {
9206
9217
  "name": "face",
@@ -9213,7 +9224,7 @@
9213
9224
  [
9214
9225
  {
9215
9226
  "name": "position",
9216
- "type": "BlockCoordinates"
9227
+ "type": "vec3i"
9217
9228
  },
9218
9229
  {
9219
9230
  "name": "face",
@@ -9226,7 +9237,7 @@
9226
9237
  [
9227
9238
  {
9228
9239
  "name": "position",
9229
- "type": "BlockCoordinates"
9240
+ "type": "vec3i"
9230
9241
  },
9231
9242
  {
9232
9243
  "name": "face",
@@ -293,6 +293,9 @@ MetadataDictionary: []varint
293
293
  125: movement_sound_distance_offset
294
294
  126: heartbeat_interval_ticks
295
295
  127: heartbeat_sound_event
296
+ 128: player_last_death_position
297
+ 129: player_last_death_dimension
298
+ 130: player_has_died
296
299
  type: varint =>
297
300
  0: byte
298
301
  1: short
@@ -499,10 +502,10 @@ TransactionUseItem:
499
502
  2: break_block
500
503
  # BlockPosition is the position of the block that was interacted with. This is only really a correct
501
504
  # block position if ActionType is not UseItemActionClickAir.
502
- block_position: vec3i
505
+ block_position: BlockCoordinates
503
506
  # BlockFace is the face of the block that was interacted with. When clicking the block, it is the face
504
507
  # clicked. When breaking the block, it is the face that was last being hit until the block broke.
505
- face: varint
508
+ face: zigzag32
506
509
  # HotBarSlot is the hot bar slot that the player was holding while clicking the block. It should be used
507
510
  # to ensure that the hot bar slot and held item are correctly synchronised with the server.
508
511
  hotbar_slot: varint
@@ -951,7 +951,7 @@ packet_entity_event:
951
951
  71: balloon_pop
952
952
  72: treasure_hunt
953
953
  73: agent_summon
954
- 74: charged_crossbow
954
+ 74: charged_item
955
955
  75: fall
956
956
  76: grow_up
957
957
  77: vibration_detected
@@ -1717,7 +1717,7 @@ packet_available_commands:
1717
1717
  # The list of overload parameters for this command
1718
1718
  overloads: []varint
1719
1719
  # Each of the parameters gets an array of posible overloads
1720
- _: []varint
1720
+ parameters: []varint
1721
1721
  # The name of the parameter shown to the user (the `amount` in `/xp <amount: int>`)
1722
1722
  parameter_name: string
1723
1723
  value_type: lu16 =>
@@ -1743,9 +1743,9 @@ packet_available_commands:
1743
1743
  # In MC, this + prior field are combined to one 32bit bitfield
1744
1744
  enum_type: lu16 =>
1745
1745
  0x10: valid
1746
- 0x20: enum
1746
+ 0x30: enum
1747
1747
  0x100: suffixed
1748
- 0x400: soft_enum
1748
+ 0x410: soft_enum
1749
1749
  # Is this parameter required?
1750
1750
  optional: bool
1751
1751
  # Additinal options for this command (thanks macroshaft...)
@@ -3019,7 +3019,7 @@ packet_player_auth_input:
3019
3019
  if start_break or abort_break or crack_break or predict_break or continue_break:
3020
3020
  # BlockPosition is the position of the target block, if the action with the ActionType set concerned a
3021
3021
  # block. If that is not the case, the block position will be zero.
3022
- position: BlockCoordinates
3022
+ position: vec3i
3023
3023
  # BlockFace is the face of the target block that was touched. If the action with the ActionType set
3024
3024
  # concerned a block. If not, the face is always 0.
3025
3025
  face: zigzag32
@@ -3872,4 +3872,4 @@ packet_client_cheat_ability:
3872
3872
  command_permission: CommandPermissionLevel
3873
3873
  # Layers contains all ability layers and their potential values. This should at least have one entry, being the
3874
3874
  # base layer.
3875
- abilities: AbilityLayers[]u8
3875
+ abilities: AbilityLayers[]u8