minecraft-data 3.83.1 → 3.84.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 (124) hide show
  1. package/.github/workflows/ci.yml +2 -2
  2. package/.github/workflows/npm-publish.yml +1 -1
  3. package/data.js +23 -1
  4. package/doc/history.md +4 -0
  5. package/minecraft-data/.github/workflows/bedrock-ci.yml +2 -2
  6. package/minecraft-data/.github/workflows/build-gh-pages.yml +2 -2
  7. package/minecraft-data/.github/workflows/ci.yml +1 -1
  8. package/minecraft-data/.github/workflows/update-helper.yml +1 -1
  9. package/minecraft-data/README.md +1 -1
  10. package/minecraft-data/data/bedrock/1.16.201/proto.yml +10 -0
  11. package/minecraft-data/data/bedrock/1.16.201/types.yml +13 -0
  12. package/minecraft-data/data/bedrock/1.16.210/proto.yml +10 -0
  13. package/minecraft-data/data/bedrock/1.16.210/protocol.json +11 -10
  14. package/minecraft-data/data/bedrock/1.16.210/types.yml +30 -10
  15. package/minecraft-data/data/bedrock/1.16.220/proto.yml +10 -0
  16. package/minecraft-data/data/bedrock/1.16.220/protocol.json +11 -10
  17. package/minecraft-data/data/bedrock/1.16.220/types.yml +30 -10
  18. package/minecraft-data/data/bedrock/1.17.0/proto.yml +10 -0
  19. package/minecraft-data/data/bedrock/1.17.0/protocol.json +11 -10
  20. package/minecraft-data/data/bedrock/1.17.0/types.yml +30 -10
  21. package/minecraft-data/data/bedrock/1.17.10/proto.yml +10 -0
  22. package/minecraft-data/data/bedrock/1.17.10/protocol.json +11 -10
  23. package/minecraft-data/data/bedrock/1.17.10/types.yml +30 -10
  24. package/minecraft-data/data/bedrock/1.17.30/proto.yml +10 -0
  25. package/minecraft-data/data/bedrock/1.17.30/protocol.json +11 -10
  26. package/minecraft-data/data/bedrock/1.17.30/types.yml +30 -10
  27. package/minecraft-data/data/bedrock/1.17.40/protocol.json +11 -10
  28. package/minecraft-data/data/bedrock/1.17.40/types.yml +30 -10
  29. package/minecraft-data/data/bedrock/1.18.0/proto.yml +10 -0
  30. package/minecraft-data/data/bedrock/1.18.0/protocol.json +11 -10
  31. package/minecraft-data/data/bedrock/1.18.0/types.yml +30 -10
  32. package/minecraft-data/data/bedrock/1.18.11/proto.yml +10 -0
  33. package/minecraft-data/data/bedrock/1.18.11/protocol.json +11 -10
  34. package/minecraft-data/data/bedrock/1.18.11/types.yml +30 -10
  35. package/minecraft-data/data/bedrock/1.18.30/proto.yml +11 -2
  36. package/minecraft-data/data/bedrock/1.18.30/protocol.json +15 -11
  37. package/minecraft-data/data/bedrock/1.18.30/types.yml +30 -10
  38. package/minecraft-data/data/bedrock/1.19.1/proto.yml +11 -2
  39. package/minecraft-data/data/bedrock/1.19.1/protocol.json +15 -11
  40. package/minecraft-data/data/bedrock/1.19.1/types.yml +30 -10
  41. package/minecraft-data/data/bedrock/1.19.10/proto.yml +11 -2
  42. package/minecraft-data/data/bedrock/1.19.10/protocol.json +15 -11
  43. package/minecraft-data/data/bedrock/1.19.10/types.yml +30 -10
  44. package/minecraft-data/data/bedrock/1.19.20/proto.yml +11 -2
  45. package/minecraft-data/data/bedrock/1.19.20/protocol.json +15 -11
  46. package/minecraft-data/data/bedrock/1.19.20/types.yml +30 -10
  47. package/minecraft-data/data/bedrock/1.19.21/proto.yml +11 -2
  48. package/minecraft-data/data/bedrock/1.19.21/protocol.json +15 -11
  49. package/minecraft-data/data/bedrock/1.19.21/types.yml +30 -10
  50. package/minecraft-data/data/bedrock/1.19.30/proto.yml +11 -2
  51. package/minecraft-data/data/bedrock/1.19.30/protocol.json +15 -11
  52. package/minecraft-data/data/bedrock/1.19.30/types.yml +30 -10
  53. package/minecraft-data/data/bedrock/1.19.40/proto.yml +11 -2
  54. package/minecraft-data/data/bedrock/1.19.40/protocol.json +15 -11
  55. package/minecraft-data/data/bedrock/1.19.40/types.yml +30 -10
  56. package/minecraft-data/data/bedrock/1.19.50/proto.yml +11 -2
  57. package/minecraft-data/data/bedrock/1.19.50/protocol.json +15 -11
  58. package/minecraft-data/data/bedrock/1.19.50/types.yml +30 -10
  59. package/minecraft-data/data/bedrock/1.19.60/proto.yml +11 -2
  60. package/minecraft-data/data/bedrock/1.19.60/protocol.json +15 -11
  61. package/minecraft-data/data/bedrock/1.19.60/types.yml +30 -10
  62. package/minecraft-data/data/bedrock/1.19.62/proto.yml +11 -2
  63. package/minecraft-data/data/bedrock/1.19.62/protocol.json +15 -11
  64. package/minecraft-data/data/bedrock/1.19.62/types.yml +30 -10
  65. package/minecraft-data/data/bedrock/1.19.70/proto.yml +11 -2
  66. package/minecraft-data/data/bedrock/1.19.70/protocol.json +15 -11
  67. package/minecraft-data/data/bedrock/1.19.70/types.yml +30 -10
  68. package/minecraft-data/data/bedrock/1.19.80/proto.yml +11 -2
  69. package/minecraft-data/data/bedrock/1.19.80/protocol.json +15 -11
  70. package/minecraft-data/data/bedrock/1.19.80/types.yml +30 -10
  71. package/minecraft-data/data/bedrock/1.20.0/proto.yml +11 -2
  72. package/minecraft-data/data/bedrock/1.20.0/protocol.json +15 -11
  73. package/minecraft-data/data/bedrock/1.20.0/types.yml +30 -10
  74. package/minecraft-data/data/bedrock/1.20.10/proto.yml +11 -2
  75. package/minecraft-data/data/bedrock/1.20.10/protocol.json +15 -11
  76. package/minecraft-data/data/bedrock/1.20.10/types.yml +30 -10
  77. package/minecraft-data/data/bedrock/1.20.30/proto.yml +43 -34
  78. package/minecraft-data/data/bedrock/1.20.30/protocol.json +15 -11
  79. package/minecraft-data/data/bedrock/1.20.30/types.yml +30 -10
  80. package/minecraft-data/data/bedrock/1.20.40/proto.yml +43 -34
  81. package/minecraft-data/data/bedrock/1.20.40/protocol.json +15 -11
  82. package/minecraft-data/data/bedrock/1.20.40/types.yml +30 -10
  83. package/minecraft-data/data/bedrock/1.20.50/proto.yml +43 -34
  84. package/minecraft-data/data/bedrock/1.20.50/protocol.json +15 -11
  85. package/minecraft-data/data/bedrock/1.20.50/types.yml +30 -10
  86. package/minecraft-data/data/bedrock/1.20.61/proto.yml +43 -34
  87. package/minecraft-data/data/bedrock/1.20.61/protocol.json +15 -11
  88. package/minecraft-data/data/bedrock/1.20.61/types.yml +30 -10
  89. package/minecraft-data/data/bedrock/1.20.71/proto.yml +43 -34
  90. package/minecraft-data/data/bedrock/1.20.71/protocol.json +15 -11
  91. package/minecraft-data/data/bedrock/1.20.71/types.yml +30 -10
  92. package/minecraft-data/data/bedrock/1.20.80/proto.yml +43 -34
  93. package/minecraft-data/data/bedrock/1.20.80/protocol.json +22 -12
  94. package/minecraft-data/data/bedrock/1.20.80/types.yml +36 -10
  95. package/minecraft-data/data/bedrock/1.21.0/proto.yml +43 -34
  96. package/minecraft-data/data/bedrock/1.21.0/protocol.json +34 -25
  97. package/minecraft-data/data/bedrock/1.21.0/types.yml +48 -23
  98. package/minecraft-data/data/bedrock/1.21.2/proto.yml +43 -34
  99. package/minecraft-data/data/bedrock/1.21.2/protocol.json +34 -25
  100. package/minecraft-data/data/bedrock/1.21.2/types.yml +48 -23
  101. package/minecraft-data/data/bedrock/1.21.20/proto.yml +43 -34
  102. package/minecraft-data/data/bedrock/1.21.20/protocol.json +35 -25
  103. package/minecraft-data/data/bedrock/1.21.20/types.yml +49 -23
  104. package/minecraft-data/data/bedrock/1.21.30/proto.yml +43 -34
  105. package/minecraft-data/data/bedrock/1.21.30/protocol.json +37 -25
  106. package/minecraft-data/data/bedrock/1.21.30/types.yml +51 -23
  107. package/minecraft-data/data/bedrock/1.21.42/proto.yml +44 -34
  108. package/minecraft-data/data/bedrock/1.21.42/protocol.json +44 -25
  109. package/minecraft-data/data/bedrock/1.21.42/types.yml +51 -23
  110. package/minecraft-data/data/bedrock/1.21.50/proto.yml +4410 -0
  111. package/minecraft-data/data/bedrock/1.21.50/protocol.json +44 -25
  112. package/minecraft-data/data/bedrock/1.21.50/types.yml +2466 -0
  113. package/minecraft-data/data/bedrock/1.21.60/language.json +10840 -0
  114. package/minecraft-data/data/bedrock/1.21.60/protocol.json +13244 -0
  115. package/minecraft-data/data/bedrock/1.21.60/version.json +6 -0
  116. package/minecraft-data/data/bedrock/common/features.json +5 -0
  117. package/minecraft-data/data/bedrock/common/protocolVersions.json +6 -0
  118. package/minecraft-data/data/bedrock/common/versions.json +2 -1
  119. package/minecraft-data/data/bedrock/latest/proto.yml +123 -46
  120. package/minecraft-data/data/bedrock/latest/types.yml +72 -33
  121. package/minecraft-data/data/dataPaths.json +24 -2
  122. package/minecraft-data/data/pc/common/protocolVersions.json +32 -0
  123. package/minecraft-data/doc/history.md +9 -0
  124. package/package.json +1 -1
