
VoxelCleaner
A lightweight Fabric mod to hollow areas and generate rooms with undo/redo support.
About this Mod
VoxelCleaner
VoxelCleaner is a Minecraft mod designed to provide powerful voxel-based editing capabilities via in-game commands. With features like room generation, area hollowing, history tracking (undo/redo), loot management, and block protection, it is an essential tool for creators, map builders, and server admins.
Table of Contents
- Features
- Installation
- Usage
- Configuration
- Examples
- Troubleshooting
- Dependencies
- Contributors
- License
Features
- 🧱 Room Generation: Generate rooms of specified width, height, and depth with a single command.
- 🕳️ Area Hollowing: Clear out volumes while preserving outer shell blocks.
- ♻️ Undo/Redo: Revert or reapply world changes with history tracking.
- 🎁 Loot Management: Break blocks, spawn chests, and auto-distribute loot.
- 🔒 Block Protection: Prevents modification of protected blocks like spawners and blocks with entities.
- 🧰 Command Utilities: Utility methods to assist with player and block targeting in commands.
Installation
- Install Fabric Loader for Minecraft.
- Install the Fabric API.
- Download the
VoxelCleanermod JAR and place it in yourmodsfolder. - Launch the game using the Fabric profile.
Usage
Main Commands
/voxelcleaner
Alias: /vc
Clears (hollows) a rectangular area in front of the player.
/voxelcleaner <width> <height> <depth>
/voxelcleaner <width> <height> <depth> <material>
/voxelcleaner <width> <height> <depth> <material> <force>
/voxelcleaner <width> <height> <depth> <material> <force> <loot>
Parameters:
width– Inner width of the areaheight– Inner height of the areadepth– Inner depth of the areamaterial(optional) – Block used for the outer shellforce(optional, boolean) – Removes protected blocksloot(optional, boolean) – Collects drops into chests
/voxelroom
Alias: /vr
Creates a fully built room with walls, floor, and ceiling.
/voxelroom <width> <height> <depth> <walls> <floor> <ceiling>
/voxelroom <width> <height> <depth> <walls> <floor> <ceiling> <force>
/voxelroom <width> <height> <depth> <walls> <floor> <ceiling> <force> <loot>
Parameters:
width– Inner width of the roomheight– Inner height of the roomdepth– Inner depth of the roomwalls– Wall blockfloor– Floor blockceiling– Ceiling blockforce(optional, boolean) – Overrides protected blocksloot(optional, boolean) – Collects removed blocks into chests
History Commands
/voxelundo
Alias: /vcu
Undoes the last voxel action.
/voxelundo
/voxelundo <count>
/voxelredo
Alias: /vcr
Redoes previously undone voxel actions.
/voxelredo
/voxelredo <count>
/voxelhistory
Alias: /vch
Displays the command history for the current player.
/voxelhistory
/voxelhistory <count>
Notes
- All commands are player-only (cannot be executed from console).
- Undo/redo works per player and per dimension.
forceandlootdefault tofalseif not specified.- Protected blocks (block entities, spawners) are preserved unless
force = true.
Configuration
All constants are centralized in VoxelConfig.java. Notable configuration options:
public static final int MAX_W = 64;
public static final int MAX_H = 64;
public static final int MAX_D = 64;
public static final int MAX_ACTIONS_PER_PLAYER = 10;
public static final int MAX_HISTORY_LINES = 20;
public static final String TIMEZONE = "America/New_York";
Adjust these values to fine-tune player limits, history depth, and size constraints.
Examples
# Hollow out a 10x5x10 area using default material
/voxelcleaner 10 5 10
# Hollow out a 10x5x10 area with stone shell and collect loot
/voxelcleaner 10 5 10 minecraft:stone true true
# Create a 7x4x7 room using different blocks for walls, floor, and ceiling
/voxelroom 7 4 7 minecraft:oak_planks minecraft:birch_planks minecraft:glass
# Create a 7x4x7 room and override protected blocks
/voxelroom 7 4 7 minecraft:oak_planks minecraft:birch_planks minecraft:glass true
# Undo the last 2 voxel actions
/voxelundo 2
# Redo the last undone voxel action
/voxelredo 1
# View the last 5 voxel actions for the current player
/voxelhistory 5
Troubleshooting
- ❗ Commands not recognized? Make sure the mod is loaded and you're using the Fabric profile.
- ❗ Block edits not working? Ensure you're not targeting protected blocks (e.g., spawners, blocks with entities).
- ❗ Undo stack not working? Check
VoxelConfig.MAX_ACTIONS_PER_PLAYERto ensure history is enabled for players.
Dependencies
- Minecraft (Fabric)
- Fabric API
- Brigadier (Minecraft’s command parser)
- Minecraft Server Classes (for block, entity, world management)
Contributors
- Jason Oltzen – Author and core developer
License
This work is released under the Creative Commons CC0 1.0 Universal (CC0 1.0) Public Domain Dedication.
Available Versions
How to Install VoxelCleaner on Your Server
Order Server
Order a Minecraft Java server with at least 4 GB RAM (6 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "VoxelCleaner". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11
Server-side
~ OptionalRecommended RAM
6 GB(min. 4 GB)Frequently Asked Questions
VoxelCleaner 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 4 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is VoxelCleaner compatible with fabric?
VoxelCleaner officially supports fabric for Minecraft 1.21.11. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with VoxelCleaner – how to optimize performance?
Recommended RAM: 6 GB (per 5 players). Use /spark profiler to check if VoxelCleaner 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.
Similar Mods
Rent Modded Server
Install VoxelCleaner with just one click on your server.