π LavaLifecycle
Even lava doesn't last forever.
LavaLifecycle is a lightweight Minecraft mod that gives lava a natural lifecycle: over time, lava source blocks gradually cool down and turn into obsidian.
Instead of remaining forever, lava slowly disappears from the world as it is explored. The result is a more dynamic world and potentially less persistent lava around areas players visit.
β¨ Features
- Gradual Lava Cooling β Lava source blocks have a chance to turn into obsidian over time.
- Random Tick Based β Uses Minecraft's native random tick system instead of individual timers or constant world scanning.
- Overworld Only by Default β Lava only cools down in the Overworld by default. Other dimensions remain unaffected.
- Configurable β Customize the freezing behavior to match your preferences.
- Lightweight β No per-block timers, persistent tracking systems, or additional configuration libraries.
βοΈ Configuration
LavaLifecycle includes configurable options through NeoForge's configuration system.
| Option | Default | Description |
|---|---|---|
enabled |
true |
Enables or disables lava freezing. |
freezeChance |
32 |
Controls the probability of lava freezing. |
overworldOnly |
true |
Restricts lava freezing to the Overworld. |
How does the freezing chance work?
The configured value is the denominator of the probability check performed whenever a lava source receives a random tick.
For example:
1β Every random tick freezes the source.16β 1 in 16 chance.32β 1 in 32 chance.64β 1 in 64 chance.
The actual freezing speed also depends on Minecraft's random tick settings and chunk ticking.
π Performance
LavaLifecycle is designed to keep its mechanics simple and lightweight.
- No constantly running world scans.
- No individual timers for lava blocks.
- No additional per-block data storage.
- Relies on Minecraft's existing random tick mechanics.
Chunks that are not actively ticking do not advance the freezing mechanic.
π¦ Compatibility
- Minecraft: 1.21.1
- Mod Loader: NeoForge
- Dependencies: NeoForge only
π₯ Give your lava a lifecycle.
LavaLifecycle β From molten lava to solid obsidian.