TidyChunk - World Cleaning Mod
TidyChunk is a useful addition for Minecraft on the Forge platform that automatically removes dropped items (EntityItems) from newly generated chunks. The main purpose of this mod is to make world exploration more comfortable by freeing the player from collecting random clutter and preventing inventory overflow.
How TidyChunk Works
The mod's operating principle is quite straightforward. During world generation, Forge sends special events that TidyChunk monitors. When a new chunk is created, the mod remembers it. Then, when any dropped item appears in the world, TidyChunk checks its location against its list of recently created chunks. If the item is located in one of these chunks, it is immediately removed, and the corresponding Forge event is canceled. As a result, the world becomes significantly cleaner from random junk.
Important Limitations
It's worth noting that the mod only works with chunks created by Minecraft's standard world generation. Some mods perform generation using non-standard methods, and in such situations, TidyChunk cannot reliably determine whether a dropped item is related to the chunk creation process. For example, when generating structures in AncientWarfare 2: sometimes structure creation occurs simultaneously with chunk generation, and then TidyChunk successfully cleans up dropped items. However, if a structure is generated in an already existing chunk, the mod will not perform cleanup since this chunk was not recently created.