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
@@ -1,50 +1,86 @@
1
1
  [
2
2
  {
3
3
  "name": "maxHealth",
4
- "resource": "generic.maxHealth"
4
+ "resource": "generic.maxHealth",
5
+ "default": 20,
6
+ "min": 1,
7
+ "max": 1024
5
8
  },
6
9
  {
7
10
  "name": "followRange",
8
- "resource": "generic.followRange"
11
+ "resource": "generic.followRange",
12
+ "default": 32,
13
+ "min": 0,
14
+ "max": 2048
9
15
  },
10
16
  {
11
17
  "name": "knockbackResistance",
12
- "resource": "generic.knockbackResistance"
18
+ "resource": "generic.knockbackResistance",
19
+ "default": 0,
20
+ "min": 0,
21
+ "max": 1
13
22
  },
14
23
  {
15
24
  "name": "movementSpeed",
16
- "resource": "generic.movementSpeed"
25
+ "resource": "generic.movementSpeed",
26
+ "default": 0.7,
27
+ "min": 0,
28
+ "max": 1024
17
29
  },
18
30
  {
19
31
  "name": "attackDamage",
20
- "resource": "generic.attackDamage"
32
+ "resource": "generic.attackDamage",
33
+ "default": 2,
34
+ "min": 0,
35
+ "max": 2048
21
36
  },
22
37
  {
23
38
  "name": "horseJumpStrength",
24
- "resource": "horse.jumpStrength"
39
+ "resource": "horse.jumpStrength",
40
+ "default": 0.7,
41
+ "min": 0,
42
+ "max": 2
25
43
  },
26
44
  {
27
45
  "name": "zombieSpawnReinforcements",
28
- "resource": "zombie.spawnReinforcements"
46
+ "resource": "zombie.spawnReinforcements",
47
+ "default": 0,
48
+ "min": 0,
49
+ "max": 1
29
50
  },
30
51
  {
31
52
  "name": "attackSpeed",
32
- "resource": "generic.attackSpeed"
53
+ "resource": "generic.attackSpeed",
54
+ "default": 4,
55
+ "min": 0,
56
+ "max": 1024
33
57
  },
34
58
  {
35
59
  "name": "flyingSpeed",
36
- "resource": "generic.flyingSpeed"
60
+ "resource": "generic.flyingSpeed",
61
+ "default": 0.4,
62
+ "min": 0,
63
+ "max": 1024
37
64
  },
38
65
  {
39
66
  "name": "attackKnockback",
40
- "resource": "generic.attackKnockback"
67
+ "resource": "generic.attackKnockback",
68
+ "default": 0,
69
+ "min": 0,
70
+ "max": 5
41
71
  },
42
72
  {
43
- "name": "armor",
44
- "resource": "generic.armor"
73
+ "name": "armorHealth",
74
+ "resource": "generic.armor",
75
+ "default": 0,
76
+ "min": 0,
77
+ "max": 30
45
78
  },
46
79
  {
47
80
  "name": "armorToughness",
48
- "resource": "generic.armorToughness"
81
+ "resource": "generic.armorToughness",
82
+ "default": 0,
83
+ "min": 0,
84
+ "max": 20
49
85
  }
50
86
  ]
@@ -1,54 +1,93 @@
1
1
  [
2
2
  {
3
3
  "name": "maxHealth",
4
- "resource": "generic.maxHealth"
4
+ "resource": "generic.maxHealth",
5
+ "default": 20,
6
+ "min": 1,
7
+ "max": 1024
5
8
  },
6
9
  {
7
10
  "name": "followRange",
8
- "resource": "generic.followRange"
11
+ "resource": "generic.followRange",
12
+ "default": 32,
13
+ "min": 0,
14
+ "max": 2048
9
15
  },
10
16
  {
11
17
  "name": "knockbackResistance",
12
- "resource": "generic.knockbackResistance"
18
+ "resource": "generic.knockbackResistance",
19
+ "default": 0,
20
+ "min": 0,
21
+ "max": 1
13
22
  },
14
23
  {
15
24
  "name": "movementSpeed",
16
- "resource": "generic.movementSpeed"
25
+ "resource": "generic.movementSpeed",
26
+ "default": 0.7,
27
+ "min": 0,
28
+ "max": 1024
17
29
  },
18
30
  {
19
31
  "name": "attackDamage",
20
- "resource": "generic.attackDamage"
32
+ "resource": "generic.attackDamage",
33
+ "default": 2,
34
+ "min": 0,
35
+ "max": 2048
21
36
  },
22
37
  {
23
38
  "name": "horseJumpStrength",
24
- "resource": "horse.jumpStrength"
39
+ "resource": "horse.jumpStrength",
40
+ "default": 0.7,
41
+ "min": 0,
42
+ "max": 2
25
43
  },
26
44
  {
27
45
  "name": "zombieSpawnReinforcements",
28
- "resource": "zombie.spawnReinforcements"
46
+ "resource": "zombie.spawnReinforcements",
47
+ "default": 0,
48
+ "min": 0,
49
+ "max": 1
29
50
  },
30
51
  {
31
52
  "name": "attackSpeed",
32
- "resource": "generic.attackSpeed"
53
+ "resource": "generic.attackSpeed",
54
+ "default": 4,
55
+ "min": 0,
56
+ "max": 1024
33
57
  },
34
58
  {
35
59
  "name": "flyingSpeed",
36
- "resource": "generic.flyingSpeed"
60
+ "resource": "generic.flyingSpeed",
61
+ "default": 0.4,
62
+ "min": 0,
63
+ "max": 1024
37
64
  },
38
65
  {
39
66
  "name": "attackKnockback",
40
- "resource": "generic.attackKnockback"
67
+ "resource": "generic.attackKnockback",
68
+ "default": 0,
69
+ "min": 0,
70
+ "max": 5
41
71
  },
42
72
  {
43
- "name": "armor",
44
- "resource": "generic.armor"
73
+ "name": "armorHealth",
74
+ "resource": "generic.armor",
75
+ "default": 0,
76
+ "min": 0,
77
+ "max": 30
45
78
  },
46
79
  {
47
80
  "name": "armorToughness",
48
- "resource": "generic.armorToughness"
81
+ "resource": "generic.armorToughness",
82
+ "default": 0,
83
+ "min": 0,
84
+ "max": 20
49
85
  },
50
86
  {
51
87
  "name": "luck",
52
- "resource": "generic.luck"
88
+ "resource": "generic.luck",
89
+ "default": 0,
90
+ "min": -1024,
91
+ "max": 1024
53
92
  }
54
93
  ]
