minecraft-data 3.34.0 → 3.35.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 (36) hide show
  1. package/data.js +22 -1
  2. package/doc/history.md +4 -0
  3. package/minecraft-data/README.md +1 -1
  4. package/minecraft-data/data/bedrock/1.19.1/proto.yml +4 -0
  5. package/minecraft-data/data/bedrock/1.19.1/protocol.json +5 -1
  6. package/minecraft-data/data/bedrock/1.19.10/proto.yml +4 -0
  7. package/minecraft-data/data/bedrock/1.19.10/protocol.json +5 -1
  8. package/minecraft-data/data/bedrock/1.19.20/proto.yml +4 -0
  9. package/minecraft-data/data/bedrock/1.19.20/protocol.json +5 -1
  10. package/minecraft-data/data/bedrock/1.19.21/proto.yml +4 -0
  11. package/minecraft-data/data/bedrock/1.19.21/protocol.json +5 -1
  12. package/minecraft-data/data/bedrock/1.19.30/proto.yml +4 -0
  13. package/minecraft-data/data/bedrock/1.19.30/protocol.json +5 -1
  14. package/minecraft-data/data/bedrock/1.19.40/proto.yml +4 -0
  15. package/minecraft-data/data/bedrock/1.19.40/protocol.json +5 -1
  16. package/minecraft-data/data/bedrock/1.19.50/proto.yml +4 -0
  17. package/minecraft-data/data/bedrock/1.19.50/protocol.json +5 -1
  18. package/minecraft-data/data/bedrock/1.19.60/proto.yml +4 -0
  19. package/minecraft-data/data/bedrock/1.19.60/protocol.json +5 -1
  20. package/minecraft-data/data/bedrock/1.19.62/proto.yml +4 -0
  21. package/minecraft-data/data/bedrock/1.19.62/protocol.json +5 -1
  22. package/minecraft-data/data/bedrock/1.19.70/proto.yml +4 -0
  23. package/minecraft-data/data/bedrock/1.19.70/protocol.json +5 -1
  24. package/minecraft-data/data/bedrock/1.19.80/proto.yml +3926 -0
  25. package/minecraft-data/data/bedrock/1.19.80/protocol.json +5 -1
  26. package/minecraft-data/data/bedrock/1.19.80/types.yml +2087 -0
  27. package/minecraft-data/data/bedrock/1.20.0/protocol.json +11311 -0
  28. package/minecraft-data/data/bedrock/1.20.0/version.json +6 -0
  29. package/minecraft-data/data/bedrock/common/protocolVersions.json +6 -0
  30. package/minecraft-data/data/bedrock/common/versions.json +2 -1
  31. package/minecraft-data/data/bedrock/latest/proto.yml +22 -2
  32. package/minecraft-data/data/bedrock/latest/types.yml +7 -1
  33. package/minecraft-data/data/dataPaths.json +22 -1
  34. package/minecraft-data/data/pc/common/protocolVersions.json +8 -0
  35. package/minecraft-data/doc/history.md +3 -0
  36. package/package.json +2 -2
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 589,
3
+ "minecraftVersion": "1.20.0",
4
+ "majorVersion": "1.20",
5
+ "releaseType": "release"
6
+ }
@@ -1,4 +1,10 @@
1
1
  [
2
+ {
3
+ "version": 589,
4
+ "minecraftVersion": "1.20.0",
5
+ "majorVersion": "1.20",
6
+ "releaseType": "release"
7
+ },
2
8
  {
3
9
  "version": 582,
4
10
  "minecraftVersion": "1.19.80",
@@ -23,5 +23,6 @@
23
23
  "1.19.62",
24
24
  "1.19.63",
25
25
  "1.19.70",
26
- "1.19.80"
26
+ "1.19.80",
27
+ "1.20.0"
27
28
  ]
@@ -1,7 +1,7 @@
1
1
  # Created from MiNET and gophertunnel docs
2
2
  # The version below is the latest version this protocol schema was updated for.
3
3
  # The output protocol.json will be in the folder for the version
4
- !version: 1.19.80
4
+ !version: 1.20.0
5
5
 
6
6
  # Some ProtoDef aliases
7
7
  string: ["pstring",{"countType":"varint"}] # String / array types
@@ -429,7 +429,11 @@ packet_start_game:
429
429
  # ClientSideGeneration is true if the client should use the features registered in the FeatureRegistry packet to
430
430
  # generate terrain client-side to save on bandwidth.
431
431
  client_side_generation: bool
432
+ # UseBlockNetworkIDHashes is true if the client should use the hash of a block's name as its network ID rather than
433
+ # its index in the expected block palette. This is useful for servers that wish to support multiple protocol versions
434
+ # and custom blocks, but it will result in extra bytes being written for every block in a sub chunk palette.
432
435
  block_network_ids_are_hashes: bool
436
+ server_controlled_sound: bool
433
437
 
434
438
  packet_add_player:
435
439
  !id: 0x0c
@@ -1476,6 +1480,11 @@ packet_event:
1476
1480
  23: target_block_hit
1477
1481
  24: piglin_barter
1478
1482
  25: waxed_or_unwaxed_copper
1483
+ 26: code_builder_runtime_action
1484
+ 27: code_builder_scoreboard
1485
+ 28: strider_ridden_in_lava_in_overworld
1486
+ 29: sneak_close_to_sculk_sensor
1487
+ 30: careful_restoration
1479
1488
  use_player_id: u8
1480
1489
  event_data: restBuffer # Unknown data, TODO: add
1481
1490
 
@@ -2853,6 +2862,12 @@ packet_emote:
2853
2862
  entity_id: varint64
2854
2863
  # EmoteID is the ID of the emote to send.
2855
2864
  emote_id: string
2865
+ # XUID is the Xbox User ID of the player that sent the emote. It is only set when the emote is used by a player that
2866
+ # is authenticated with Xbox Live.
2867
+ xuid: string
2868
+ # PlatformID is an identifier only set for particular platforms when using an emote (presumably only for Nintendo
2869
+ # Switch). It is otherwise an empty string, and is used to decide which players are able to emote with each other.
2870
+ platform_id: DeviceOS
2856
2871
  # Flags is a combination of flags that change the way the Emote packet operates. When the server sends
2857
2872
  # this packet to other players, EmoteFlagServerSide must be present.
2858
2873
  flags: u8 =>
@@ -3882,7 +3897,12 @@ packet_unlocked_recipes:
3882
3897
  !id: 0xc7
3883
3898
  !bound: client
3884
3899
  # new_unlocks determines if new recipes have been unlocked since the packet was last sent.
3885
- new_unlocks: bool
3900
+ unlock_type: lu32 =>
3901
+ - empty
3902
+ - initially_unlocked
3903
+ - newly_unlocked
3904
+ - remove_unlocked
3905
+ - remove_all_unlocked
3886
3906
  # Recipes is a list of recipe names that have been unlocked.
3887
3907
  recipes: string[]varint
3888
3908
 
@@ -1045,7 +1045,9 @@ ItemStackRequest:
1045
1045
  - leave_event_text
1046
1046
  - slash_command_chat
1047
1047
  - cartography_text
1048
- - slash_command_non_chat
1048
+ - kick_command
1049
+ - title_command
1050
+ - summon_command
1049
1051
 
1050
1052
 
1051
1053
  # ItemStackResponse is a response to an individual ItemStackRequest.
@@ -1917,6 +1919,10 @@ SoundType: varint =>
1917
1919
  - BrushCompleted
1918
1920
  - ShatterDecoratedPot
1919
1921
  - BreakDecoratedPot
1922
+ - SnifferEggCrack
1923
+ - SnifferEggHatched
1924
+ - WaxedSignInteractFail
1925
+ - RecordRelic
1920
1926
 
1921
1927
  # TODO: remove?
1922
1928
  LegacyEntityType: li32 =>
@@ -1648,9 +1648,30 @@
1648
1648
  "steve": "bedrock/1.16.201",
1649
1649
  "blocksB2J": "bedrock/1.19.1",
1650
1650
  "blocksJ2B": "bedrock/1.19.1",
1651
+ "proto": "bedrock/1.19.80",
1652
+ "types": "bedrock/1.19.80",
1653
+ "version": "bedrock/1.19.80"
1654
+ },
1655
+ "1.20.0": {
1656
+ "blocks": "bedrock/1.19.1",
1657
+ "blockStates": "bedrock/1.19.1",
1658
+ "blockCollisionShapes": "bedrock/1.19.1",
1659
+ "biomes": "bedrock/1.19.1",
1660
+ "entities": "bedrock/1.19.1",
1661
+ "items": "bedrock/1.19.10",
1662
+ "recipes": "bedrock/1.19.10",
1663
+ "instruments": "bedrock/1.17.0",
1664
+ "materials": "pc/1.17",
1665
+ "enchantments": "bedrock/1.19.1",
1666
+ "effects": "pc/1.17",
1667
+ "protocol": "bedrock/1.20.0",
1668
+ "windows": "bedrock/1.16.201",
1669
+ "steve": "bedrock/1.16.201",
1670
+ "blocksB2J": "bedrock/1.19.1",
1671
+ "blocksJ2B": "bedrock/1.19.1",
1651
1672
  "proto": "bedrock/latest",
1652
1673
  "types": "bedrock/latest",
1653
- "version": "bedrock/1.19.80"
1674
+ "version": "bedrock/1.20.0"
1654
1675
  }
