Cast Away
If you run a Minecraft server, you know the headache of lava casts. A griefer pours a bucket of lava, adds water, and suddenly a massive cobblestone pillar or wall appears, ruining your builds and wasting your time. Cleaning it up is tedious, and preventing it often requires clunky plugins or complex command blocks. There is a cleaner, more elegant solution: the Cast Away mod.
This lightweight Fabric mod is designed to tackle this exact problem at its source. By modifying the fundamental way lava and water interact, Cast Away prevents the automatic generation of cobblestone, effectively breaking lava casts before they can even form. It is a seamless, performance-friendly fix that keeps your world safe without altering the core gameplay you love.
How Lava Casts Form in Vanilla Minecraft
To understand what Cast Away does, it helps to know the vanilla mechanics. When lava and water meet, the resulting block depends on the type of fluid (source or flowing) and the direction of the interaction.
- Water flowing into source lava: Creates obsidian.
- Water flowing into flowing lava: Creates cobblestone.
- Lava flowing into water from above: Creates stone.
- Lava flowing into water from any other direction: Creates cobblestone.
It is those two cobblestone-generating scenarios that griefers exploit. They create a "cast" – a solid, ugly structure that is hard to remove. Cast Away intercepts these specific interactions.
What Cast Away Changes (and What It Doesn't)
The core function of Cast Away is to replace the cobblestone generation with flowing water. When lava and water would normally create cobblestone, the mod instead leaves the water as a flowing block, preventing the cast from solidifying. This is a surgical change with a very specific set of effects.
What Stops Working
- Cobblestone generators: Traditional cobblestone farms that rely on water meeting flowing lava will no longer produce cobblestone.
What Continues to Work Normally
- Stone generators: Lava flowing onto water from above still creates stone, so your stone farms are safe.
- Obsidian generation: Water flowing into source lava still creates obsidian, so your nether portal and obsidian farms are unaffected.
- Modded fluids: Unless a modded fluid is specifically tagged as a lava or water variant, its interactions remain untouched. This means oils, molten metals, or other custom liquids will behave as they normally do.
This precision makes Cast Away ideal for servers where lava casts are a known problem, offering a seamless solution without the performance penalties of a full anti-grief plugin.
Compatibility and Technical Details
Cast Away is built for the Fabric mod loader and supports a wide range of Minecraft versions. It operates server-side only, meaning your players do not need to install anything on their clients. They simply connect to your server, and the protection is active.
The mod uses a Mixin to intercept the shouldSpreadLiquid method, which is responsible for the block generation during fluid interactions. This is a highly efficient approach that adds no noticeable overhead to your server's tick rate. It is a truly lightweight solution. For a seamless experience, you can use the foxygame.net launcher, which offers a one-click install for Cast Away and automatically handles version compatibility, so you can get your server protected in minutes.
Configuration and Customization
Since version 2.0.0, Cast Away includes a configuration file for server admins who want more control. The config file, typically named castaway.properties or castaway.json depending on your version, allows you to tweak the mod's behavior.
- enabled: A boolean (true/false) that turns the mod on or off. Default is true.
- water_level: An integer (1-7) that specifies the height of the water block that replaces the cobblestone. Default is 1.
- water_falling: A boolean that determines if the replacement water is falling. Default is false.
The mod performs automatic checks on your config values. If you set the water_level below 1, it will adjust it to 1. If you set it above 7, it will adjust it to 7. This ensures the mod always runs with valid parameters, preventing errors.
How to Install Cast Away
Installing Cast Away is straightforward. Here is a quick guide on how to install it on your server.
- Ensure you have the Fabric Loader installed on your server.
- Download the Cast Away JAR file from a trusted mod repository.
- Place the JAR file into your server's mods folder.
- Restart your server or enter the world. The mod is active immediately.
That is it. There is no complex setup or additional dependencies. For those who prefer a more automated approach, the foxygame.net launcher includes a curated add-on catalog where you can find Cast Away and install it with a single click, and it will even manage updates for you.
Conclusion: A Simple Fix for a Big Problem
Lava cast griefing is a nuisance that can disrupt the flow of your server and ruin hours of building. Cast Away offers a simple, effective, and performance-friendly solution. By surgically altering the fluid interaction rules, it stops the problem at its root without breaking the other important mechanics like stone and obsidian generation.
Whether you are running a small survival server with friends or a large public network, Cast Away for Minecraft is a must-have addition to your modpack. It is a testament to how a well-designed, focused mod can solve a specific problem elegantly. So, if you are tired of cleaning up cobblestone pillars, give Cast Away a try. Your world will thank you.