@@ -9,7 +9,7 @@ jobs:
9
9
  runs-on: ubuntu-latest
10
10
  strategy:
11
11
  matrix:
12
- node-version: [18.x]
12
+ node-version: [22.x]
13
13
  steps:
14
14
  - uses: actions/checkout@v2
15
15
  with:
@@ -22,6 +22,6 @@ jobs:
22
22
  - run: npm test
23
23
  - name: Upload index.d.ts
24
24
  if: always()
25
- uses: actions/upload-artifact@v3.0.0
25
+ uses: actions/upload-artifact@v4.0.0
26
26
  with:
27
27
  path: index.d.ts
@@ -16,7 +16,7 @@ jobs:
16
16
  - name: Set up Node.js
17
17
  uses: actions/setup-node@master
18
18
  with:
19
- node-version: 18.0.0
19
+ node-version: 22.0.0
20
20
  - run: npm install
21
21
  - id: publish
22
22
  uses: JS-DevTools/npm-publish@v1
package/data.js CHANGED
@@ -2377,10 +2377,32 @@ module.exports =
2377
2377
  get steve () { return require("./minecraft-data/data/bedrock/1.21.50/steve.json") },
2378
2378
  get blocksB2J () { return require("./minecraft-data/data/bedrock/1.21.0/blocksB2J.json") },
