CastAway
CastAway 是一款适用于 Fabric 的轻量级 Minecraft 模组,通过修改 岩浆与水之间的交互方式 来防止熔岩铸造造成的破坏。具体而言,它禁用了岩浆接触水时自动生成圆石的功能,从而阻止熔铸过程。
主要功能:
- ❌ 圆石 生成器不再起作用。
- ✅ 石头 生成器照常运行。
- ✅ 黑曜石 生成功能照常运行。
- ✅ 除非涉及岩浆或水的变体,否则其他模组流体交互不受影响。
CastAway 非常适合那些受熔铸问题困扰的 服务器,提供无缝解决方案且无性能损耗。
原版中岩浆与水的交互机制
在原版 Minecraft 中,当岩浆和水接触时,生成的方块取决于几个因素:
- 岩浆的类型(流动状态或源点)。
- 水的类型(流动状态或源点)。
- 交互的 方向。
交互表
| 交互情况 | 生成方块 | 是否受 CastAway 影响? |
|---|---|---|
| 水 → 源点岩浆 | 黑曜石 | ❌ 不受影响 |
| 水 → 流动岩浆 | 圆石 | ✅ 替换为流动的水 |
| 岩浆 → 水 (从上方) | 石头 | ❌ 不受影响 |
| 岩浆 → 水 (其他情况) | 圆石 | ✅ 替换为流动的水 |
CastAway 拦截该交互过程,并将圆石替换为流动的水,从而防止熔铸形成,同时不影响其他机制。
安装方法
- 将 CastAway
.jar文件放入你的mods文件夹。 - 启动服务器或进入世界 —— 模组立即生效。
此模组仅 服务端运行,因此客户端无需安装。
兼容性与性能
CastAway 使用 Mixin 来拦截岩浆与水交互时生成新方块的调用。它修改了控制岩浆与水交互过程中圆石形成的 shouldSpreadLiquid 方法。
✅ 受影响:
- 原版岩浆和水。
- 标记为
lava或water的 模组流体。
❌ 不受影响:
- 未标记为岩浆或水的流体(例如油、熔融金属、气体)。
- 手动放置圆石或非流体生成机制。
- 不使用标准
FluidBlock逻辑的自定义流体系统。
文档 (2.0.0+)
- enabled:
启用或禁用模组。
类型:boolean默认值:true - water_level:
指定水位的属性,范围从 1 到 7。
类型:integer默认值:1 - water_falling:
指定水是否处于下落状态。
类型:boolean默认值:false
检查项
CastAway 在配置文件中执行以下检查:
- 水位低于 1:
检查水位是否低于 1。
失败时:调整为 1。 - 水位高于 7:
检查水位是否高于 7。
失败时:调整为 7。
完整配置示例:
{
"enabled": true,
"water_level": 1,
"water_falling": false
}
石头生成器(正常工作)

CastAway
CastAway is a lightweight Minecraft mod for Fabric that prevents lava cast griefing by modifying the way lava and water interact. Specifically, it disables the automatic generation of cobblestone when lava meets water, thus breaking lava casts.
Key Features:
- ❌ Cobblestone generators no longer work.
- ✅ Stone generators continue to function as usual.
- ✅ Obsidian generation continue to function as usual.
- ✅ Modded fluid interactions remain unaffected unless involving a lava or water variant.
CastAway is ideal for servers where lava casts are problematic, offering a seamless solution without performance penalties.
How Lava-Water Interactions Work (Vanilla)
In vanilla Minecraft, when lava and water come into contact, the resulting block depends on several factors:
- The type of lava (flowing or source).
- The type of water (flowing or source).
- The direction of interaction.
Interaction Table
| Interaction | Resulting Block | Affected by CastAway? |
|---|---|---|
| Water → source lava | Obsidian | ❌ Unaffected |
| Water → flowing lava | Cobblestone | ✅ Replaced with flowing water |
| Lava → water (from above) | Stone | ❌ Unaffected |
| Lava → water (others) | Cobblestone | ✅ Replaced with flowing water |
CastAway intercepts the interaction and replaces cobblestone with flowing water, preventing lava casts from forming while leaving other mechanics untouched.
Installation
- Drop the CastAway
.jarinto yourmodsfolder. - Start the server or enter the world — the mod is active immediately.
This mod operates server-side only, meaning clients do not need to install it.
Compatibility and Performance
CastAway uses a Mixin to intercept the call that generates a new block when lava interacts with water. It modifies the shouldSpreadLiquid method, which controls the formation of cobblestone during lava-water interactions.
✅ Affected:
- Vanilla lava and water.
- Modded fluids tagged as
lavaorwater.
❌ Not Affected:
- Fluids not tagged as lava or water (e.g., oil, molten metals, gases).
- Manual cobblestone placement or non-fluid generation mechanics.
- Custom fluid systems not using standard
FluidBlocklogic.
Documentation (2.0.0+)
- enabled:
Enables or disables the mod.
Type:booleanDefault:true - water_level:
Property that specifies the height of water on a scale of 1 to 7.
Type:integerDefault:1 - water_falling:
Property that specifies if water is falling.
Type:booleanDefault:false
Checks
CastAway performs the following checks in the config file:
- Water Level Below 1:
Checks if the water level is below 1.
On Failure: Adjusts to 1. - Water Level Above 7:
Checks if the water level is above 7.
On Failure: Adjusts to 7.
Full Configuration Example:
{
"enabled": true,
"water_level": 1,
"water_falling": false
}
Stone Generator (Working)

下载 Cast Away
下载 Cast Away
下载 Cast Away
下载 Cast Away
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Cast Away
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Cast Away
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Cast Away
下载 Cast Away
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Cast Away
下载 Cast Away
- 更新为 MIT 许可证
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
缓冲的原始输入和线程化的事件轮询
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
评论 0
登录后参与评分
还没有评论,来抢沙发吧