From 7c138a2f264e21ffeeaf8fb3ea0ac1a7c4ede4ca Mon Sep 17 00:00:00 2001 From: Aizistral Date: Sat, 2 Jul 2022 18:09:57 +0200 Subject: Add config reload button --- .../resources/assets/nochatreports/lang/en_us.json | 3 ++- .../nochatreports/textures/gui/chat_status_icons.png | Bin 1045 -> 1467 bytes .../textures/gui/config_reload_button.png | Bin 0 -> 903 bytes src/main/resources/nochatreports.mixins.json | 4 +++- 4 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 src/main/resources/assets/nochatreports/textures/gui/config_reload_button.png (limited to 'src/main/resources') diff --git a/src/main/resources/assets/nochatreports/lang/en_us.json b/src/main/resources/assets/nochatreports/lang/en_us.json index 028234f..4543ab5 100644 --- a/src/main/resources/assets/nochatreports/lang/en_us.json +++ b/src/main/resources/assets/nochatreports/lang/en_us.json @@ -8,5 +8,6 @@ "gui.nochatreports.status_unknown": "No Chat Reports could not evaluate the safety of this server. This should never happen, please report it as a bug to the mod developer.", "gui.nochatreports.unsafe_server.header": "Caution: Unsafe Server", "gui.nochatreports.unsafe_server.contents": "This server requires all chat messages to be signed, which means they can be reported to Mojang. This likely means that the server owner kept 'enforce-secure-profile' enabled on server.properties, which is the default since 1.19.1. You can choose to play anyway, but No Chat Reports will not be able to protect you.", - "gui.nochatreports.unsafe_server.check": "Do not show again for this server" + "gui.nochatreports.unsafe_server.check": "Do not show again for this server", + "gui.nochatrepords.reload_config_tooltip": "Reload No Chat Reports config. Use carefully." } diff --git a/src/main/resources/assets/nochatreports/textures/gui/chat_status_icons.png b/src/main/resources/assets/nochatreports/textures/gui/chat_status_icons.png index d904ccc..a91f7d2 100644 Binary files a/src/main/resources/assets/nochatreports/textures/gui/chat_status_icons.png and b/src/main/resources/assets/nochatreports/textures/gui/chat_status_icons.png differ diff --git a/src/main/resources/assets/nochatreports/textures/gui/config_reload_button.png b/src/main/resources/assets/nochatreports/textures/gui/config_reload_button.png new file mode 100644 index 0000000..efe48d1 Binary files /dev/null and b/src/main/resources/assets/nochatreports/textures/gui/config_reload_button.png differ diff --git a/src/main/resources/nochatreports.mixins.json b/src/main/resources/nochatreports.mixins.json index 0c01248..dc3c798 100644 --- a/src/main/resources/nochatreports.mixins.json +++ b/src/main/resources/nochatreports.mixins.json @@ -21,7 +21,9 @@ "MixinChatScreen", "AccessorDisconnectedScreen", "MixinConnectScreen", - "MixinClientboundHelloPacket" + "MixinClientboundHelloPacket", + "MixinScreen", + "MixinJoinMultiplayerScreen" ], "server": [ "MixinDedicatedServer" -- cgit v1.2.3