diff --git a/src/main/java/net/wurstclient/hacks/ChestEspHack.java b/src/main/java/net/wurstclient/hacks/ChestEspHack.java index 9d6a227a..955f1b5e 100644 --- a/src/main/java/net/wurstclient/hacks/ChestEspHack.java +++ b/src/main/java/net/wurstclient/hacks/ChestEspHack.java @@ -7,6 +7,7 @@ */ package net.wurstclient.hacks; +import java.awt.Color; import java.util.ArrayList; import java.util.Objects; import java.util.stream.Stream; @@ -46,6 +47,7 @@ import net.wurstclient.events.RenderListener; import net.wurstclient.events.UpdateListener; import net.wurstclient.hack.Hack; import net.wurstclient.mixinterface.IWorld; +import net.wurstclient.settings.ColorSetting; import net.wurstclient.settings.EnumSetting; import net.wurstclient.util.BlockUtils; import net.wurstclient.util.RenderUtils; @@ -54,6 +56,23 @@ import net.wurstclient.util.RotationUtils; public class ChestEspHack extends Hack implements UpdateListener, CameraTransformViewBobbingListener, RenderListener { + private final ColorSetting basicColor = new ColorSetting("Chest color", + "Normal chests will be\n" + "highlighted in this color.", Color.GREEN); + + private final ColorSetting trapColor = new ColorSetting("Trap color", + "Trapped chests will be\n" + "highlighted in this color.", + new Color(0xFF8000)); + + private final ColorSetting enderColor = new ColorSetting("Ender color", + "Ender chests will be\n" + "highlighted in this color.", Color.CYAN); + + private final ColorSetting shulkerColor = new ColorSetting("Shulker color", + "Shulker boxes will be\n" + "highlighted in this color.", + Color.MAGENTA); + + private final ColorSetting cartColor = new ColorSetting("Cart color", + "Minecarts will be\n" + "highlighted in this color.", Color.GREEN); + private final EnumSetting