minecraft-data 3.102.1 → 3.102.3

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 (28) hide show
  1. package/doc/history.md +8 -0
  2. package/minecraft-data/data/bedrock/1.21.100/proto.yml +1 -1
  3. package/minecraft-data/data/bedrock/1.21.100/protocol.json +1 -1
  4. package/minecraft-data/data/bedrock/1.21.111/proto.yml +1 -1
  5. package/minecraft-data/data/bedrock/1.21.111/protocol.json +1 -1
  6. package/minecraft-data/data/bedrock/1.21.120/proto.yml +1 -1
  7. package/minecraft-data/data/bedrock/1.21.120/protocol.json +1 -1
  8. package/minecraft-data/data/bedrock/1.21.124/proto.yml +1 -1
  9. package/minecraft-data/data/bedrock/1.21.124/protocol.json +1 -1
  10. package/minecraft-data/data/bedrock/1.21.130/protocol.json +4 -52
  11. package/minecraft-data/data/bedrock/1.21.80/proto.yml +1 -1
  12. package/minecraft-data/data/bedrock/1.21.80/protocol.json +1 -1
  13. package/minecraft-data/data/bedrock/1.21.90/proto.yml +1 -1
  14. package/minecraft-data/data/bedrock/1.21.90/protocol.json +1 -1
  15. package/minecraft-data/data/bedrock/1.21.93/proto.yml +1 -1
  16. package/minecraft-data/data/bedrock/1.21.93/protocol.json +1 -1
  17. package/minecraft-data/data/bedrock/latest/proto.yml +2 -2
  18. package/minecraft-data/data/bedrock/latest/types.yml +2 -20
  19. package/minecraft-data/data/pc/1.21.4/proto.yml +1 -1
  20. package/minecraft-data/data/pc/1.21.4/protocol.json +1 -1
  21. package/minecraft-data/data/pc/1.21.5/proto.yml +1 -1
  22. package/minecraft-data/data/pc/1.21.5/protocol.json +1 -1
  23. package/minecraft-data/data/pc/1.21.6/proto.yml +1 -1
  24. package/minecraft-data/data/pc/1.21.6/protocol.json +1 -1
  25. package/minecraft-data/data/pc/1.21.8/protocol.json +1 -1
  26. package/minecraft-data/data/pc/latest/proto.yml +1 -1
  27. package/minecraft-data/doc/history.md +8 -0
  28. package/package.json +1 -1
package/doc/history.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # History
2
2
 
3
+ ## 3.102.3
4
+
5
+ * update `minecraft-data`
6
+
7
+ ## 3.102.2
8
+
9
+ * update `minecraft-data`
10
+
3
11
  ## 3.102.1
4
12
 
5
13
  * update `minecraft-data`
@@ -4533,7 +4533,7 @@ packet_player_location:
4533
4533
  type: li32 =>
4534
4534
  - coordinates
4535
4535
  - type_hide
4536
- entity_unique_id: varint64
4536
+ entity_unique_id: zigzag64
4537
4537
  position: type ?
4538
4538
  if coordinates: vec3f
4539
4539
 
@@ -14171,7 +14171,7 @@
14171
14171
  },
14172
14172
  {
14173
14173
  "name": "entity_unique_id",
14174
- "type": "varint64"
14174
+ "type": "zigzag64"
14175
14175
  },
14176
14176
  {
14177
14177
  "name": "position",
@@ -4524,7 +4524,7 @@ packet_player_location:
4524
4524
  type: li32 =>
4525
4525
  - coordinates
4526
4526
  - type_hide
4527
- entity_unique_id: varint64
4527
+ entity_unique_id: zigzag64
4528
4528
  position: type ?
4529
4529
  if coordinates: vec3f
4530
4530
 
@@ -14167,7 +14167,7 @@
14167
14167
  },
14168
14168
  {
14169
14169
  "name": "entity_unique_id",
14170
- "type": "varint64"
14170
+ "type": "zigzag64"
14171
14171
  },
