Beacon Blocker
一个小型 Fabric 模组,使着色玻璃与信标光束产生交互。
在原版 Minecraft 中,着色玻璃会完全阻挡信标光束及其效果。此模组改变了这一点:在信标上方放置着色玻璃后,效果仍会正常穿透,但视觉上光束会在玻璃处被截断——即不会渲染玻璃上方的光束部分。
此外,你还可以选择在着色玻璃高度处限制效果范围,这样即使信标本身仍处于激活状态,位于玻璃上方的玩家也不会获得任何效果。
安装
将 .jar 文件放入 mods/ 文件夹即可。
配置
首次启动时,会在 config/beacon-blocker.json 生成配置文件。
{
"capBeamHeight": true,
"capEffectHeight": false
}
| 选项 |
默认值 |
描述 |
capBeamHeight |
true |
信标光束在着色玻璃方块处停止渲染。由于信标渲染发生的机制,此选项仅客户端生效。 |
capEffectHeight |
false |
位于着色玻璃上方的玩家不会获得信标效果。此选项仅服务端生效。 |
多人游戏
capBeamHeight 从客户端配置读取,仅影响玩家所见画面。
capEffectHeight 从服务端配置读取,并影响该服务器上所有玩家。在多人游戏中,此项的单独客户端值将被忽略。
单人游戏
两个配置选项均从同一个配置文件中读取。
许可证
CC0-1.0
Beacon Blocker
A small Fabric mod that makes tinted glass interact with beacon beams.
In vanilla Minecraft, tinted glass blocks both the beacon beam and its effects entirely. This mod changes that: placing tinted glass above a beacon lets effects continue through it as normal, but visually caps the beam at the glass — the beam does not render above it.
Optionally, you can also cap the effect range at the tinted glass height, so players above the glass do not receive effects even though the beacon itself remains active.
Installation
Drop the .jar file into your mods/ folder.
Configuration
A config file is created at config/beacon-blocker.json on first launch.
{
"capBeamHeight": true,
"capEffectHeight": false
}
| Option |
Default |
Description |
capBeamHeight |
true |
The beacon beam stops rendering at the tinted glass block. This option only works client-side due to where beacon-rendering happens. |
capEffectHeight |
false |
Players above the tinted glass do not receive beacon effects. This option only works server-side. |
Multiplayer
capBeamHeight is read from the client config and only affects what they see.
capEffectHeight is read from the server config and affects all players on that server. Individual client values for this option are ignored in multiplayer.
Single Player
Both config option are read from the same config file.
License
CC0-1.0
评论 0
登录后参与评分
还没有评论,来抢沙发吧