From 44351d7f9fe0604b75b60cd55dac450916a1a1bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Pilgaard=20Gr=C3=B8ndahl?= Date: Fri, 28 Apr 2023 19:46:02 +0200 Subject: [PATCH] Update darkmodeeverywhere-client.toml --- defaultconfigs/darkmodeeverywhere-client.toml | 32 +++++++++++-------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/defaultconfigs/darkmodeeverywhere-client.toml b/defaultconfigs/darkmodeeverywhere-client.toml index de0aa00dd..c45973b2b 100644 --- a/defaultconfigs/darkmodeeverywhere-client.toml +++ b/defaultconfigs/darkmodeeverywhere-client.toml @@ -1,21 +1,27 @@ +#A list of class:method strings (render methods) that the dark shader will not be applied to. +#Each string consists of the class and the method (or any substring) to block the dark shader. +#For example, 'renderHunger' is sufficient to block 'net.minecraftforge.client.gui.overlay.ForgeGui:renderFood' (either will work). +METHOD_SHADER_BLACKLIST = ["mezz.jei.common.render.FluidTankRenderer:drawTextureWithMasking", "renderCrosshair", "net.minecraft.client.gui.screens.TitleScreen", "renderSky", "renderHotbar", "setupOverlayRenderState", "net.minecraftforge.client.gui.overlay.ForgeGui", "renderFood", "renderExperienceBar"] +#Enabling this config will (every 5 seconds) dump which methods were used to render GUIs that the dark shader was applied to +#The dump will consist of a list of class:method strings, e.g. 'net.minecraftforge.client.gui.overlay.ForgeGui:renderFood' +#Use this feature to help find the render method strings of GUIs you would like to blacklist. +METHOD_SHADER_DUMP = false ["Button Position"] - #Pixels away from the bottom left of the GUI in the x axis + #Pixels away from the left of the GUI in the x axis #Range: > 0 X = 8 - #Pixels away from the bottom left of the GUI in the y axis + #Pixels away from the bottom of the GUI in the y axis #Range: > 0 Y = 2 - NAME = "Dark Mode" -["Main Menu Button"] - #Enabled - SHOW = false - #Pixels away from the bottom left of the GUI in the x axis - #Range: > 0 - X = 4 - #Pixels away from the bottom left of the GUI in the y axis - #Range: > 0 - Y = 40 - NAME = "Dark Mode" + ["Button Position"."Main Menu Button"] + #Enabled + SHOW = false + #Pixels away from the left of the GUI in the x axis + #Range: > 0 + MAIN_X = 4 + #Pixels away from the bottom of the GUI in the y axis + #Range: > 0 + MAIN_Y = 40