2379
2379
  get blocksJ2B () { return require("./minecraft-data/data/bedrock/1.21.0/blocksJ2B.json") },
2380
- proto: __dirname + '/minecraft-data/data/bedrock/latest/proto.yml',
2380
+ proto: __dirname + '/minecraft-data/data/bedrock/1.21.50/proto.yml',
2381
2381
  types: __dirname + '/minecraft-data/data/bedrock/latest/types.yml',
2382
2382
  get version () { return require("./minecraft-data/data/bedrock/1.21.50/version.json") },
2383
2383
  get language () { return require("./minecraft-data/data/bedrock/1.20.10/language.json") }
2384
+ },
2385
+ '1.21.60': {
2386
+ get blocks () { return require("./minecraft-data/data/bedrock/1.21.0/blocks.json") },
2387
+ get blockStates () { return require("./minecraft-data/data/bedrock/1.21.0/blockStates.json") },
2388
+ get blockCollisionShapes () { return require("./minecraft-data/data/bedrock/1.21.0/blockCollisionShapes.json") },
2389
+ get biomes () { return require("./minecraft-data/data/bedrock/1.20.0/biomes.json") },
2390
+ get entities () { return require("./minecraft-data/data/bedrock/1.21.0/entities.json") },
2391
+ get items () { return require("./minecraft-data/data/bedrock/1.21.0/items.json") },
2392
+ get recipes () { return require("./minecraft-data/data/bedrock/1.19.10/recipes.json") },
2393
+ get instruments () { return require("./minecraft-data/data/bedrock/1.17.0/instruments.json") },
2394
+ get materials () { return require("./minecraft-data/data/pc/1.17/materials.json") },
2395
+ get enchantments () { return require("./minecraft-data/data/bedrock/1.19.1/enchantments.json") },
2396
+ get effects () { return require("./minecraft-data/data/pc/1.17/effects.json") },
2397
+ get protocol () { return require("./minecraft-data/data/bedrock/1.21.60/protocol.json") },
2398
+ get windows () { return require("./minecraft-data/data/bedrock/1.16.201/windows.json") },
2399
+ get steve () { return require("./minecraft-data/data/bedrock/1.21.50/steve.json") },
2400
+ get blocksB2J () { return require("./minecraft-data/data/bedrock/1.21.0/blocksB2J.json") },
2401
+ get blocksJ2B () { return require("./minecraft-data/data/bedrock/1.21.0/blocksJ2B.json") },
2402
+ proto: __dirname + '/minecraft-data/data/bedrock/latest/proto.yml',
2403
+ types: __dirname + '/minecraft-data/data/bedrock/latest/types.yml',
2404
+ get version () { return require("./minecraft-data/data/bedrock/1.21.60/version.json") },
2405
+ get language () { return require("./minecraft-data/data/bedrock/1.21.60/language.json") }
2384
2406
  }
