minecraft-data 3.24.0 → 3.25.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 +8 -0
- package/lib/supportsFeature.js +2 -0
- package/minecraft-data/data/pc/1.19.3/protocol.json +3 -3
- package/minecraft-data/data/pc/common/features.json +12 -2
- package/minecraft-data/data/pc/common/protocolVersions.json +7 -0
- package/minecraft-data/doc/history.md +8 -0
- package/package.json +1 -1
package/doc/history.md
CHANGED
package/lib/supportsFeature.js
CHANGED
|
@@ -34,6 +34,8 @@ module.exports = (versionObj, allVersions) => {
|
|
|
34
34
|
if (isVersionInRange(...versions)) map[featureName] = value
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
+
} else if (feature.version) {
|
|
38
|
+
map[featureName] = isVersionInRange(feature.version, feature.version)
|
|
37
39
|
} else {
|
|
38
40
|
const [minVer, maxVer] = feature.versions
|
|
39
41
|
map[featureName] = isVersionInRange(minVer, maxVer)
|
|
@@ -3257,7 +3257,7 @@
|
|
|
3257
3257
|
"type": "varint"
|
|
3258
3258
|
},
|
|
3259
3259
|
{
|
|
3260
|
-
"name": "
|
|
3260
|
+
"name": "signature",
|
|
3261
3261
|
"type": [
|
|
3262
3262
|
"option",
|
|
3263
3263
|
[
|
|
@@ -3285,7 +3285,7 @@
|
|
|
3285
3285
|
"type": "previousMessages"
|
|
3286
3286
|
},
|
|
3287
3287
|
{
|
|
3288
|
-
"name": "
|
|
3288
|
+
"name": "unsignedChatContent",
|
|
3289
3289
|
"type": [
|
|
3290
3290
|
"option",
|
|
3291
3291
|
"string"
|
|
@@ -6394,4 +6394,4 @@
|
|
|
6394
6394
|
}
|
|
6395
6395
|
}
|
|
6396
6396
|
}
|
|
6397
|
-
}
|
|
6397
|
+
}
|
|
@@ -662,7 +662,7 @@
|
|
|
662
662
|
{
|
|
663
663
|
"name": "signatureEncryption",
|
|
664
664
|
"description": "allows for usage of `signature` instead of verifyToken in serverbound packet_encryption_begin",
|
|
665
|
-
"versions": ["1.
|
|
665
|
+
"versions": ["1.19", "1.19.2"]
|
|
666
666
|
},
|
|
667
667
|
{
|
|
668
668
|
"name": "profileKeySignatureV2",
|
|
@@ -685,7 +685,17 @@
|
|
|
685
685
|
{
|
|
686
686
|
"name": "chainedChatWithHashing",
|
|
687
687
|
"description": "Signed messages are ordered and depend on previous messages, and message payloads are hashed before generating a signature",
|
|
688
|
-
"
|
|
688
|
+
"version": "1.19.2"
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"name": "useChatSessions",
|
|
692
|
+
"description": "Users generate a session with a unique ID upon login. Chat messages are signed using this ID and an index that is increased with each message",
|
|
693
|
+
"versions": ["1.19.3", "latest"]
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"name": "playerInfoActionIsBitfield",
|
|
697
|
+
"description": "The player_info packet may contain multiple actions in one packet. The actions field is a bitfield signifying what actions are included",
|
|
698
|
+
"versions": ["1.19.3", "latest"]
|
|
689
699
|
},
|
|
690
700
|
{
|
|
691
701
|
"name": "clientsideChatFormatting",
|