minecraft-data 3.0.0 → 3.3.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 (66) hide show
  1. package/.github/workflows/npm-publish.yml +17 -14
  2. package/data.js +24 -1
  3. package/doc/history.md +9 -0
  4. package/index.d.ts +14 -4
  5. package/minecraft-data/.git +1 -0
  6. package/minecraft-data/.github/workflows/tag.yml +11 -3
  7. package/minecraft-data/README.md +1 -1
  8. package/minecraft-data/data/bedrock/1.16.220/blockStates.json +6575 -6575
  9. package/minecraft-data/data/bedrock/1.17.0/instruments.json +1 -1
  10. package/minecraft-data/data/bedrock/1.17.40/blocks.json +3 -3
  11. package/minecraft-data/data/bedrock/1.18.0/blockLoot.json +56461 -0
  12. package/minecraft-data/data/bedrock/1.18.0/blocksJ2B.json +1 -0
  13. package/minecraft-data/data/bedrock/1.18.0/entityLoot.json +1246 -0
  14. package/minecraft-data/data/bedrock/1.18.0/proto.yml +2 -2
  15. package/minecraft-data/data/bedrock/1.18.0/protocol.json +8 -8
  16. package/minecraft-data/data/bedrock/1.18.0/recipes.json +1442 -1388
  17. package/minecraft-data/data/bedrock/1.18.0/types.yml +3 -3
  18. package/minecraft-data/data/bedrock/1.18.11/blocks.json +3 -3
  19. package/minecraft-data/data/bedrock/1.18.11/proto.yml +3387 -0
  20. package/minecraft-data/data/bedrock/1.18.11/protocol.json +8 -8
  21. package/minecraft-data/data/bedrock/1.18.11/recipes.json +1442 -1388
  22. package/minecraft-data/data/bedrock/1.18.11/types.yml +1800 -0
  23. package/minecraft-data/data/bedrock/1.18.30/blockCollisionShapes.json +863 -0
  24. package/minecraft-data/data/bedrock/1.18.30/blockStates.json +164203 -0
  25. package/minecraft-data/data/bedrock/1.18.30/blocks.json +12829 -0
  26. package/minecraft-data/data/bedrock/1.18.30/blocksB2J.json +6846 -0
  27. package/minecraft-data/data/bedrock/1.18.30/blocksJ2B.json +20344 -0
  28. package/minecraft-data/data/bedrock/1.18.30/items.json +9679 -0
  29. package/minecraft-data/data/bedrock/1.18.30/protocol.json +10098 -0
  30. package/minecraft-data/data/bedrock/1.18.30/recipes.json +16771 -0
  31. package/minecraft-data/data/bedrock/1.18.30/version.json +6 -0
  32. package/minecraft-data/data/bedrock/common/protocolVersions.json +6 -0
  33. package/minecraft-data/data/bedrock/common/versions.json +2 -1
  34. package/minecraft-data/data/bedrock/latest/proto.yml +110 -19
  35. package/minecraft-data/data/bedrock/latest/types.yml +62 -5
  36. package/minecraft-data/data/dataPaths.json +24 -1
  37. package/minecraft-data/data/pc/1.10/items.json +1 -1
  38. package/minecraft-data/data/pc/1.11/items.json +18 -18
  39. package/minecraft-data/data/pc/1.12/instruments.json +1 -1
  40. package/minecraft-data/data/pc/1.12/items.json +18 -18
  41. package/minecraft-data/data/pc/1.13/instruments.json +1 -1
  42. package/minecraft-data/data/pc/1.13/items.json +1 -1
  43. package/minecraft-data/data/pc/1.13.2/instruments.json +1 -1
  44. package/minecraft-data/data/pc/1.13.2/items.json +1 -1
  45. package/minecraft-data/data/pc/1.14/items.json +1 -1
  46. package/minecraft-data/data/pc/1.14.4/instruments.json +1 -1
  47. package/minecraft-data/data/pc/1.14.4/items.json +1 -1
  48. package/minecraft-data/data/pc/1.15.2/instruments.json +1 -1
  49. package/minecraft-data/data/pc/1.15.2/items.json +1 -1
  50. package/minecraft-data/data/pc/1.16.1/instruments.json +1 -1
  51. package/minecraft-data/data/pc/1.16.1/items.json +1 -1
  52. package/minecraft-data/data/pc/1.16.2/items.json +1 -1
  53. package/minecraft-data/data/pc/1.17/biomes.json +134 -134
  54. package/minecraft-data/data/pc/1.17/items.json +1 -1
  55. package/minecraft-data/data/pc/1.18/biomes.json +62 -62
  56. package/minecraft-data/data/pc/1.7/items.json +1 -1
  57. package/minecraft-data/data/pc/1.8/items.json +1 -1
  58. package/minecraft-data/data/pc/1.9/items.json +1 -2
  59. package/minecraft-data/data/pc/common/features.json +3 -3
  60. package/minecraft-data/data/pc/common/protocolVersions.json +98 -0
  61. package/minecraft-data/doc/history.md +20 -0
  62. package/minecraft-data/schemas/biomes_schema.json +0 -4
  63. package/minecraft-data/schemas/blockLoot_schema.json +10 -0
  64. package/minecraft-data/schemas/blocks_schema.json +1 -1
  65. package/minecraft-data/schemas/entityLoot_schema.json +6 -0
  66. package/package.json +3 -3
