Add support for the version 1.21.1

This commit is contained in:
Madeline 2024-11-03 23:23:41 -05:00
parent 72d4b3687e
commit 0276d8656e
Signed by: 7cc5c4f330d47060
SSH key fingerprint: SHA256:oO39knK4Ms3Sk93ZEui6XuFW9LnLbXsy5kQ8I1GT9j8
2 changed files with 20 additions and 20 deletions

View file

@ -7,7 +7,7 @@ botv12 is a Minecraft bot originally designed for [Kaboom](https://kaboom.pw/) a
- a command core, to run commands quickly - a command core, to run commands quickly
- a hashing system, to enable trusted users to securely run certain commands in chat - a hashing system, to enable trusted users to securely run certain commands in chat
It supports all Minecraft versions from 1.13 to 1.20.6 that are supported by node-minecraft-protocol. It may work on other versions, however, support will not be provided for them. It supports all Minecraft versions from 1.13 to 1.21.1 that are supported by node-minecraft-protocol. It may work on other versions, however, support will not be provided for them.
If you are not sure if this code is safe to run, you can read through every line of code. You can also see the commit history by clicking on the (n) commits button, to make sure nobody has added any exploits or introduced vulnerabilities to the code. If you are not sure if this code is safe to run, you can read through every line of code. You can also see the commit history by clicking on the (n) commits button, to make sure nobody has added any exploits or introduced vulnerabilities to the code.

38
package-lock.json generated
View file

@ -36,18 +36,18 @@
} }
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "22.8.1", "version": "22.8.7",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.1.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.7.tgz",
"integrity": "sha512-k6Gi8Yyo8EtrNtkHXutUu2corfDf9su95VYVP10aGYMMROM6SAItZi0w1XszA6RtWTHSVp5OeFof37w0IEqCQg==", "integrity": "sha512-LidcG+2UeYIWcMuMUpBKOnryBWG/rnmOHQR5apjn8myTQcx3rinFRn7DcIFhMnS0PPFSC6OafdIKEad0lj6U0Q==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"undici-types": "~6.19.8" "undici-types": "~6.19.8"
} }
}, },
"node_modules/@types/readable-stream": { "node_modules/@types/readable-stream": {
"version": "4.0.16", "version": "4.0.18",
"resolved": "https://registry.npmjs.org/@types/readable-stream/-/readable-stream-4.0.16.tgz", "resolved": "https://registry.npmjs.org/@types/readable-stream/-/readable-stream-4.0.18.tgz",
"integrity": "sha512-Fvp+8OcU8PyV90KTk5tR/rI8OjD3MP5NUow5rjOsZo+9zxf4p4soJtK9j4V6yeG30TH6rZxqRaP4JLa8lNNTNQ==", "integrity": "sha512-21jK/1j+Wg+7jVw1xnSwy/2Q1VgVjWuFssbYGTREPUBeZ+rqVFl2udq0IkxzPC0ZhOzVceUbyIACFZKLqKEBlA==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@types/node": "*", "@types/node": "*",
@ -420,9 +420,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/minecraft-data": { "node_modules/minecraft-data": {
"version": "3.77.0", "version": "3.78.0",
"resolved": "https://registry.npmjs.org/minecraft-data/-/minecraft-data-3.77.0.tgz", "resolved": "https://registry.npmjs.org/minecraft-data/-/minecraft-data-3.78.0.tgz",
"integrity": "sha512-d3Q26aSFr9MxPimQKJWDXe2VVtaYr6e6ITd8RY8Gpb+FfuNoC9JGE3PyAI8v5Ia+jL06sjjVl3dkZQXS7TrXJQ==", "integrity": "sha512-Ssks8QD31lsoxqa7LySTqeP9romsfAbfsSGiUHiGMeqfxRi/PtOxGLyKD1BXB8V/tXLztFcbQYqzIhprDkPguw==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/minecraft-folder-path": { "node_modules/minecraft-folder-path": {
@ -432,9 +432,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/minecraft-protocol": { "node_modules/minecraft-protocol": {
"version": "1.49.0", "version": "1.50.0",
"resolved": "https://registry.npmjs.org/minecraft-protocol/-/minecraft-protocol-1.49.0.tgz", "resolved": "https://registry.npmjs.org/minecraft-protocol/-/minecraft-protocol-1.50.0.tgz",
"integrity": "sha512-NqaW4mdcFSdfozNRzM4pZC18LrdpeUCWUDv+Ozem9VsPsHCx+u+pfI3wkxZPOmLfC3f1nfKiF/f6EwK+VxovoA==", "integrity": "sha512-GiZy8g4YG0iZEKifX6ulCyhVnTDGZ1gH0ouUdxjo6xkKwp4KOf+ptbBgZ8G5+WHCumrI91+v/JYU07uCvKdi0w==",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"dependencies": { "dependencies": {
"@types/readable-stream": "^4.0.0", "@types/readable-stream": "^4.0.0",
@ -444,7 +444,7 @@
"endian-toggle": "^0.0.0", "endian-toggle": "^0.0.0",
"lodash.get": "^4.1.2", "lodash.get": "^4.1.2",
"lodash.merge": "^4.3.0", "lodash.merge": "^4.3.0",
"minecraft-data": "^3.75.0", "minecraft-data": "^3.78.0",
"minecraft-folder-path": "^1.2.0", "minecraft-folder-path": "^1.2.0",
"node-fetch": "^2.6.1", "node-fetch": "^2.6.1",
"node-rsa": "^0.4.2", "node-rsa": "^0.4.2",
@ -560,9 +560,9 @@
} }
}, },
"node_modules/prismarine-nbt": { "node_modules/prismarine-nbt": {
"version": "2.5.0", "version": "2.6.0",
"resolved": "https://registry.npmjs.org/prismarine-nbt/-/prismarine-nbt-2.5.0.tgz", "resolved": "https://registry.npmjs.org/prismarine-nbt/-/prismarine-nbt-2.6.0.tgz",
"integrity": "sha512-F0/8UAa9SDDnAGrBYqZc4nG8h2zj5cE2eAJU5xlDR/IsQQ3moVxkOjE3h3nMv6SbvZrvAcgX7waA/nd9LLHYdA==", "integrity": "sha512-z65ijm6hVlYOmhg8IEzdYfUz1u3AOiQtzyTSAwD8NLBCr96ZUPtUH5o/6sGAoDaN+rkDe0DNBCiO7bvXXO1fkQ==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"protodef": "^1.9.0" "protodef": "^1.9.0"
@ -579,9 +579,9 @@
} }
}, },
"node_modules/prismarine-registry": { "node_modules/prismarine-registry": {
"version": "1.9.0", "version": "1.10.0",
"resolved": "https://registry.npmjs.org/prismarine-registry/-/prismarine-registry-1.9.0.tgz", "resolved": "https://registry.npmjs.org/prismarine-registry/-/prismarine-registry-1.10.0.tgz",
"integrity": "sha512-RZ5PvedMGA/uEwZOsnmC9MYq1CupH2CHwm9UT4Ara87Vf7QMfxxPTZZ4GXq7EJmmxe5qodhDYoq6Z8mz11oXlQ==", "integrity": "sha512-6TYQiZHtsJ87HsB2E0yamCFp77ZyyLT16OmW5iXB5V30yCPflhHvR5TR2IqISmmiRc2093BkHfiIhsOZaMatmQ==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"minecraft-data": "^3.70.0", "minecraft-data": "^3.70.0",