2385
2407
  }
2386
2408
  }
package/doc/history.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # History
2
2
 
3
+ ## 3.84.0
4
+
5
+ * update `minecraft-data`
6
+
3
7
  ## 3.83.1
4
8
 
5
9
  * update `minecraft-data`
@@ -12,10 +12,10 @@ jobs:
12
12
  timeout-minutes: 14
13
13
 
14
14
  steps:
15
- - name: Use Node.js 18.x
15
+ - name: Use Node.js 22.x
16
16
  uses: actions/setup-node@v1
17
17
  with:
18
- node-version: 18.x
18
+ node-version: 22.x
19
19
  # Old versions of bedrock use old libssl that Ubuntu no longer ships with; need manual install
20
20
  - name: Install libssl 1.1
21
21
  run: |
@@ -10,10 +10,10 @@ jobs:
10
10
  with:
11
11
  fetch-depth: 0
12
12
  ref: web
13
- - name: Use Node.js 18.x
13
+ - name: Use Node.js 22.x
14
14
  uses: actions/setup-node@v1
15
15
  with:
16
- node-version: 18.x
16
+ node-version: 22.x
17
17
  - name: Run tool
18
18
  run: |
19
19
  npm install
@@ -13,7 +13,7 @@ jobs:
13
13
 
14
14
  strategy:
15
15
  matrix:
16
- node-version: [18.x]
16
+ node-version: [22.x]
17
17
 
18
18
  steps:
19
19
  - uses: actions/checkout@v2
@@ -14,7 +14,7 @@ jobs:
14
14
  - name: Set up Node.js
15
15
  uses: actions/setup-node@master
16
16
  with:
17
- node-version: 18.0.0
17
+ node-version: 22.0.0
18
18
  - name: Install Github Actions toolkit
19
19
  run: npm i gh-helpers
20
20
  working-directory: .github/helper-bot
@@ -10,7 +10,7 @@ Language independent module providing minecraft data for minecraft clients, serv
10
10
  Supports
11
11
  * Minecraft PC version 0.30c (classic), 1.7.10, 1.8.8, 1.9 (15w40b, 1.9, 1.9.1-pre2, 1.9.2, 1.9.4),
12
12
  1.10 (16w20a, 1.10-pre1, 1.10, 1.10.1, 1.10.2), 1.11 (16w35a, 1.11, 1.11.2), 1.12 (17w15a, 17w18b, 1.12-pre4, 1.12, 1.12.1, 1.12.2), 1.13 (17w50a, 1.13, 1.13.1, 1.13.2-pre1, 1.13.2-pre2, 1.13.2), 1.14 (1.14, 1.14.1, 1.14.3, 1.14.4), 1.15 (1.15, 1.15.1, 1.15.2), 1.16 (20w13b, 20w14a, 1.16-rc1, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5), 1.17, 1.17.1, 1.18 (1.18, 1.18.1, 1.18.2), 1.19 (1.19, 1.19.2, 1.19.3, 1.19.4), 1.20 (1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6), 1.21 (1.21, 1.21.1, 1.21.3)
