截图
介绍
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 支持哪些 Minecraft 版本?
Cast Away 支持 Minecraft Java 版 1.19–26.3,共 29 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Cast Away 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
Riser876 的其他作品
查看全部 →RPG Coins
Adds three new coin items. Inspired by the RPG Series.
RPG Coins
Adds three new coin items to the game
RPG Coins
Adds three new coin items to the game
DeepSea
Changes boat navigation on ocean regions
评论
登录后评论和评分