14172
14172
  {
14173
14173
  "name": "position",
@@ -4529,7 +4529,7 @@ packet_player_location:
4529
4529
  type: li32 =>
4530
4530
  - coordinates
4531
4531
  - type_hide
4532
- entity_unique_id: varint64
4532
+ entity_unique_id: zigzag64
4533
4533
  position: type ?
4534
4534
  if coordinates: vec3f
4535
4535
 
@@ -14331,7 +14331,7 @@
14331
14331
  },
14332
14332
  {
14333
14333
  "name": "entity_unique_id",
14334
- "type": "varint64"
14334
+ "type": "zigzag64"
14335
14335
  },
14336
14336
  {
14337
14337
  "name": "position",
@@ -4529,7 +4529,7 @@ packet_player_location:
4529
4529
  type: li32 =>
4530
4530
  - coordinates
4531
4531
  - type_hide
4532
- entity_unique_id: varint64
4532
+ entity_unique_id: zigzag64
4533
4533
  position: type ?
4534
4534
  if coordinates: vec3f
4535
4535
 
@@ -14331,7 +14331,7 @@
14331
14331
  },
14332
14332
  {
14333
14333
  "name": "entity_unique_id",
14334
- "type": "varint64"
14334
+ "type": "zigzag64"
14335
14335
  },
14336
14336
  {
14337
14337
  "name": "position",
@@ -3186,30 +3186,7 @@
3186
3186
  [
3187
3187
  {
3188
3188
  "name": "type",
3189
- "type": [
3190
- "mapper",
3191
- {
3192
- "type": "varint",
3193
- "mappings": {
3194
- "0": "player",
3195
- "1": "block",
3196
- "2": "minecart_block",
3197
- "3": "dev_console",
3198
- "4": "test",
3199
- "5": "automation_player",
3200
- "6": "client_automation",
3201
- "7": "dedicated_server",
3202
- "8": "entity",
3203
- "9": "virtual",
3204
- "10": "game_argument",
3205
- "11": "entity_server",
3206
- "12": "precompiled",
3207
- "13": "game_director_entity_server",
3208
- "14": "script",
3209
- "15": "executor"
3210
- }
3211
- }
3212
- ]
3189
+ "type": "string"
3213
3190
  },
3214
3191
  {
3215
3192
  "name": "uuid",
@@ -3221,32 +3198,7 @@
3221
3198
  },
3222
3199
  {
3223
3200
  "name": "player_entity_id",
3224
- "type": [
3225
- "switch",
3226
- {
3227
- "compareTo": "type",
3228
- "fields": {
3229
- "dev_console": [
3230
- "container",
3231
- [
3232
- {
3233
- "name": "player_entity_id",
3234
- "type": "zigzag64"
3235
- }
3236
- ]
3237
- ],
3238
- "test": [
3239
- "container",
3240
- [
3241
- {
3242
- "name": "player_entity_id",
3243
- "type": "zigzag64"
3244
- }
3245
- ]
3246
- ]
3247
- }
3248
- }
3249
- ]
3201
+ "type": "li64"
3250
3202
  }
3251
3203
  ]
3252
3204
  ],
@@ -9535,7 +9487,7 @@
9535
9487
  },
9536
9488
  {
9537
9489
  "name": "version",
9538
- "type": "varint"
9490
+ "type": "string"
9539
9491
  }
9540
9492
  ]
9541
9493
  ],
@@ -14438,7 +14390,7 @@
14438
14390
  },
14439
14391
  {
14440
14392
  "name": "entity_unique_id",
14441
- "type": "varint64"
14393
+ "type": "zigzag64"
14442
14394
  },
14443
14395
  {
14444
14396
  "name": "position",
@@ -4562,7 +4562,7 @@ packet_player_location:
4562
4562
  type: li32 =>
4563
4563
  - coordinates
4564
4564
  - type_hide
4565
- entity_unique_id: varint64
4565
+ entity_unique_id: zigzag64
4566
4566
  position: type ?
4567
4567
  if coordinates: vec3f
4568
4568
 
@@ -14096,7 +14096,7 @@
14096
14096
  },
14097
14097
  {
14098
14098
  "name": "entity_unique_id",
14099
- "type": "varint64"
14099
+ "type": "zigzag64"
14100
14100
  },
