diff options
author | makamys <makamys@outlook.com> | 2022-06-27 14:25:09 +0200 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2022-06-27 14:29:23 +0200 |
commit | 356a938970ac6c99816ec032bc93718bcebf5801 (patch) | |
tree | 0b9aeb1bbc22b0f6dbc76d418e9934a016ae5300 /src/main/java/makamys/neodymium/renderer/NeoRenderer.java | |
parent | 4748c071dd5e335b1313fc6a7358afd26ad102c4 (diff) | |
download | Neodymium-356a938970ac6c99816ec032bc93718bcebf5801.tar.gz Neodymium-356a938970ac6c99816ec032bc93718bcebf5801.tar.bz2 Neodymium-356a938970ac6c99816ec032bc93718bcebf5801.zip |
Improve F3 overlay: indicate if renderer is disabled, add color
Diffstat (limited to 'src/main/java/makamys/neodymium/renderer/NeoRenderer.java')
-rw-r--r-- | src/main/java/makamys/neodymium/renderer/NeoRenderer.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java index b372b17..c6f72da 100644 --- a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java +++ b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java @@ -34,6 +34,7 @@ import makamys.neodymium.util.Util; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.WorldRenderer; import net.minecraft.entity.Entity; +import net.minecraft.util.EnumChatFormatting; import net.minecraft.world.ChunkCoordIntPair; import net.minecraft.world.World; @@ -548,7 +549,7 @@ public class NeoRenderer { public List<String> getDebugText() { List<String> text = new ArrayList<>(); text.addAll(Arrays.asList( - "Neodymium " + Neodymium.VERSION + (!rendererActive ? EnumChatFormatting.RED + "(OFF) " : "") + "Neodymium " + Neodymium.VERSION )); text.addAll(mem.getDebugText()); text.addAll(Arrays.asList( @@ -557,7 +558,7 @@ public class NeoRenderer { )); if(rendererSpeedup > 0) { text.addAll(Arrays.asList( - "(!) Renderer speedup active" + EnumChatFormatting.YELLOW + "(!) Renderer speedup active" )); } return text; |