13
- * Minecraft bedrock version 0.14, 0.15, 1.0, 1.16.201, 1.16.210, 1.16.220, 1.17.0, 1.17.10, 1.17.30, 1.17.40, 1.18.0, 1.18.11, 1.18.30, 1.19.1, 1.19.10, 1.19.20, 1.19.21, 1.19.30, 1.19.40, 1.19.50, 1.19.60, 1.19.62, 1.19.63, 1.19.70, 1.19.80, 1.20.0, 1.20.10, 1.20.30, 1.20.40, 1.20.50, 1.20.61, 1.20.71, 1.20.80, 1.21.0, 1.21.2, 1.21.20, 1.21.30, 1.21.42, 1.21.50
13
+ * Minecraft bedrock version 0.14, 0.15, 1.0, 1.16.201, 1.16.210, 1.16.220, 1.17.0, 1.17.10, 1.17.30, 1.17.40, 1.18.0, 1.18.11, 1.18.30, 1.19.1, 1.19.10, 1.19.20, 1.19.21, 1.19.30, 1.19.40, 1.19.50, 1.19.60, 1.19.62, 1.19.63, 1.19.70, 1.19.80, 1.20.0, 1.20.10, 1.20.30, 1.20.40, 1.20.50, 1.20.61, 1.20.71, 1.20.80, 1.21.0, 1.21.2, 1.21.20, 1.21.30, 1.21.42, 1.21.50, 1.21.60
14
14
 
15
15
 
16
16
  ## Wrappers
@@ -873,13 +873,23 @@ packet_animate:
873
873
  !id: 0x2c
874
874
  !bound: both
875
875
  action_id: zigzag32 =>
876
+ # Unused
876
877
  0: none
878
+ # Server bound notification to swing the player's arm. Server is expected to rebroadcast to all that should see the arm move.
879
+ # See also PlayerAuthInputPacket::InputData::MissedSwing for a very similar action
877
880
  1: swing_arm
878
881
  2: unknown
882
+ # Client bound notification to stop sleeping in a bed
879
883
  3: wake_up
884
+ # Client-bound notification to play critical hit particles
880
885
  4: critical_hit
886
+ # Unused
881
887
  5: magic_critical_hit
888
+ # Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
889
+ # See Player Auth Input for how to compute this in the latest protocol.
882
890
  128: row_right
891
+ # Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
892
+ # See Player Auth Input for how to compute this in the latest protocol.
883
893
  129: row_left
884
894
  runtime_entity_id: varint64
885
895
  _: action_id ?
@@ -306,10 +306,19 @@ Transaction:
306
306
  changed_slots: []varint
307
307
  slot_id: u8
308
308
  transaction_type: varint =>
309
+ # Sent for container UI operations depending on if ItemStackNetManager is enabled
309
310
  0: normal
311
+ # Sent from server to client to reject a transaction
310
312
  1: inventory_mismatch
313
+ # Sent for a player performing right click style item use.
314
+ # See the contained ItemUseInventoryTransaction::ActionType for the expected use case.
311
315
  2: item_use
316
+ # Sent for a player right clicking on an entity or attacking them.
317
+ # See ItemUseInventoryTransaction::ActionType for which it is.
312
318
  3: item_use_on_entity
319
+ # Sent when releasing right click on a chargeable item like a bow or finishing charging like a crossbow.
320
+ # This is different than canceling item use early which would be in Player Auth Input.
321
+ # See ItemReleaseInventoryTransaction::ActionType for which it is.
313
322
  4: item_release
314
323
  network_ids: bool
315
324
  inventory_actions: []varint
@@ -375,7 +384,9 @@ Transaction:
375
384
  # ActionType is the type of the UseItemOnEntity inventory transaction. It is one of the action types
376
385
  # found in the constants above, and specifies the way the player interacted with the entity.
377
386
  action_type: varint =>
387
+ # Right click interact with actor.
378
388
  0: interact
389
+ # Left click style attack of actor or elytra spin attack. Server is expected to deal damage to the entity with visuals.
379
390
  1: attack
380
391
  # HotBarSlot is the hot bar slot that the player was holding while clicking the entity. It should be used
381
392
  # to ensure that the hot bar slot and held item are correctly synchronised with the server.
@@ -396,7 +407,9 @@ Transaction:
396
407
  # As of 1.13, the ActionType is always 0. This field can be ignored, because releasing food (by consuming
397
408
  # it) or releasing a bow (to shoot an arrow) is essentially the same.
398
409
  action_type: varint =>
410
+ # Release right click and hold style item use, like firing a bow
399
411
  0: release
412
+ # Finish right click and hold style item use, like charging a crossbow
400
413
  1: consume
401
414
  # HotBarSlot is the hot bar slot that the player was holding while releasing the item. It should be used
402
415
  # to ensure that the hot bar slot and held item are correctly synchronised with the server.
@@ -894,13 +894,23 @@ packet_animate:
894
894
  !id: 0x2c
895
895
  !bound: both
896
896
  action_id: zigzag32 =>
897
+ # Unused
897
898
  0: none
