Progressive World Cleanup
Overview
Progressive World Cleanup is an automated utility for cleaning unwanted blocks and items from the game world. This tool allows administrators to configure conditions for removing and replacing objects in the world with minimal effort.
How It Works
The mod operates in the background using a separate processing thread independent of the main gameplay. In this thread, chunks are scanned at predetermined intervals. When blocks and items requiring modification are detected, they are added to a processing queue. On the next game tick, the main game thread processes 20 or more entries from this queue for modification. This approach ensures uninterrupted game operation without lag while performing world cleanup.
Key Features
- Block removal based on various criteria: name, metadata, ore dictionary
- Block replacement based on name and metadata
- Configurable modification limit per tick
- Configurable chunk scanning time
- Operation in a separate thread from the main game
- Administrator commands for process management: start, stop, pause, status check
Planned Features
Future updates will include:
- Placement and editing of TileEntities
- Time delay before removal to allow player block recovery
- Expanded administrator command set
- Ore generator support for automatic updating of old deposits
- Conditional block removal (e.g., only near chests)
- World generation code profiling and optimization
Frequently Asked Questions
Mod updates slowly when the world loads
This is due to a 500-tick delay (25 seconds) that allows all world elements to fully load.
How to add or remove blocks from the list
Use the configuration file where blocks are listed separated by commas.
How to get a block's name
It's recommended to use NEI to obtain a list of registered blocks.
Block name doesn't work, I added "tnt"
You need to specify the full block name including the package: "minecraft:tnt".
Can I use item IDs
No, only block registry names are supported.
There's a delay after placing a block before it's removed
Chunks are scanned every 2 minutes to improve performance and ensure even world coverage.
What is a chunk
This is a world area measuring 16x256x16 blocks. Minecraft divides the world into such segments for efficient loading and unloading.