About Create: Deep Seas - Lava Fix
From ModrinthFixes a bug in Create: Deep Seas where players inside a sealed submarine still take fire/lava damage while submerged in lava, even though the interior is correctly emptied.
Create: Deep Seas - Lava Fix
A small NeoForge mod for Minecraft 1.21.1 that fixes a bug in Create: Deep Seas (CDS) where players inside a hermetically sealed submarine still take fire/lava damage while the submarine is submerged in lava, even though CDS correctly empties the interior of lava.
> Author: Diyksfol > License: MIT > Note: This mod was developed with the help of an AI assistant; my own role was primarily that of a tester and director. The full source is provided here so anyone — including the Create: Deep Seas authors — may study, reuse, or integrate it.
What it fixes
In Create: Deep Seas, a sealed submarine can pump out all fluid (including lava) from its interior, letting you move around inside as if in open air. However, the game's damage code still applied fire/lava damage to players standing in that "emptied" space, because the damage checks did not account for the sealed sub.
This mod detects when a player is inside (or climbing out of) a sealed compartment and suppresses the fire/lava damage and the on-screen fire overlay in that case.
Specifically fixed
- Fire/lava damage while standing inside a sealed, lava-submerged submarine.
- Damage while standing in hatches/doorways at the lava surface (entry/exit).
- Damage while seated (Create seats), on ladders, or in doorways inside the sub.
- Endless fire ticks after the hull is breached and then re-sealed.
- The persistent fire overlay (flames at the bottom of the screen) while inside.
What it does NOT fix (and why)
These behaviours are internal to Create: Deep Seas. Fixing them from an external mod would require overriding core CDS systems and risks breaking the sealed-sub mechanic itself, so they are intentionally left alone:
- Lava surface texture is still visible inside the sub. CDS hides the water
surface visually but not lava. This is a CDS rendering matter.
- **Trapdoors don't work as climbable "ladders" when below the lava/water level
inside the sub.** CDS hides the fluid, and vanilla's trapdoor-climb mechanic depends on a fluid being present, so the climb is disabled. Same effect occurs with water in CDS.
- Fire placed by the player inside the sub causes a fluid-like effect. Standing
in that fire applies slowness and, over lava, burning. This is a CDS interaction.
- Lava or water poured directly inside the sub deals no damage / no drowning.
This is a deliberate CDS feature (the interior is treated as sealed), not a bug.
- Mobs and animals inside the submarine still take fire/lava damage. The fix only protects the player. Other entities are not covered — do not keep animals or passive mobs inside a lava-submerged submarine.
- The pressure system does not work under the lava.
If the Create: Deep Seas authors wish to address any of the above, they are welcome to use this code as a starting point.
Installation (players)
- Install NeoForge for Minecraft 1.21.1.
- Install Create: Deep Seas
and its dependencies (Create, Sable, etc.).
- Drop
submarinefix-1.0.1.jarinto yourmods/folder. - Launch the game. That's it.
The mod is safe to install even without Create: Deep Seas — it simply does nothing in that case.
Building from source (developers)
This repository contains the uncompiled source. To build the jar yourself:
Prerequisites
- JDK 21
- The Create: Deep Seas jar and the bundled Sable Companion jar (used as
compile-only references — they are not redistributed here).
Steps
- Clone this repository: https://github.com/Diyksfol/create-deep-seas-lava-fix
- Create a
libs/folder in the project root and place two jars in it:
create_submarine-2.1.6.jar— from your Create: Deep Seas download.sable-companion-common-1.21.1-1.5.0.jar— extracted from the CDS jar's
META-INF/jarjar/ folder (CDS bundles it).
Your build.gradle already references these via compileOnly files(...):
compileOnly files('libs/create_submarine-2.1.6.jar')
compileOnly files('libs/sable-companion-common-1.21.1-1.5.0.jar')
If your CDS version differs, update the filenames in build.gradle accordingly.
- Build:
./gradlew build
On Windows:
.\gradlew.bat build
- The compiled jar will be in
build/libs/.
> These jars are third-party and are intentionally not included in this > repository. You must supply them yourself from your own Create: Deep Seas install.
How it works (technical overview)
The fix combines several layers:
LivingIncomingDamageEvent(server, primary): cancels incoming
LAVA / IN_FIRE / ON_FIRE / HOT_FLOOR damage when the player is inside a sealed compartment.
Entity#baseTickmixin (server): suppresses thelavaHurt()call.LocalPlayer#baseTickmixin (client): suppresses the client-side
lavaHurt() so no fire ticks are produced locally.
ScreenEffectRenderer#renderFiremixin (client): hides the fire overlay
while inside the sub.
PlayerTickEvent.Post(server): clears any residual fire ticks each tick.
Detection
To decide whether a player is "inside a sealed sub", the mod:
Highlights
From source dataGame versions
Supports 11 Minecraft versions, the newest being 1.21.11.
Loaders
Runs on NeoForge.
Footprint
Rated a light load on a server.
What kind of mod it is
From the catalogVehicles & ships
Cars, boats, aircraft, ships and other things to drive or fly.
Runs on your server
From source side supportModrinth lists Create: Deep Seas - Lava Fix as required on the server. Check its Modrinth page to see whether players need it too.
Compatibility
- Game
- Minecraft
- Loaders
- NeoForge
- Runs on
- Serverrequired on the server
- Game versions
- 1.21.11 and 10 earlier
Verified at the source
- ✓ModrinthOfficial listing, checked 2026-10-01Open ↗
- ✓AuthorDiyksfol, as published on Modrinth
- ✓LicenseMITFree