899
+ # Server bound notification to swing the player's arm. Server is expected to rebroadcast to all that should see the arm move.
900
+ # See also PlayerAuthInputPacket::InputData::MissedSwing for a very similar action
898
901
  1: swing_arm
899
902
  2: unknown
903
+ # Client bound notification to stop sleeping in a bed
900
904
  3: wake_up
905
+ # Client-bound notification to play critical hit particles
901
906
  4: critical_hit
907
+ # Unused
902
908
  5: magic_critical_hit
909
+ # Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
910
+ # See Player Auth Input for how to compute this in the latest protocol.
903
911
  128: row_right
912
+ # Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
913
+ # See Player Auth Input for how to compute this in the latest protocol.
904
914
  129: row_left
905
915
  runtime_entity_id: varint64
906
916
  _: action_id ?
@@ -494,8 +494,9 @@
494
494
  "16": "minecart_display_block",
495
495
  "17": "minecart_display_offset",
496
496
  "18": "minecart_has_display",
497
- "20": "old_swell",
498
- "21": "swell_dir",
497
+ "19": "horse_type",
498
+ "20": "creeper_swell",
499
+ "21": "creeper_swell_direction",
499
500
  "22": "charge_amount",
500
501
  "23": "enderman_held_runtime_id",
501
502
  "24": "entity_age",
@@ -525,7 +526,7 @@
525
526
  "49": "wither_target_1",
526
527
  "50": "wither_target_2",
527
528
  "51": "wither_target_3",
528
- "52": "aerial_attack",
529
+ "52": "wither_aerial_attack",
529
530
  "53": "boundingbox_width",
530
531
  "54": "boundingbox_height",
531
532
  "55": "fuse_length",
@@ -533,7 +534,7 @@
533
534
  "57": "rider_rotation_locked",
534
535
  "58": "rider_max_rotation",
535
536
  "59": "rider_min_rotation",
536
- "60": "rider_rotation_offset",
537
+ "60": "rider_seat_rotation_offset",
537
538
  "61": "area_effect_cloud_radius",
538
539
  "62": "area_effect_cloud_waiting",
539
540
  "63": "area_effect_cloud_particle_id",
@@ -550,7 +551,7 @@
550
551
  "74": "controlling_rider_seat_number",
551
552
  "75": "strength",
552
553
  "76": "max_strength",
553
- "77": "spell_casting_color",
554
+ "77": "evoker_spell_casting_color",
554
555
  "78": "limited_life",
555
556
  "79": "armor_stand_pose_index",
556
557
  "80": "ender_crystal_time_offset",
@@ -568,11 +569,11 @@
568
569
  "92": "flags_extended",
569
570
  "93": "laying_amount",
570
571
  "94": "laying_amount_previous",
571
- "95": "duration",
572
- "96": "spawn_time",
573
- "97": "change_rate",
574
- "98": "change_on_pickup",
575
- "99": "pickup_count",
572
+ "95": "area_effect_cloud_duration",
573
+ "96": "area_effect_cloud_spawn_time",
574
+ "97": "area_effect_cloud_change_rate",
575
+ "98": "area_effect_cloud_change_on_pickup",
576
+ "99": "area_effect_cloud_pickup_count",
576
577
  "100": "interact_text",
577
578
  "101": "trade_tier",
578
579
  "102": "max_trade_tier",
@@ -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,7 +168,7 @@ 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
@@ -175,7 +176,7 @@ MetadataDictionary: []varint
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.
@@ -924,13 +924,23 @@ packet_animate:
924
924
  !id: 0x2c
925
925
  !bound: both
926
926
  action_id: zigzag32 =>
927
+ # Unused
927
928
  0: none
929
+ # Server bound notification to swing the player's arm. Server is expected to rebroadcast to all that should see the arm move.
930
+ # See also PlayerAuthInputPacket::InputData::MissedSwing for a very similar action
928
931
  1: swing_arm
929
932
  2: unknown
933
+ # Client bound notification to stop sleeping in a bed
930
934
  3: wake_up
935
+ # Client-bound notification to play critical hit particles
931
936
  4: critical_hit
937
+ # Unused
932
938
  5: magic_critical_hit
939
+ # Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
940
+ # See Player Auth Input for how to compute this in the latest protocol.
933
941
  128: row_right
942
+ # Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
943
+ # See Player Auth Input for how to compute this in the latest protocol.
934
944
  129: row_left
935
945
  runtime_entity_id: varint64
936
946
  _: action_id ?
@@ -671,8 +671,9 @@
671
671
  "16": "minecart_display_block",
672
672
  "17": "minecart_display_offset",
673
673
  "18": "minecart_has_display",
