minecraft-data 2.221.0 → 3.2.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.
- package/.github/workflows/npm-publish.yml +17 -14
- package/data.js +24 -1
- package/doc/history.md +9 -0
- package/index.d.ts +14 -7
- package/lib/loader.js +1 -14
- package/minecraft-data/.git +1 -0
- package/minecraft-data/.github/workflows/tag.yml +11 -3
- package/minecraft-data/README.md +1 -1
- package/minecraft-data/data/bedrock/1.16.220/blockStates.json +6575 -6575
- package/minecraft-data/data/bedrock/1.17.0/instruments.json +1 -1
- package/minecraft-data/data/bedrock/1.17.40/blocks.json +3 -3
- package/minecraft-data/data/bedrock/1.18.0/blockLoot.json +56461 -0
- package/minecraft-data/data/bedrock/1.18.0/blocksJ2B.json +1 -0
- package/minecraft-data/data/bedrock/1.18.0/entityLoot.json +1246 -0
- package/minecraft-data/data/bedrock/1.18.0/recipes.json +1442 -1388
- package/minecraft-data/data/bedrock/1.18.11/blocks.json +3 -3
- package/minecraft-data/data/bedrock/1.18.11/proto.yml +3387 -0
- package/minecraft-data/data/bedrock/1.18.11/recipes.json +1442 -1388
- package/minecraft-data/data/bedrock/1.18.11/types.yml +1800 -0
- package/minecraft-data/data/bedrock/1.18.30/protocol.json +10098 -0
- package/minecraft-data/data/bedrock/1.18.30/version.json +6 -0
- package/minecraft-data/data/bedrock/common/protocolVersions.json +6 -0
- package/minecraft-data/data/bedrock/common/versions.json +2 -1
- package/minecraft-data/data/bedrock/latest/proto.yml +108 -17
- package/minecraft-data/data/bedrock/latest/types.yml +59 -2
- package/minecraft-data/data/dataPaths.json +24 -1
- package/minecraft-data/data/pc/1.10/items.json +1 -1
- package/minecraft-data/data/pc/1.11/items.json +18 -18
- package/minecraft-data/data/pc/1.12/instruments.json +1 -1
- package/minecraft-data/data/pc/1.12/items.json +18 -18
- package/minecraft-data/data/pc/1.13/instruments.json +1 -1
- package/minecraft-data/data/pc/1.13/items.json +1 -1
- package/minecraft-data/data/pc/1.13.2/instruments.json +1 -1
- package/minecraft-data/data/pc/1.13.2/items.json +1 -1
- package/minecraft-data/data/pc/1.14/items.json +1 -1
- package/minecraft-data/data/pc/1.14.4/instruments.json +1 -1
- package/minecraft-data/data/pc/1.14.4/items.json +1 -1
- package/minecraft-data/data/pc/1.15.2/instruments.json +1 -1
- package/minecraft-data/data/pc/1.15.2/items.json +1 -1
- package/minecraft-data/data/pc/1.16.1/instruments.json +1 -1
- package/minecraft-data/data/pc/1.16.1/items.json +1 -1
- package/minecraft-data/data/pc/1.16.2/items.json +1 -1
- package/minecraft-data/data/pc/1.17/biomes.json +134 -134
- package/minecraft-data/data/pc/1.17/items.json +1 -1
- package/minecraft-data/data/pc/1.18/biomes.json +62 -62
- package/minecraft-data/data/pc/1.7/items.json +1 -1
- package/minecraft-data/data/pc/1.8/items.json +1 -1
- package/minecraft-data/data/pc/1.9/items.json +1 -2
- package/minecraft-data/data/pc/common/protocolVersions.json +63 -0
- package/minecraft-data/doc/history.md +16 -0
- package/minecraft-data/schemas/biomes_schema.json +0 -4
- package/minecraft-data/schemas/blockLoot_schema.json +10 -0
- package/minecraft-data/schemas/blocks_schema.json +1 -1
- package/minecraft-data/schemas/entityLoot_schema.json +6 -0
- package/package.json +3 -3
- package/typings/index-template.d.ts +0 -3
|
@@ -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": "2.
|
|
3
|
+
"version": "3.2.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": "^
|
|
39
|
+
"mocha": "^10.0.0",
|
|
40
40
|
"require-self": "^0.2.3",
|
|
41
|
-
"standard": "^
|
|
41
|
+
"standard": "^17.0.0",
|
|
42
42
|
"typescript": "^4.0.2"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {}
|
|
@@ -135,9 +135,6 @@ export interface IndexedData {
|
|
|
135
135
|
protocol: any;
|
|
136
136
|
protocolComments: any;
|
|
137
137
|
|
|
138
|
-
findItemOrBlockById(id: number): Block | Item;
|
|
139
|
-
findItemOrBlockByName(name: string): Block | Item;
|
|
140
|
-
|
|
141
138
|
windows: { [id: number]: Window; };
|
|
142
139
|
windowsByName: { [name: string]: Window; };
|
|
143
140
|
windowsArray: Window[];
|