@@ -731,5 +731,10 @@
731
731
  "name": "multiSidedSigns",
732
732
  "description": "Signs can have text on the front and back",
733
733
  "versions": ["1.20", "latest"]
734
+ },
735
+ {
736
+ "name": "explicitMaxDurability",
737
+ "description": "Items with maximum durability have explicit NBT data Damage:0",
738
+ "versions": ["1.15_major", "latest"]
734
739
  }
735
740
  ]
@@ -1,3 +1,17 @@
1
+ ## 3.41.0
2
+ * [Add explicitMaxDurability feature (#744)](https://github.com/PrismarineJS/minecraft-data/commit/e9bea106cda498671c11d62d2bb9d22accd7551a) (thanks @frej4189)
3
+ * [Update attributes schema, add bedrock data (#692)](https://github.com/PrismarineJS/minecraft-data/commit/fa4c64ea7c144bced0560b9b06c6eee2a25991f6) (thanks @extremeheat)
4
+ * [Fix values for enum type in available_commands packet (#742)](https://github.com/PrismarineJS/minecraft-data/commit/b04d0940925247e7aa45434094eb7b4b119322f1) (thanks @CreeperG16)
5
+ * [fix `command_node` (#740)](https://github.com/PrismarineJS/minecraft-data/commit/099a80ddad349bb15ff4c02407a233a555a8a83d) (thanks @Nickid2018)
6
+ * [Particle changes (#739)](https://github.com/PrismarineJS/minecraft-data/commit/787107dd4da145babde00d8708bb714f445d008f) (thanks @PondWader)
7
+ * [damage_event packet fix (#738)](https://github.com/PrismarineJS/minecraft-data/commit/37015f4fad97a9b2a91333b38bc22c4b6f5909e7) (thanks @PondWader)
8
+
9
+ ## 3.40.0
10
+ * [Bedrock 1.20.10 protocol support (#734)](https://github.com/PrismarineJS/minecraft-data/commit/fa521866fb2c50af30d072413b2a12a5a2a5eb45) (thanks @CreeperG16)
11
+ * [Changes to 1.19.3, 1.19.4 and 1.20 protocols to fix packet_entity_sound_effect and packet_sound_effect to include optional soundEvent argument (#731)](https://github.com/PrismarineJS/minecraft-data/commit/8ab8476ae6da4a0d1f86c30bfc2120b7d417426b) (thanks @TheRedXD)
12
+ * [Bedrock protocol changes (#730)](https://github.com/PrismarineJS/minecraft-data/commit/f00c2ccc5a0763bc04db48705772df58158cf0dd) (thanks @irkmandeer)
13
+ * [Fixed typo in dataPaths.json for bedrock 1.19.21 (#726)](https://github.com/PrismarineJS/minecraft-data/commit/8f1ba18c79b4e1adffa4079739cb3663bdeca792) (thanks @irkmandeer)
14
+
1
15
  ## 3.39.0
2
16
  * [Add commands workflow (#727)](https://github.com/PrismarineJS/minecraft-data/commit/ecc33128220bdb20dc813b484d5374a9bdd26d40) (thanks @extremeheat)
3
17
  * [bedrock: Fix chunk request packet field in protocol (#725)](https://github.com/PrismarineJS/minecraft-data/commit/57e5888d8876a16a6011757065a1e7494ac25483) (thanks @irkmandeer)
@@ -14,9 +14,21 @@
14
14
  "description": "The name of an attribute",
15
15
  "type": "string",
16
16
  "pattern": "\\S+"
17
+ },
18
+ "min": {
19
+ "description": "The minimum value of an attribute",
20
+ "type": "number"
21
+ },
22
+ "max": {
23
+ "description": "The maximum value of an attribute",
24
+ "type": "number"
25
+ },
26
+ "default": {
27
+ "description": "The default value of an attribute",
28
+ "type": "number"
17
29
  }
18
30
  },
19
- "required": ["resource", "name"],
31
+ "required": ["resource", "name", "min", "max", "default"],
20
32
  "additionalProperties":false
21
33
  }
22
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minecraft-data",
3
- "version": "3.39.0",
3
+ "version": "3.41.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
  "minecraft-packets": "^1.4.0",
40
40
  "mocha": "^10.0.0",
41
41
  "standard": "^17.0.0",
42
- "typescript": "~5.0.4"
42
+ "typescript": "~5.1.6"
43
43
  },
44
44
  "dependencies": {}
45
45
  }