跳到正文

FogControl

作者:feuerdrache0

Control fog density and color with server commands: synced to all players, with see-through distance fog, Embeddium & Distant Horizons support.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

# Fog Control

**Fog Control** lets server operators change the fog with simple commands. Every change is instantly synced to all players and saved with the world.

Unlike vanilla, the fog at the edge of your render distance doesn’t have to be a solid wall. You decide how thick the fog is right in front of you and how thick it is at the render-distance edge, from crystal clear to a dense, moody haze.

## Features

– **Two simple settings:** the fog amount at the camera (minimum) and at the edge of the render distance (maximum), each from 0 to 100%
– **See-through distance fog:** set the maximum below 100% and distant terrain stays visible through the haze
– **Custom fog color:** pick any RGB color; it still darkens naturally at night and in rain and thunder
– **No more orange sunset tint:** the fog no longer changes color when you look toward the sun at sunset
– **Server-controlled and synced:** ops change the fog for everyone at once; settings are saved per world
– **Vanilla where it matters:** water, lava, powder snow, blindness, darkness and Nether fog are left untouched

## Commands

Changing settings requires operator permission (level 2). Anyone can view the current settings.

| Command | Description |
|—|—|
| `/fogcontrol` | Show the current settings |
| `/fogcontrol min <0-100>` | Fog amount right at the camera |
| `/fogcontrol max <0-100>` | Fog amount at the edge of the render distance |
| `/fogcontrol set <min> <max>` | Set both at once |
| `/fogcontrol reset` | Restore the defaults (min 0, max 70) |
| `/fogcontrol color` | Show the color settings |
| `/fogcontrol color toggle` | Switch the custom color on or off (also `on` / `off`) |
| `/fogcontrol color rgb <r> <g> <b>` | Set the color with 0-255 values |
| `/fogcontrol color hex <#RRGGBB>` | Set the color from a hex code |

**Examples**
– `/fogcontrol set 0 100`: clear up close, fully opaque at the edge
– `/fogcontrol set 50 100`: thick, dense fog everywhere
– `/fogcontrol set 30 30`: an even 30% haze at every distance
– `/fogcontrol set 0 40`: a light haze toward the horizon

Settings are stored in `<world>/serverconfig/fogcontrol-server.toml` and can also be edited there. Changes to the file are picked up while the server is running.

## Compatibility

– **Embeddium / Rubidium:** fully supported
– **Distant Horizons:** Distant Horizons’ fog automatically continues from where the vanilla fog ends, with no visible seam at the render-distance edge. Your Distant Horizons config file is never changed.
– **Shader packs (Oculus):** shader packs draw their own fog and normally ignore it. Fog Control passes its values to every pack (`fogStart`, `fogEnd`, `fogColor`), so a pack edited to read them will use your server’s fog.

## Installation

– **Server:** install the mod to control the fog
– **Clients:** install the mod to see the custom fog
– Players without the mod can still join; they simply see vanilla fog
– In singleplayer, just install it like any other mod

Requires **Minecraft 1.20.1** and **Forge 47** or newer.

常见问题

FogControl 支持哪些 Minecraft 版本?

FogControl 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

FogControl 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

feuerdrache0 的其他作品

查看全部 →