@@ -1,3 +1,23 @@
1
+ ## 3.3.0
2
+ * Update dimension descriptions (#565)
3
+ * Add 1.19-pre4 to pc/common/protocolVersions.json
4
+ * Add bedrock 1.18.30 block, item, recipe data
5
+ * bedrock: 1.18 protocol fixes
6
+ * Add 1.19 to common/protocolVersions.json
7
+
8
+ ## 3.2.0
9
+ * Fix 1.17+ biome colors (@Karang)
10
+ * Fix shulker box and ender pearl stack sizes (@RoseChilds)
11
+ * Fixed hardness & resistance of copper_ore (@sefirosweb)
12
+ * Fix guitar spelling in instruments.json (@MrAwesome)
13
+ * Add bedrock 1.18 block/entity loot data, recipe data fix (@extremeheat)
14
+
15
+ ## 3.1.1
16
+ * Fix Github CI release action
17
+
18
+ ## 3.1.0
19
+ * bedrock: Add 1.18.30 protocol data
20
+
1
21
  ## 3.0.0
2
22
  * remove findItemOrBlockById and findItemOrBlockByName entirely
3
23
 
@@ -29,10 +29,6 @@
29
29
  "description": "The type of precipitation: none, rain or snow",
30
30
  "type": "string"
31
31
  },
32
- "depth": {
33
- "description": "The depth of a biome",
34
- "type": "number"
35
- },
36
32
  "dimension": {
37
33
  "description": "The dimension of a biome: overworld, nether or end",
38
34
  "type": "string"
@@ -11,6 +11,10 @@
11
11
  "type": "string",
12
12
  "pattern": "\\S+"
13
13
  },
14
+ "states": {
15
+ "description": "The states of the block (Bedrock Edition)",
16
+ "type": "object"
17
+ },
14
18
  "drops": {
15
19
  "description": "The list of item drops",
16
20
  "type": "array",
@@ -23,6 +27,12 @@
23
27
  "description": "The name of the item being dropped",
24
28
  "type": "string"
25
29
  },
30
+ "metadata": {
31
+ "description": "The metadata of the item being dropped (Bedrock Edition)",
32
+ "type": "integer",
33
+ "minimum": 0,
34
+ "maximum": 127
35
+ },
26
36
  "dropChance": {
27
37
  "description": "The percent chance of the item drop to occur",
28
38
  "type": "number"
@@ -26,7 +26,7 @@
26
26
  "number",
27
27
  "null"
28
28
  ],
29
- "minimum": 0
29
+ "minimum": -1
30
30
  },
31
31
  "stackSize": {
32
32
  "description": "Stack size for a block",
@@ -23,6 +23,12 @@
23
23
  "description": "The name of the item being dropped",
24
24
  "type": "string"
25
25
  },
26
+ "metadata": {
27
+ "description": "The metadata of the item being dropped (Bedrock Edition)",
28
+ "type": "integer",
29
+ "minimum": 0,
30
+ "maximum": 127
31
+ },
26
32
  "dropChance": {
27
33
  "description": "The percent chance of the item drop to occur",
28
34
  "type": "number"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minecraft-data",
3
- "version": "3.0.0",
3
+ "version": "3.3.0",
4
4
  "description": "Provide easy access to minecraft data in node.js",
5
5
  "main": "index.js",
6
6
  "tonicExampleFilename": "example.js",
@@ -36,9 +36,9 @@
36
36
  "@types/node": "^17.0.2",
37
37
  "json-schema-to-typescript": "^10.0.3",
38
38
  "minecraft-packets": "^1.4.0",
39
- "mocha": "^9.0.0",
39
+ "mocha": "^10.0.0",
40
40
  "require-self": "^0.2.3",
41
- "standard": "^16.0.1",
41
+ "standard": "^17.0.0",
42
42
  "typescript": "^4.0.2"
43
43
  },
44
44
  "dependencies": {}