ModsJava
✨ LeavesFixer ✨ Save your decaying Leaves!
Fixes decaying leaves left behind by world generator plugins (like Terra) after a version upgrade. Free Minecraft Java mod for 1.21, 26.1, 26.2.
⬇ Download on SpigotLeavesFixer
What it does:
Installation:
Example - fix a 15000x15000 world centered at spawn:
Command
What it does:
/lf status - Shows progress, speed, and estimated time left
/lf stop - Pauses the job and saves progress
/lf resume - Continues from where it stopped, even after a server restart
/lf reload - Reloads config.yml without restarting the job
Permission: leavesfixer.use (defaults to server operators).
What it does:
- Fixes leaves that disappear over time by flipping their persistent block state to true.
- Works only on chunks that already exist on disk. It does not generate any new terrain.
- It is not a pregenerator. A pregenerator creates new chunks; this plugin only edits leaf blocks inside chunks that are already there.
- Built for one specific situation: you moved a world from an older Minecraft version to a newer one, the plugin that generated the trees (e.g. Terra) is no longer active, and now leaves near those trees slowly vanish because they lost their "keep me even if there's no log nearby" flag. This plugin sweeps through the world once and restores that flag.
- Runs as a background task, throttled like a pregenerator, so it won't freeze your server on large worlds.
- Automatically slows down if server TPS drops or memory usage gets high.
- It does not touch how new trees behave. Trees grown or placed after running this plugin still decay normally, exactly like vanilla.
- It does not generate, regenerate, or modify terrain, biomes, or any block type other than leaves.
- It is not a replacement for a pregenerator (Chunky, etc.) - your world needs to already be generated before this plugin has anything to fix.
Spoiler: Config.yml
Code (Text):
# LeavesFixer is meant to run as a dedicated, one-time prerender-style job -
# NOT something you casually leave running at low intensity while players are
# actively playing. Default values below are intentionally aggressive to get
# the job done fast. If your server can't keep up, you can adjust the settings.
# How many chunks to process per scheduled run, under normal (healthy) conditions.
chunks-per-tick: 20
# How many ticks between each scheduled run (20 ticks = 1 second).
# 1 = run every tick.
tick-interval-ticks: 1
# Fallback chunk count used instead of chunks-per-tick whenever the server is
# unhealthy (see min-tps / max-memory-percent below). This is a slowdown, not
# a full stop - the job keeps making progress, just much more gently.
throttled-chunks-per-tick: 4
# If the server's 1-minute average TPS drops below this value, the job
# switches to throttled-chunks-per-tick until TPS recovers.
min-tps: 10.0
# If JVM heap usage goes above this percentage, the job switches to
# throttled-chunks-per-tick until memory pressure drops.
max-memory-percent: 85
# How often (in processed chunks) to persist progress to disk, so /ls resume
# works even after a server restart.
save-progress-every-chunks: 500
# How often (in seconds) to print an automatic progress report to console,
# 0 = disabled.
console-report-interval-seconds: 5
# NOT something you casually leave running at low intensity while players are
# actively playing. Default values below are intentionally aggressive to get
# the job done fast. If your server can't keep up, you can adjust the settings.
# How many chunks to process per scheduled run, under normal (healthy) conditions.
chunks-per-tick: 20
# How many ticks between each scheduled run (20 ticks = 1 second).
# 1 = run every tick.
tick-interval-ticks: 1
# Fallback chunk count used instead of chunks-per-tick whenever the server is
# unhealthy (see min-tps / max-memory-percent below). This is a slowdown, not
# a full stop - the job keeps making progress, just much more gently.
throttled-chunks-per-tick: 4
# If the server's 1-minute average TPS drops below this value, the job
# switches to throttled-chunks-per-tick until TPS recovers.
min-tps: 10.0
# If JVM heap usage goes above this percentage, the job switches to
# throttled-chunks-per-tick until memory pressure drops.
max-memory-percent: 85
# How often (in processed chunks) to persist progress to disk, so /ls resume
# works even after a server restart.
save-progress-every-chunks: 500
# How often (in seconds) to print an automatic progress report to console,
# 0 = disabled.
console-report-interval-seconds: 5
Installation:
- Download the jar file.
- Drop it into your server's plugins folder.
- Restart the server.
Code (Text):
/lf start <radius> <world> <x> <z>
Code (Text):
/lf start 7500 world 0 0
/lf status - Shows progress, speed, and estimated time left
/lf stop - Pauses the job and saves progress
/lf resume - Continues from where it stopped, even after a server restart
/lf reload - Reloads config.yml without restarting the job
Permission: leavesfixer.use (defaults to server operators).
✨ LeavesFixer ✨ Save your decaying Leaves! is a free Minecraft Java mod. Compatible with Minecraft 1.21, 26.1, 26.2. Downloaded 6 times (via Spigot). Download it and open it directly in the game.