No description
  • Java 95.2%
  • GLSL 4.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stella Reine 83dc3e1dd1 Add /darkmodeeverywhere reload
Registered through Forge's ClientCommandHandler, so it is client side and
works in single player and on servers that do not have the mod. Aliased to
/dme, with tab completion, and permission forced open because the inherited
level of 4 would otherwise make it unusable when not opped.

The reload cannot go through ConfigManager.sync: Forge keeps one
Configuration per file for the lifetime of the game and only copies config
values into fields while still loading, so once in world it neither re-reads
the file nor notices anything edited on disk. DarkConfig.reloadFromDisk
therefore reads the file itself with a throwaway Configuration.

Reloading also re-reads the shader config and clears the cached blacklist
decisions, so edits to either file take effect without restarting.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 00:11:45 -05:00
.github Create FUNDING.yml 2024-06-12 21:15:37 +02:00
DME-1.12.2 Add /darkmodeeverywhere reload 2026-08-14 00:11:45 -05:00
gradle/wrapper Initial Commit 2022-01-29 16:59:05 +01:00
src/main Include chatheads in blacklist (#60) 2025-11-09 19:11:39 +01:00
.gitignore Initial Commit 2022-01-29 16:59:05 +01:00
build.gradle Update build.gradle 2023-07-15 20:43:49 +02:00
gradle.properties Initial Commit 2022-01-29 16:59:05 +01:00
gradlew chmod u+x gradlew (allow execution by current user) 2023-05-07 06:00:02 +01:00
gradlew.bat Initial Commit 2022-01-29 16:59:05 +01:00
LICENSE Initial Commit 2022-01-29 16:59:05 +01:00
README.md Update README.md (#50) 2024-08-19 17:50:33 +02:00
settings.gradle Initial Commit 2022-01-29 16:59:05 +01:00

DarkModeEverywhere

Dark Mode Everywhere uses the built in 1.18 Minecraft shaders to transform any GUI texture into a Dark Mode. Thanks to the shaders it will work in any GUI in the game, it will also try to modify the text color so its not hard to read in dark mode. Please report any visual issues so I can fix it.

The mod currently provides with 3 dark modes to suit your needs that can be easily changed.

You can have the possibilty of adding new GUI shaders by modifying the "darkmodeeverywhereshaders.json" and using a Resource Loader mod or a Resource Pack.

Shader Blacklist

#A list of strings that will prevent the dark shader to be used. #Each string consists of the class and the method or any part of it to prevent the use of the dark shader. #The dump will consist of a bunch of string with this style 'net.minecraftforge.client.gui.overlay.ForgeGui:renderHunger' (class:method), any part of that dump (like just using renderHunger) will prevent the hunger bar from using the dark shader. 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 dump every 5 seconds which classes & methods were used to render something in the screen and the dark shader was trying to be used METHOD_SHADER_DUMP = false