Cast Away

Cast Away

Disables lava casts with no performance overhead

by
1.7K Downloads
fabricgame-mechanicsoptimizationutility
Rent Server with this Mod

Screenshots

Stone Generator

About this Mod

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:

  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:

  • Vanilla lava and water.
  • Modded fluids tagged as lava or water.

❌ 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 FluidBlock logic.

Documentation (2.0.0+)

  • enabled:

    Enables or disables the mod.

    Type: boolean Default: true
  • water_level:

    Property that specifies the height of water on a scale of 1 to 7.

    Type: integer Default: 1
  • water_falling:

    Property that specifies if water is falling.

    Type: boolean Default: 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)

Alternative/Working Stone Generator

Available Versions

Cast Away 3.0.2release
MC 26.1, 26.1.1, 26.1.2, 26.2fabric
June 19, 2026
Cast Away 3.0.1release
MC 26.1, 26.1.1, 26.1.2fabric
April 1, 2026
Cast Away 3.0.0release
MC 26.1fabric
March 25, 2026
Cast Away 3.0.0release
MC 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
December 31, 2025
Cast Away 2.0.0release
MC 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10fabric
October 5, 2025

How to Install Cast Away on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Cast Away". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

26.2, 26.1.2, 26.1.1 (+25 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Cast Away server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.2). You can switch loaders with one click in the panel.

Is Cast Away compatible with fabric?

Cast Away officially supports fabric for Minecraft 26.2, 26.1.2, 26.1.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Cast Away – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Cast Away consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Cast Away with just one click on your server.

Recommended RAM
4 GBfrom €5.2/mo
Minimum 3 GB | per 8 players
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

26.226.1.226.1.126.11.21.111.21.101.21.91.21.81.21.71.21.6+18 more