Tyr's Fluid Void Stuff
本模组专注于两件事:
- 对未在方块处终止的流体进行淡出处理,使其在虚空环境中看起来更美观(客户端功能,服务器端无需安装此模组)
- 限制液体从其源方块下落的距离,以防止出现巨大的瀑布(服务器端功能,客户端无需安装此模组)
客户端渲染器是从 FluidVoidFading(NeoForge 1.21.8)移植而来,原作者为 DaFuqs,采用 GNU General Public License 授权。
功能说明
在客户端,任何流体柱的底部会平滑淡出,而不是以生硬的边缘结束。支持水、熔岩以及模组添加的流体。兼容 Sodium。
在服务器端,你可以设置流体柱的最大垂直落差。一旦达到该限制,流体将停止向下蔓延,并在下方留出空气空间。该限制以从源方块的直线垂直距离计算,因此无论流体是垂直下落还是呈之字形下落(例如沿楼梯),效果一致。可以通过黑名单排除特定流体不受此限制。
两端均非必需。详见下文。
模组在连接的两端(服务器或客户端)均为可选
| 配置方案 |
效果 |
| 客户端 + 服务器 |
完整功能:客户端使用淡出渲染器,服务器端启用流体柱高度限制。 |
| 仅客户端 |
淡出渲染器仅对自然终结于空气的流体柱生效(例如在虚空中)。无其他功能。 |
| 仅服务器 |
仅启用流体垂直限制。未安装模组的玩家仍看到正常的流体渲染,但液体会正常停止流动,只是不会显示淡出效果。 |
配置文件
配置文件路径:config/tyrsfluidvoidstuff-server.toml。
| 选项 |
默认值 |
功能说明 |
maxFluidColumnLength |
0 |
从源方块起允许的最大垂直落差(单位:方块)。0 表示禁用。 |
fluidColumnLengthBlacklist |
(空) |
需要跳过限制的流体 ID,例如 minecraft:water。 |
如果你在客户端安装了此模组,也可以通过游戏内的“模组”屏幕访问配置文件。
致谢
- Tyrthurey — 流体柱高度限制、NeoForge 移植版、整合代码
- DaFuqs — 原始淡出渲染器(Modrinth)(Github)
Tyr's Fluid Void Stuff
This mod is all about two things:
- Fade out fluids that do not end on a block so that they look pretty in void environments (Clientside, does not require mod on server)
- Limit how far a liquid can fall from its source block to prevent huge waterfalls (Serverside, does not require mod on client)
The client renderer is ported from FluidVoidFading (Neoforge 1.21.8) by DaFuqs under the GNU General Public License.
What it does
On the client, the bottom of any fluid column fades out smoothly rather than ending with a hard edge. Works on water, lava, and modded fluids. Sodium is supported.
On the server, you can set a maximum vertical drop for fluid columns. Once a column hits the limit, it stops spreading downward and leaves air below. The limit is measured as straight vertical distance from the source, so it works the same whether the fluid falls straight down or zig-zags down i.e. a staircase. Individual fluids can be exempted from this via a blacklist.
Neither side requires the other. See below.
The mod is optional on both ends of a connection (Server or Client)
| Setup |
What happens |
| Client + Server |
Full functionality with the fade renderer on the client and the column cap on the server. |
| Client only |
Fade renderer works for columns that end in air naturally (e.g. in the void). No other functionality. |
| Server only |
Vertical fluid limits only. Players without the mod just see normal fluid rendering, the liquid still stops, it just won't show the fade-out thingamabob. |
Config
Config file: config/tyrsfluidvoidstuff-server.toml.
| Option |
Default |
What it does |
maxFluidColumnLength |
0 |
Max vertical drop in blocks from the source. 0 = disabled. |
fluidColumnLengthBlacklist |
(empty) |
Fluid IDs to skip the cap for, e.g. minecraft:water. |
If you have the mod on the client, the config is also reachable from the Mods screen in-game.
Credits
- Tyrthurey — column cap, NeoForge port, glue code
- DaFuqs — original fade renderer (Modrinth) (Github)
评论 0
登录后参与评分
还没有评论,来抢沙发吧