





What does this mod do?
The mod adds a new command - /fog. It syntax looks like this:
/fog <Targets> set|reset <MinDistance> <MaxDistance> <ColorRed> <ColorGreen> <ColorBlue> <ColorSaturation> cylinder|sphere
Reset fog to default:
/fog <Targets> reset
If you need to disable command output to chat, execute this:
/gamerule sendCommandFeedback false
This is a vanilla command, and it disables the output to chat for any commands._
The command may look complicated, but here's a detailed explanation if you need it:
- - The purpose for which the fog is applied. Only players are supported
- set|reset - Command execution scenario. Set will require the arguments below, while reset will end the command and reset the user fog.
- - The distance from the player where the fog begins. 0-∞
- - The distance from the player at which the fog becomes opaque. 0-∞
- - RGB value for the RED number. 0-255
- - RGB value for the GREEN number. 0-255
- - RGB value for the BLUE number. 0-255
- - Saturation, where 0 is dim and where 1 is brightest, use fractional values. 0-1
- cylinder|sphere - What shape will the fog be? Cylindrical or spherical
Why do I need this mod?
You will be able to customize the fog for your own mod, datapack or map. My mod allows you to customize the fog in detail, its color, as well as the player for whom the fog will be changed. As an example, see the screenshots, there I have shown how the command looks like and the fog it will create!
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as ycf-1.0.1-forge-1.20.1.jar — drop this file into the mods folder
- Download size: 489 KB
- Download link checked 31 Aug 2026 — working
These come from our own check of the pack file, not from the source page.