1655
1676
  }
1656
1677
  }
@@ -1,4 +1,12 @@
1
1
  [
2
+ {
3
+ "minecraftVersion": "1.20",
4
+ "version": 763,
5
+ "dataVersion": 3463,
6
+ "usesNetty": true,
7
+ "majorVersion": "1.20",
8
+ "releaseType": "release"
9
+ },
2
10
  {
3
11
  "minecraftVersion": "1.19.4",
4
12
  "version": 762,
@@ -1,3 +1,6 @@
1
+ ## 3.35.0
2
+ * Add bedrock 1.20.0 protocol data
3
+
1
4
  ## 3.34.0
2
5
  * Partially updated protocol to 1.19.4 (thqnks @extremeheat @TFBosoN @frej4189 @bradisson)
3
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minecraft-data",
3
- "version": "3.34.0",
3
+ "version": "3.35.0",
4
4
  "description": "Provide easy access to minecraft data in node.js",
5
5
  "main": "index.js",
6
6
  "tonicExampleFilename": "example.js",
@@ -39,7 +39,7 @@
39
39
  "mocha": "^10.0.0",
40
40
  "require-self": "^0.2.3",
41
41
  "standard": "^17.0.0",
42
- "typescript": "^5.0.4"
42
+ "typescript": "~5.0.4"
43
43
  },
44
44
  "dependencies": {}
45
45
  }