674
- "20": "old_swell",
675
- "21": "swell_dir",
674
+ "19": "horse_type",
675
+ "20": "creeper_swell",
676
+ "21": "creeper_swell_direction",
676
677
  "22": "charge_amount",
677
678
  "23": "enderman_held_runtime_id",
678
679
  "24": "entity_age",
@@ -702,7 +703,7 @@
702
703
  "49": "wither_target_1",
703
704
  "50": "wither_target_2",
704
705
  "51": "wither_target_3",
705
- "52": "aerial_attack",
706
+ "52": "wither_aerial_attack",
706
707
  "53": "boundingbox_width",
707
708
  "54": "boundingbox_height",
708
709
  "55": "fuse_length",
@@ -710,7 +711,7 @@
710
711
  "57": "rider_rotation_locked",
711
712
  "58": "rider_max_rotation",
712
713
  "59": "rider_min_rotation",
713
- "60": "rider_rotation_offset",
714
+ "60": "rider_seat_rotation_offset",
714
715
  "61": "area_effect_cloud_radius",
715
716
  "62": "area_effect_cloud_waiting",
716
717
  "63": "area_effect_cloud_particle_id",
@@ -727,7 +728,7 @@
727
728
  "74": "controlling_rider_seat_number",
728
729
  "75": "strength",
729
730
  "76": "max_strength",
730
- "77": "spell_casting_color",
731
+ "77": "evoker_spell_casting_color",
731
732
  "78": "limited_life",
732
733
  "79": "armor_stand_pose_index",
733
734
  "80": "ender_crystal_time_offset",
@@ -745,11 +746,11 @@
745
746
  "92": "flags_extended",
746
747
  "93": "laying_amount",
747
748
  "94": "laying_amount_previous",
748
- "95": "duration",
749
- "96": "spawn_time",
750
- "97": "change_rate",
751
- "98": "change_on_pickup",
752
- "99": "pickup_count",
749
+ "95": "area_effect_cloud_duration",
750
+ "96": "area_effect_cloud_spawn_time",
751
+ "97": "area_effect_cloud_change_rate",
752
+ "98": "area_effect_cloud_change_on_pickup",
753
+ "99": "area_effect_cloud_pickup_count",
753
754
  "100": "interact_text",
754
755
  "101": "trade_tier",
755
756
  "102": "max_trade_tier",
@@ -184,8 +184,9 @@ MetadataDictionary: []varint
184
184
  16: minecart_display_block #int (id | (data << 16))
185
185
  17: minecart_display_offset #int
186
186
  18: minecart_has_display #byte (must be 1 for minecart to show block inside)
187
- 20: old_swell
188
- 21: swell_dir
187
+ 19: horse_type
188
+ 20: creeper_swell
189
+ 21: creeper_swell_direction
189
190
  22: charge_amount
190
191
  23: enderman_held_runtime_id #short
191
192
  24: entity_age #short
@@ -215,7 +216,7 @@ MetadataDictionary: []varint
215
216
  49: wither_target_1 #long
216
217
  50: wither_target_2 #long
217
218
  51: wither_target_3 #long
218
- 52: aerial_attack
219
+ 52: wither_aerial_attack
219
220
  53: boundingbox_width
220
221
  54: boundingbox_height
221
222
  55: fuse_length
@@ -223,7 +224,7 @@ MetadataDictionary: []varint
223
224
  57: rider_rotation_locked #byte
224
225
  58: rider_max_rotation #float
225
226
  59: rider_min_rotation #float
226
- 60: rider_rotation_offset
227
+ 60: rider_seat_rotation_offset
227
228
  61: area_effect_cloud_radius #float
228
229
  62: area_effect_cloud_waiting #int
229
230
  63: area_effect_cloud_particle_id #int
@@ -240,7 +241,7 @@ MetadataDictionary: []varint
240
241
  74: controlling_rider_seat_number #byte
241
242
  75: strength #int
242
243
  76: max_strength #int
243
- 77: spell_casting_color #int
244
+ 77: evoker_spell_casting_color #int
244
245
  78: limited_life
245
246
  79: armor_stand_pose_index # int
246
247
  80: ender_crystal_time_offset # int
@@ -258,11 +259,11 @@ MetadataDictionary: []varint
258
259
  92: flags_extended
259
260
  93: laying_amount
260
261
  94: laying_amount_previous
261
- 95: duration
262
- 96: spawn_time
263
- 97: change_rate
264
- 98: change_on_pickup
265
- 99: pickup_count
262
+ 95: area_effect_cloud_duration
263
+ 96: area_effect_cloud_spawn_time
264
+ 97: area_effect_cloud_change_rate
265
+ 98: area_effect_cloud_change_on_pickup
266
+ 99: area_effect_cloud_pickup_count
266
267
  100: interact_text