14101
14101
  {
14102
14102
  "name": "position",
@@ -4560,7 +4560,7 @@ packet_player_location:
4560
4560
  type: li32 =>
4561
4561
  - coordinates
4562
4562
  - type_hide
4563
- entity_unique_id: varint64
4563
+ entity_unique_id: zigzag64
4564
4564
  position: type ?
4565
4565
  if coordinates: vec3f
4566
4566
 
@@ -14153,7 +14153,7 @@
14153
14153
  },
14154
14154
  {
14155
14155
  "name": "entity_unique_id",
14156
- "type": "varint64"
14156
+ "type": "zigzag64"
14157
14157
  },
14158
14158
  {
14159
14159
  "name": "position",
@@ -4560,7 +4560,7 @@ packet_player_location:
4560
4560
  type: li32 =>
4561
4561
  - coordinates
4562
4562
  - type_hide
4563
- entity_unique_id: varint64
4563
+ entity_unique_id: zigzag64
4564
4564
  position: type ?
4565
4565
  if coordinates: vec3f
4566
4566
 
@@ -14153,7 +14153,7 @@
14153
14153
  },
14154
14154
  {
14155
14155
  "name": "entity_unique_id",
14156
- "type": "varint64"
14156
+ "type": "zigzag64"
14157
14157
  },
14158
14158
  {
14159
14159
  "name": "position",
@@ -1921,7 +1921,7 @@ packet_command_request:
1921
1921
  internal: bool
1922
1922
  # Specifies the version of the command to run, relative to the current Minecraft version. Should be set
1923
1923
  # to 52 as of 1.19.62
1924
- version: varint
1924
+ version: string
1925
1925
 
1926
1926
 
1927
1927
  # CommandBlockUpdate is sent by the client to update a command block at a specific position. The command
@@ -4511,7 +4511,7 @@ packet_player_location:
4511
4511
  type: li32 =>
4512
4512
  - coordinates
4513
4513
  - type_hide
4514
- entity_unique_id: varint64
4514
+ entity_unique_id: zigzag64
4515
4515
  position: type ?
4516
4516
  if coordinates: vec3f
4517
4517
 
@@ -1221,23 +1221,7 @@ CommandOrigin:
1221
1221
  # Origin is one of the values above that specifies the origin of the command. The origin may change,
1222
1222
  # depending on what part of the client actually called the command. The command may be issued by a
1223
1223
  # websocket server, for example.
1224
- type: varint =>
1225
- 0: player
1226
- 1: block
1227
- 2: minecart_block
1228
- 3: dev_console
1229
- 4: test
1230
- 5: automation_player
1231
- 6: client_automation
1232
- 7: dedicated_server
1233
- 8: entity
1234
- 9: virtual
1235
- 10: game_argument
1236
- 11: entity_server
1237
- 12: precompiled
1238
- 13: game_director_entity_server # ?
1239
- 14: script
1240
- 15: executor
1224
+ type: string
1241
1225
 
1242
1226
  # UUID is the UUID of the command called. This UUID is a bit odd as it is not specified by the server. It
1243
1227
  # is not clear what exactly this UUID is meant to identify, but it is unique for each command called.
@@ -1250,9 +1234,7 @@ CommandOrigin:
1250
1234
  # PlayerUniqueID is an ID that identifies the player, the same as the one found in the AdventureSettings
1251
1235
  # packet. Filling it out with 0 seems to work.
1252
1236
  # PlayerUniqueID is only written if Origin is CommandOriginDevConsole or CommandOriginTest.
1253
- player_entity_id: type?
1254
- if dev_console or test:
1255
- player_entity_id: zigzag64
1237
+ player_entity_id: li64
1256
1238
 
1257
1239
  # MapTrackedObject is an object on a map that is 'tracked' by the client, such as an entity or a block. This
1258
1240
  # object may move, which is handled client-side.
@@ -1736,7 +1736,7 @@
1736
1736
  x: f64
1737
1737
  y: f64
1738
1738
  z: f64
1739
- playerKnockback?: vec3f
1739
+ playerKnockback?: vec3f64
1740
1740
  explosionParticle: Particle
1741
1741
  sound: ItemSoundHolder
1742
1742
  # MC: ClientboundForgetLevelChunkPacket
@@ -4975,7 +4975,7 @@
4975
4975
  "name": "playerKnockback",
4976
4976
  "type": [
4977
4977
  "option",
4978
- "vec3f"
4978
+ "vec3f64"
4979
4979
  ]
4980
4980
  },
