minecraft-data 2.113.3 → 2.115.1
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/data.js +24 -0
- package/doc/history.md +9 -0
- package/index.d.ts +20 -0
- package/minecraft-data/.github/ISSUE_TEMPLATE/blank_issue.md +4 -0
- package/minecraft-data/.github/ISSUE_TEMPLATE/new_version.md +14 -0
- package/minecraft-data/README.md +2 -1
- package/minecraft-data/data/bedrock/common/features.json +1 -0
- package/minecraft-data/data/dataPaths.json +24 -0
- package/minecraft-data/data/pc/1.18.2/protocol.json +5623 -0
- package/minecraft-data/data/pc/1.18.2/version.json +5 -0
- package/minecraft-data/data/pc/common/features.json +337 -0
- package/minecraft-data/data/pc/common/protocolVersions.json +7 -0
- package/minecraft-data/data/pc/common/versions.json +2 -1
- package/minecraft-data/doc/history.md +12 -0
- package/minecraft-data/schemas/features_schema.json +32 -0
- package/minecraft-data/tools/js/test/test.js +1 -1
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -1081,6 +1081,30 @@ module.exports =
|
|
|
1081
1081
|
get loginPacket () { return require("./minecraft-data/data/pc/1.18/loginPacket.json") },
|
|
1082
1082
|
get tints () { return require("./minecraft-data/data/pc/1.17/tints.json") },
|
|
1083
1083
|
get mapIcons () { return require("./minecraft-data/data/pc/1.16/mapIcons.json") }
|
|
1084
|
+
},
|
|
1085
|
+
'1.18.2': {
|
|
1086
|
+
get attributes () { return require("./minecraft-data/data/pc/1.17/attributes.json") },
|
|
1087
|
+
get blocks () { return require("./minecraft-data/data/pc/1.18/blocks.json") },
|
|
1088
|
+
get blockCollisionShapes () { return require("./minecraft-data/data/pc/1.17/blockCollisionShapes.json") },
|
|
1089
|
+
get biomes () { return require("./minecraft-data/data/pc/1.18/biomes.json") },
|
|
1090
|
+
get effects () { return require("./minecraft-data/data/pc/1.17/effects.json") },
|
|
1091
|
+
get items () { return require("./minecraft-data/data/pc/1.18/items.json") },
|
|
1092
|
+
get enchantments () { return require("./minecraft-data/data/pc/1.17/enchantments.json") },
|
|
1093
|
+
get recipes () { return require("./minecraft-data/data/pc/1.18/recipes.json") },
|
|
1094
|
+
get instruments () { return require("./minecraft-data/data/pc/1.16.1/instruments.json") },
|
|
1095
|
+
get materials () { return require("./minecraft-data/data/pc/1.18/materials.json") },
|
|
1096
|
+
get language () { return require("./minecraft-data/data/pc/1.18/language.json") },
|
|
1097
|
+
get entities () { return require("./minecraft-data/data/pc/1.18/entities.json") },
|
|
1098
|
+
get protocol () { return require("./minecraft-data/data/pc/1.18.2/protocol.json") },
|
|
1099
|
+
get windows () { return require("./minecraft-data/data/pc/1.16.1/windows.json") },
|
|
1100
|
+
get version () { return require("./minecraft-data/data/pc/1.18.2/version.json") },
|
|
1101
|
+
get foods () { return require("./minecraft-data/data/pc/1.17/foods.json") },
|
|
1102
|
+
get particles () { return require("./minecraft-data/data/pc/1.18/particles.json") },
|
|
1103
|
+
get blockLoot () { return require("./minecraft-data/data/pc/1.18/blockLoot.json") },
|
|
1104
|
+
get entityLoot () { return require("./minecraft-data/data/pc/1.18/entityLoot.json") },
|
|
1105
|
+
get loginPacket () { return require("./minecraft-data/data/pc/1.18/loginPacket.json") },
|
|
1106
|
+
get tints () { return require("./minecraft-data/data/pc/1.17/tints.json") },
|
|
1107
|
+
get mapIcons () { return require("./minecraft-data/data/pc/1.16/mapIcons.json") }
|
|
1084
1108
|
}
|
|
1085
1109
|
},
|
|
1086
1110
|
'bedrock': {
|
package/doc/history.md
CHANGED
package/index.d.ts
CHANGED
|
@@ -443,6 +443,26 @@ declare namespace MinecraftData {
|
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
|
|
446
|
+
type VersionForFeatureIdentification = string;
|
|
447
|
+
type Features = FeatureEntry[];
|
|
448
|
+
|
|
449
|
+
interface FeatureEntry {
|
|
450
|
+
/**
|
|
451
|
+
* The name of the feature
|
|
452
|
+
*/
|
|
453
|
+
name?: string;
|
|
454
|
+
/**
|
|
455
|
+
* The description of the feature
|
|
456
|
+
*/
|
|
457
|
+
description?: string;
|
|
458
|
+
/**
|
|
459
|
+
* A tuple that describes the range of versions in the range
|
|
460
|
+
*/
|
|
461
|
+
versions?: VersionForFeatureIdentification[];
|
|
462
|
+
[k: string]: unknown;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
|
|
446
466
|
type Foods = Food[];
|
|
447
467
|
|
|
448
468
|
interface Food {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: New Version
|
|
3
|
+
about: Add a new minecraft version to MCD
|
|
4
|
+
title: 'Add version: '
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
- [ ] Version folder containing "version.json" created
|
|
8
|
+
- [ ] "version.json" filled out appropriately
|
|
9
|
+
- [ ] Added version to dataPath.json
|
|
10
|
+
- [ ] "version" field of dataPath.json points to new version folder
|
|
11
|
+
- [ ] Version added to common/versions.json
|
|
12
|
+
- [ ] Version added to ReadMe
|
|
13
|
+
|
|
14
|
+
Additional Requirements For This Update:
|
package/minecraft-data/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Language independent module providing minecraft data for minecraft clients, serv
|
|
|
9
9
|
|
|
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
|
-
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
|
|
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)
|
|
13
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
|
|
14
14
|
|
|
15
15
|
## Wrappers
|
|
@@ -55,6 +55,7 @@ Data provided:
|
|
|
55
55
|
| Commands | a tree structure for vanilla minecraft server commands, and some info needed to implement sub-parsers.
|
|
56
56
|
| Legacy | mappings between legacy (1.12) and post-flattening (1.13+) blocks and items ids
|
|
57
57
|
| Skin data | (bedrock edition) Skin geometry and texture data for steve skin
|
|
58
|
+
| Features | This can be used to check is a specific feature is available in the current Minecraft version. This is usually only required for handling version-specific functionality.
|
|
58
59
|
|
|
59
60
|
See more information about this data in the [documentation](http://prismarinejs.github.io/minecraft-data/)
|
|
60
61
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
|
@@ -1080,6 +1080,30 @@
|
|
|
1080
1080
|
"loginPacket": "pc/1.18",
|
|
1081
1081
|
"tints": "pc/1.17",
|
|
1082
1082
|
"mapIcons": "pc/1.16"
|
|
1083
|
+
},
|
|
1084
|
+
"1.18.2": {
|
|
1085
|
+
"attributes": "pc/1.17",
|
|
1086
|
+
"blocks": "pc/1.18",
|
|
1087
|
+
"blockCollisionShapes": "pc/1.17",
|
|
1088
|
+
"biomes": "pc/1.18",
|
|
1089
|
+
"effects": "pc/1.17",
|
|
1090
|
+
"items": "pc/1.18",
|
|
1091
|
+
"enchantments": "pc/1.17",
|
|
1092
|
+
"recipes": "pc/1.18",
|
|
1093
|
+
"instruments": "pc/1.16.1",
|
|
1094
|
+
"materials": "pc/1.18",
|
|
1095
|
+
"language": "pc/1.18",
|
|
1096
|
+
"entities": "pc/1.18",
|
|
1097
|
+
"protocol": "pc/1.18.2",
|
|
1098
|
+
"windows": "pc/1.16.1",
|
|
1099
|
+
"version": "pc/1.18.2",
|
|
1100
|
+
"foods": "pc/1.17",
|
|
1101
|
+
"particles": "pc/1.18",
|
|
1102
|
+
"blockLoot": "pc/1.18",
|
|
1103
|
+
"entityLoot": "pc/1.18",
|
|
1104
|
+
"loginPacket": "pc/1.18",
|
|
1105
|
+
"tints": "pc/1.17",
|
|
1106
|
+
"mapIcons": "pc/1.16"
|
|
1083
1107
|
}
|
|
1084
1108
|
},
|
|
1085
1109
|
"bedrock": {
|