From 356a938970ac6c99816ec032bc93718bcebf5801 Mon Sep 17 00:00:00 2001 From: makamys Date: Mon, 27 Jun 2022 14:25:09 +0200 Subject: Improve F3 overlay: indicate if renderer is disabled, add color --- src/main/java/makamys/neodymium/renderer/NeoRenderer.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main/java/makamys') 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 getDebugText() { List 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; -- cgit