Hello. I am having an underground base, really close to bedrock. However, the fog that closes in when near bedrock is too disturbing! Is there any way that I can edit this somehow, so that no fog will exist at bedrock?
You can use Optifine to remove void fog, as well as void particles if you are low enough (without disabling all particles; you can also disable all fog), plus it can improve the performance of Minecraft, even if you don't need a FPS boost.
Note that this only works for 1.6.4 and earlier since it is going to take a while for mods to update; in order to do this in 1.7.2 you'd have to directly edit the raw byte code, which isn't as hard as it may seem if you just have to change a single variable and the code hasn't been changed that much from earlier versions with source available. I looked through the MCP source code and found where void fog is enabled, and then the corresponding bytecode in 1.7.2:
/**
* returns true if this dimension is supposed to display void particles and pull in the far plane based on the
* user's Y offset.
*/
public boolean getWorldHasVoidParticles()
{
return this.terrainType.hasVoidParticles(this.hasNoSky);
}
aload_0
getfield apa/c Lafy;
getstatic afy/c Lafy;
if_acmpeq 10
aload_0
getfield apa/g Z
ifne 10
iconst_1
goto 11
iconst_0
ireturn
I edited the code and removed everything except for iconst_0 and ireturn (so it always returns false) and this was the result when I added it to the jar:
No more void fog and no void particles (note the "P" value is only 10). I could upload the class file somewhere so you can download it and place it into your jar (rename the 1.7.2 folder and files and edit the ID line in the json file to the same name, and remember to delete META-INF).
Without mods, you can punch holes all the way up to surface level for skylights. I think that's how docm did it in his old world tour videos. Any other ways may require a mod.
Rollback Post to RevisionRollBack
"Every time a bat gets killed, a miner falls in a pit of lava while carrying half a stack of diamonds."
You could use a ceiling light. If sunlight gets through to you the fog will disappear, but there should also be an option to turn the fog off. Maybe I am wrong with the second, it's possible that you need OptiFine for this.
- MoosDalai
Optifine does have an option to disable the fog.
Rollback Post to RevisionRollBack
| Please quote my post if you have a question/comment for me|
http://www.youtube.c...h?v=k06wqd0GrMA
Like most mods that rely on MCP, it's not updated to 1.7.2 yet.
Note that this only works for 1.6.4 and earlier since it is going to take a while for mods to update; in order to do this in 1.7.2 you'd have to directly edit the raw byte code, which isn't as hard as it may seem if you just have to change a single variable and the code hasn't been changed that much from earlier versions with source available. I looked through the MCP source code and found where void fog is enabled, and then the corresponding bytecode in 1.7.2:
I edited the code and removed everything except for iconst_0 and ireturn (so it always returns false) and this was the result when I added it to the jar:
No more void fog and no void particles (note the "P" value is only 10). I could upload the class file somewhere so you can download it and place it into your jar (rename the 1.7.2 folder and files and edit the ID line in the json file to the same name, and remember to delete META-INF).
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
"Every time a bat gets killed, a miner falls in a pit of lava while carrying half a stack of diamonds."
Optifine does have an option to disable the fog.