267
268
  101: trade_tier
268
269
  102: max_trade_tier
@@ -460,8 +461,14 @@ TransactionUseItem:
460
461
  # ActionType is the type of the UseItem inventory transaction. It is one of the action types found above,
461
462
  # and specifies the way the player interacted with the block.
462
463
  action_type: varint =>
464
+ # Right click item use on a surface like placing a block
463
465
  0: click_block
466
+ # Start right click and hold style item use or potentially interact with nothing.
467
+ # If it is a usable item like food the server is expected to send a SetActorDataPacket with ActorFlags::USINGITEM along with the transaction response.
468
+ # While using an item, movement speed is slowed which will be reflected in the move vector in Player Auth Input.
464
469
  1: click_air
470
+ # Block breaking like left click. When using server auth block breaking as specified in StartGamePacket this is never sent.
471
+ # Instead, block actions are supplied in Player Auth Input.
465
472
  2: break_block
466
473
  # BlockPosition is the position of the block that was interacted with. This is only really a correct
467
474
  # block position if ActionType is not UseItemActionClickAir.
@@ -534,10 +541,19 @@ Transaction:
534
541
  legacy: TransactionLegacy
535
542
  # What type of transaction took place
536
543
  transaction_type: varint =>
544
+ # Sent for container UI operations depending on if ItemStackNetManager is enabled
537
545
  0: normal
546
+ # Sent from server to client to reject a transaction
538
547
  1: inventory_mismatch
548
+ # Sent for a player performing right click style item use.
549
+ # See the contained ItemUseInventoryTransaction::ActionType for the expected use case.
539
550
  2: item_use
551
+ # Sent for a player right clicking on an entity or attacking them.
552
+ # See ItemUseInventoryTransaction::ActionType for which it is.
540
553
  3: item_use_on_entity
554
+ # Sent when releasing right click on a chargeable item like a bow or finishing charging like a crossbow.
555
+ # This is different than canceling item use early which would be in Player Auth Input.
556
+ # See ItemReleaseInventoryTransaction::ActionType for which it is.
541
557
  4: item_release
542
558
  # The list of inventory internal actions in this packet, e.g. inventory GUI actions
543
559
  actions: TransactionActions
@@ -556,7 +572,9 @@ Transaction:
556
572
  # ActionType is the type of the UseItemOnEntity inventory transaction. It is one of the action types
557
573
  # found in the constants above, and specifies the way the player interacted with the entity.
558
574
  action_type: varint =>
575
+ # Right click interact with actor.
559
576
  0: interact
577
+ # Left click style attack of actor or elytra spin attack. Server is expected to deal damage to the entity with visuals.
560
578
  1: attack
561
579
  # HotBarSlot is the hot bar slot that the player was holding while clicking the entity. It should be used
562
580
  # to ensure that the hot bar slot and held item are correctly synchronised with the server.
@@ -577,7 +595,9 @@ Transaction:
577
595
  # As of 1.13, the ActionType is always 0. This field can be ignored, because releasing food (by consuming
578
596
  # it) or releasing a bow (to shoot an arrow) is essentially the same.
579
597
  action_type: varint =>
598
+ # Release right click and hold style item use, like firing a bow
580
599
  0: release
600
+ # Finish right click and hold style item use, like charging a crossbow
581
601
  1: consume
582
602
  # HotBarSlot is the hot bar slot that the player was holding while releasing the item. It should be used
583
603
  # to ensure that the hot bar slot and held item are correctly synchronised with the server.
@@ -925,13 +925,23 @@ packet_animate:
925
925
  !id: 0x2c
926
926
  !bound: both
927
927
  action_id: zigzag32 =>
928
+ # Unused
928
929
  0: none
930
+ # Server bound notification to swing the player's arm. Server is expected to rebroadcast to all that should see the arm move.
931
+ # See also PlayerAuthInputPacket::InputData::MissedSwing for a very similar action
929
932
  1: swing_arm
930
933
  2: unknown
934
+ # Client bound notification to stop sleeping in a bed
931
935
  3: wake_up
936
+ # Client-bound notification to play critical hit particles
932
937
  4: critical_hit
938
+ # Unused
933
939
  5: magic_critical_hit
940
+ # Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
941
+ # See Player Auth Input for how to compute this in the latest protocol.
934
942
  128: row_right
943
+ # Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
944
+ # See Player Auth Input for how to compute this in the latest protocol.
935
945
  129: row_left
936
946
  runtime_entity_id: varint64
937
947
  _: action_id ?