minecraft-data 3.58.0 → 3.59.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/doc/history.md
CHANGED
package/index.d.ts
CHANGED
|
@@ -971,6 +971,9 @@ declare namespace MinecraftData {
|
|
|
971
971
|
/** `1.13 - latest`
|
|
972
972
|
* custom channel is an identifier starting in minecraft namespace */
|
|
973
973
|
"customChannelIdentifier": boolean;
|
|
974
|
+
/** `1.17 - 1.18.2`
|
|
975
|
+
* dimensionData is available, providing an additional information about the current dimension */
|
|
976
|
+
"dimensionDataIsAvailable": boolean;
|
|
974
977
|
/** `1.19 - latest`
|
|
975
978
|
* dimensionData like world height is exclusively in the codec in login packet */
|
|
976
979
|
"dimensionDataInCodec": boolean;
|
|
@@ -1061,9 +1064,6 @@ declare namespace MinecraftData {
|
|
|
1061
1064
|
/** `1.16.2 - latest`
|
|
1062
1065
|
* dimension is an nbt compound */
|
|
1063
1066
|
"dimensionIsAWorld": boolean;
|
|
1064
|
-
/** `1.17 - latest`
|
|
1065
|
-
* dimensionData is available, describing additional dimension information */
|
|
1066
|
-
"dimensionDataIsAvailable": boolean;
|
|
1067
1067
|
/** `1.8 - 1.12.2`
|
|
1068
1068
|
* chests don't have a type property */
|
|
1069
1069
|
"doesntHaveChestType": boolean;
|
|
@@ -1310,6 +1310,9 @@ declare namespace MinecraftData {
|
|
|
1310
1310
|
/** `1.20.2 - latest`
|
|
1311
1311
|
* in 1.20.2, a new configuration state was added to allow configuration after login */
|
|
1312
1312
|
"hasConfigurationState": boolean;
|
|
1313
|
+
/** `1.20.2 - latest`
|
|
1314
|
+
* Players and entities spawn with the same spawn_entity packet */
|
|
1315
|
+
"unifiedPlayerAndEntitySpawnPacket": boolean;
|
|
1313
1316
|
}
|
|
1314
1317
|
|
|
1315
1318
|
export interface Version {
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
"displayName": "Breeze",
|
|
302
302
|
"width": 0.6,
|
|
303
303
|
"height": 1.7,
|
|
304
|
-
"type": "
|
|
304
|
+
"type": "hostile",
|
|
305
305
|
"category": "Hostile mobs",
|
|
306
306
|
"metadataKeys": [
|
|
307
307
|
"shared_flags",
|
|
@@ -3157,7 +3157,7 @@
|
|
|
3157
3157
|
"displayName": "Wind Charge",
|
|
3158
3158
|
"width": 0.3125,
|
|
3159
3159
|
"height": 0.3125,
|
|
3160
|
-
"type": "
|
|
3160
|
+
"type": "projectile",
|
|
3161
3161
|
"category": "Projectiles",
|
|
3162
3162
|
"metadataKeys": [
|
|
3163
3163
|
"shared_flags",
|
|
@@ -3524,4 +3524,4 @@
|
|
|
3524
3524
|
"biting"
|
|
3525
3525
|
]
|
|
3526
3526
|
}
|
|
3527
|
-
]
|
|
3527
|
+
]
|
|
@@ -289,14 +289,6 @@
|
|
|
289
289
|
"description": "dimension is an nbt compound",
|
|
290
290
|
"versions": ["1.16.2", "latest"]
|
|
291
291
|
},
|
|
292
|
-
{
|
|
293
|
-
"name": "dimensionDataIsAvailable",
|
|
294
|
-
"description": "dimensionData is available, describing additional dimension information",
|
|
295
|
-
"versions": [
|
|
296
|
-
"1.17",
|
|
297
|
-
"latest"
|
|
298
|
-
]
|
|
299
|
-
},
|
|
300
292
|
{
|
|
301
293
|
"name": "doesntHaveChestType",
|
|
302
294
|
"description": "chests don't have a type property",
|
|
@@ -791,5 +783,10 @@
|
|
|
791
783
|
"name": "hasConfigurationState",
|
|
792
784
|
"description": "in 1.20.2, a new configuration state was added to allow configuration after login",
|
|
793
785
|
"versions": ["1.20.2", "latest"]
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"name": "unifiedPlayerAndEntitySpawnPacket",
|
|
789
|
+
"description": "Players and entities spawn with the same spawn_entity packet",
|
|
790
|
+
"versions": ["1.20.2", "latest"]
|
|
794
791
|
}
|
|
795
792
|
]
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## 3.59.1
|
|
2
|
+
* [Add pc feature `unifiedPlayerAndEntitySpawnPacket`](https://github.com/PrismarineJS/minecraft-data/commit/bd3c9757d0f9d40c797024ed09c3a5e99e815b77) (thanks @extremeheat)
|
|
3
|
+
* [Add an unicity test for features. (#824)](https://github.com/PrismarineJS/minecraft-data/commit/587a1341c83ef4fc1cf3353d35b09435a11f8217) (thanks @rom1504)
|
|
4
|
+
|
|
5
|
+
## 3.59.0
|
|
6
|
+
* [Fix breeze and wind charge being type player. (#826)](https://github.com/PrismarineJS/minecraft-data/commit/1792f0d8035aa275702b6080d4176ca14a3f578a) (thanks @wgaylord)
|
|
7
|
+
|
|
1
8
|
## 3.58.0
|
|
2
9
|
* [Update flying-squid PC features (#823)](https://github.com/PrismarineJS/minecraft-data/commit/344619e053614d6ab5c97bf6477c99699ad57a46) (thanks @Pandapip1)
|
|
3
10
|
|
|
@@ -57,4 +57,21 @@ minecraftTypes.forEach(function (type) {
|
|
|
57
57
|
})
|
|
58
58
|
})
|
|
59
59
|
})
|
|
60
|
+
describe('features.json quality is good', function () {
|
|
61
|
+
it('there is no duplicate feature in features.json', () => {
|
|
62
|
+
const features = require('../../../data/' + type + '/common/features.json')
|
|
63
|
+
const countPerFeature = {}
|
|
64
|
+
for (const feature of features) {
|
|
65
|
+
countPerFeature[feature.name] = countPerFeature[feature.name] ? countPerFeature[feature.name] + 1 : 1
|
|
66
|
+
}
|
|
67
|
+
let duplicateCount = 0
|
|
68
|
+
for (const [name, count] of Object.entries(countPerFeature)) {
|
|
69
|
+
if (count > 1) {
|
|
70
|
+
console.log(`feature ${name} is duplicated ${count} times, please remove ${count - 1}`)
|
|
71
|
+
duplicateCount += 1
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
assert.equal(duplicateCount, 0, `${duplicateCount} duplicates found. Please remove them.`)
|
|
75
|
+
})
|
|
76
|
+
})
|
|
60
77
|
})
|