From 2e42d482ed8bde88f768cfde7f9311c3a886cab1 Mon Sep 17 00:00:00 2001 From: LabyStudio Date: Sat, 18 Jun 2022 07:45:22 +0200 Subject: [PATCH] update README --- README.md | 17 ++++++++++++++++- libraries/aes.js | 3 +++ .../client/command/command/HelpCommand.js | 3 ++- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9c0fb86..a55a664 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,9 @@ Click [here](https://labystudio.de/page/minecraft/) for a demo! - Controls Screen - Chat Input Screen - Creative Inventory Screen + - Direct Connect Screen + - Connecting Screen + - Disconnected Screen - Widgets - Button - KeyBinding @@ -69,6 +72,15 @@ Click [here](https://labystudio.de/page/minecraft/) for a demo! - Font rendering - Hot-Bar - Chat + - Debug +- Multiplayer + - Networking + - Sub-Protocols + - Handshake + - Status + - Login + - RSA Encryption + - AES Encryption - Commands - /help - /time @@ -88,8 +100,11 @@ _Note: All textures from the original game were used for the screenshots only!_ ### Licensing - The main rendering library is [three.js](https://github.com/mrdoob/three.js/) - 64 bits number implementation by [long.js](https://github.com/dcodeIO/long.js) +- AES encryption implemented by [aes-js](https://github.com/ricmoo/aes-js) +- BigInt extension for RSA encryption by [bigint-mod-arith](https://github.com/juanelas/bigint-mod-arith) +- Public key parser implemented by [asn1-parser.js](https://git.coolaj86.com/coolaj86/asn1-parser.js) +- Minecraft chat component parser by [mc-chat-format](https://github.com/janispritzkau/mc-chat-format) - All used sound resources are taken from [freesounds.org](https://freesound.org/people/C418/downloaded_sounds/?page=8#sound) -
NOT OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG. \ No newline at end of file diff --git a/libraries/aes.js b/libraries/aes.js index d881d71..ff703b2 100644 --- a/libraries/aes.js +++ b/libraries/aes.js @@ -1,3 +1,6 @@ +/*! MIT License. Copyright 2015-2018 Richard Moore . See LICENSE.txt. */ +// https://github.com/ricmoo/aes-js + function checkInt(value) { return (parseInt(value) === value); } diff --git a/src/js/net/minecraft/client/command/command/HelpCommand.js b/src/js/net/minecraft/client/command/command/HelpCommand.js index 3e48894..673f1ea 100644 --- a/src/js/net/minecraft/client/command/command/HelpCommand.js +++ b/src/js/net/minecraft/client/command/command/HelpCommand.js @@ -1,4 +1,5 @@ import Command from "../Command.js"; +import FontRenderer from "../../render/gui/FontRenderer.js"; export default class HelpCommand extends Command { @@ -7,7 +8,7 @@ export default class HelpCommand extends Command { } execute(minecraft, args) { - minecraft.addMessageToChat("&2--- Showing help page ---"); + minecraft.addMessageToChat(FontRenderer.COLOR_PREFIX + "2--- Showing help page ---"); minecraft.commandHandler.commands.forEach(command => { minecraft.addMessageToChat("/" + command.command + " " + command.usage + " - " + command.description); });