4981
4981
  {
@@ -1848,7 +1848,7 @@
1848
1848
  x: f64
1849
1849
  y: f64
1850
1850
  z: f64
1851
- playerKnockback?: vec3f
1851
+ playerKnockback?: vec3f64
1852
1852
  explosionParticle: Particle
1853
1853
  sound: ItemSoundHolder
1854
1854
  # MC: ClientboundForgetLevelChunkPacket
@@ -5350,7 +5350,7 @@
5350
5350
  "name": "playerKnockback",
5351
5351
  "type": [
5352
5352
  "option",
5353
- "vec3f"
5353
+ "vec3f64"
5354
5354
  ]
5355
5355
  },
5356
5356
  {
@@ -1877,7 +1877,7 @@
1877
1877
  x: f64
1878
1878
  y: f64
1879
1879
  z: f64
1880
- playerKnockback?: vec3f
1880
+ playerKnockback?: vec3f64
1881
1881
  explosionParticle: Particle
1882
1882
  sound: ItemSoundHolder
1883
1883
  # MC: ClientboundForgetLevelChunkPacket
@@ -5440,7 +5440,7 @@
5440
5440
  "name": "playerKnockback",
5441
5441
  "type": [
5442
5442
  "option",
5443
- "vec3f"
5443
+ "vec3f64"
5444
5444
  ]
5445
5445
  },
5446
5446
  {
@@ -5440,7 +5440,7 @@
5440
5440
  "name": "playerKnockback",
5441
5441
  "type": [
5442
5442
  "option",
5443
- "vec3f"
5443
+ "vec3f64"
5444
5444
  ]
5445
5445
  },
5446
5446
  {
@@ -1877,7 +1877,7 @@
1877
1877
  x: f64
1878
1878
  y: f64
1879
1879
  z: f64
1880
- playerKnockback?: vec3f
1880
+ playerKnockback?: vec3f64
1881
1881
  explosionParticle: Particle
1882
1882
  sound: ItemSoundHolder
1883
1883
  # MC: ClientboundForgetLevelChunkPacket
@@ -1,3 +1,11 @@
1
+ ## 3.102.3
2
+ * [bedrock protocol: use ZigZag64 instead of VarInt64 in packet_player_location (#1081)](https://github.com/PrismarineJS/minecraft-data/commit/803fce17e9cbefdba4013a772698c68a7792bb7f) (thanks @Snowbelldog)
3
+ * [pc: Fix packet_explosion partial packet issue 1.21.4 - 1.21.8 (#1114)](https://github.com/PrismarineJS/minecraft-data/commit/c7048f26a8f60f75f3634817b4507bc49b575fae) (thanks @Rohan2460)
4
+ * [bedrock: Fix 1.21.130 protocol command request origin (#1132)](https://github.com/PrismarineJS/minecraft-data/commit/d8ac281faba737d27bccc627ca0e1bd9b5231315) (thanks @mc-zuri)
5
+
6
+ ## 3.102.2
7
+ * [Revert "bedrock: fix type for packet_command_request.version in 1.21.130 (#1127)" (#1133)](https://github.com/PrismarineJS/minecraft-data/commit/96cb35679d536f2811d765b2f3bbcb7dc2855ac4) (thanks @extremeheat)
8
+
1
9
  ## 3.102.1
2
10
  * [bedrock: fix type for packet_biome_definition_list in 1.21.111+ (#1129)](https://github.com/PrismarineJS/minecraft-data/commit/aa8c52f8f8e53f6340ad4ee222b50aa2f4ad525f) (thanks @mc-zuri)
3
11
  * [bedrock: fix type for packet_command_request.version in 1.21.130 (#1127)](https://github.com/PrismarineJS/minecraft-data/commit/cf5fbc5bf7638a334834e66c8fc3efaf14a56519) (thanks @mc-zuri)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minecraft-data",
3
- "version": "3.102.1",
3
+ "version": "3.102.3",
4
4
  "description": "Provide easy access to minecraft data in node.js",
5
5
  "main": "index.js",
6
6
  "tonicExampleFilename": "example.js",