HomeJavaModsCast Away
Cast Away
ModsJava

Cast Away

by Riser876 · on Modrinth

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 26.1–26.2⬇ Download for 1.21–1.21.11⬇ Download for 1.20–1.20.6⬇ Download for 1.19–1.19.4
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

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:

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:

  1. The type of lava (flowing or source).
  2. The type of water (flowing or source).
  3. 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

  1. Drop the CastAway .jar into your mods folder.
  2. 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:

❌ Not Affected:

Documentation (2.0.0+)

Checks

CastAway performs the following checks in the config file:

Full Configuration Example:

{
  "enabled": true,
  "water_level": 1,
  "water_falling": false
}

Stone Generator (Working)

Alternative/Working Stone Generator

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more