Started by
mcsquaggle
on
Topic category: Help with Minecraft modding (Java Edition)
How can i disable the sky color change when its sunrise or sunset? i want a dimension to have pitch black fog, but it turns orange when its sunrise or sunset. How do i stop this from happening?
Edited by mcsquaggle on Sun, 09/04/2022 - 16:48
Not sure if you're still trying to find a solution to this, but I found a solution.
Unfortunately it requires locking the code of your dimension, but you need to add a bit of code in your dimension script, specifically in the registerDimensionSpecialEffects function, alongside other override functions like getBrightnessDependentFogColor, and isFoggyAt that MCreator writes for you depending on if you've selected certain booleans in your Dimension settings.
One more thing you MUST be sure to do is in resources>data>yourmodid>dimension_type >YOURDIMENSION.json
Set your "effects" variable to "yourmodid:YOURDIMENSION"
I believe there's a bug that doesn't set this automatically for you by MCreator. Best of luck! Please reply to my comment if there's anything that doesn't make sense here, I'll try my best to respond.