AutoFlatten
Anyone who has ever tried to clear a build site in Minecraft knows the pain: hour after hour of swinging a shovel, filling shulker boxes with dirt, and still staring at a hillside that refuses to disappear. AutoFlatten is a Fabric add-on that hands that chore to your own character, turning it into an AFK terraformer that digs a marked area down to a target height, layer by layer, while you step away from the keyboard.
What AutoFlatten Does
The idea is refreshingly simple. You mark two corners of a rectangle and set a floor height, press Start, and your character begins removing blocks from the top down until everything inside the selection is flat. There is no magic block placement and no world editing trickery here; your character actually mines every block, which is why the results feel earned and the add-on fits naturally into survival gameplay.
Smart Tool Selection and Inventory Management
AutoFlatten always picks the fastest tool in your inventory for the job. Shovels handle dirt and gravel, pickaxes chew through stone, and axes take care of trees. If it runs out of food or a tool breaks, it walks to the chests you marked beforehand and restocks. When the inventory fills up, it stashes the spoils in those same chests so the work never stalls.
Safety Features That Keep You Alive
AFK automation is only useful if you survive it. AutoFlatten never drops more than two blocks, never digs next to lava, never mines under sand or gravel, and never removes the block it is standing on. If a monster appears, night falls without a bed nearby, or health drops low, it walls itself in with ten blocks and resumes once the danger passes. It also leaves player-made structures alone: planks, chests, beds, and log houses are ignored, and enchanted tools can be protected from breaking.
Big Jobs, Clear Feedback
Selections can span up to 1024 by 1024 blocks, split into 16 by 16 zones that are cleared nearest-first, so you see progress where it matters most. The HUD tracks tools, food, and a time-left estimate, and an alert sounds when the job finishes or your character needs attention. If the game closes mid-project, AutoFlatten picks up exactly where it stopped the next time you load in.
If you would rather skip manual file handling entirely, the foxygame.net launcher installs AutoFlatten in a single click from its add-on catalog, then keeps it updated automatically as new Minecraft versions roll out.
Supported Versions and Loaders
AutoFlatten requires Fabric Loader and Fabric API. The download is a single file that covers every supported Minecraft version: it detects your game version on launch and loads the correct code by itself, so there is no guessing which build to grab. Lunar Client users can simply pick their version, open the Mods menu, and drag the .jar in, since Lunar already bundles Fabric API. The add-on works in Survival, Hardcore, and Creative worlds.
How to Install AutoFlatten for Minecraft
Getting started takes only a few minutes:
- Install Fabric Loader for your Minecraft version and drop Fabric API into the mods folder.
- Download AutoFlatten and place the .jar in the same mods folder.
- Launch the game and load into a world.
- Press K to open the AutoFlatten panel.
- In Setup, stand on each corner and mark it, then set the floor height. Marking a bed and chests is optional but recommended.
- Press Start and let your character work.
To stop the job, use the Stop button in the panel or press A, S, or D. Pressing K again only reopens the panel; the digging continues in the background.
Things to Know Before You Start
AutoFlatten is designed for single-player worlds or servers that explicitly allow automation. Many multiplayer servers ban AFK farming and terraforming tools, so check the rules first. It is also wise to test the add-on on a copy of your world before unleashing it on an important project. AutoFlatten is not an official Minecraft product and is not approved by or associated with Mojang or Microsoft.
Final Thoughts
Grinding out a flat foundation is one of the least rewarding tasks in Minecraft, and AutoFlatten removes it without removing the satisfaction of a legitimately cleared site. Whether you are preparing a megabase platform or simply tired of digging, this Fabric add-on delivers a set-and-forget solution that respects your world, your tools, and your safety. Mark the corners, press Start, and come back to perfectly flat ground.