Mod TidyChunk by OreCruncher
- 54.57 KB
- 1.12.2
- October 23, 2018
- October 25, 2018
- Server UtilityWorld Gen
Name | TidyChunk | Author | OreCruncher | Description | Cleans up a chunk after it has been generated |
---|---|---|---|---|---|
Information | Downloads: Version: 1.12.2 Size: 54.57 KB Updated at: October 25, 2018 Created at: October 23, 2018 | Tags | Server Utility World Gen |
TidyChunk is a Minecraft Forge mod which removes EntityItems from the chunk after it has been generated. Main purpose, for me at least, is to try and cut down on the amount of crap when exploring and avoid filling up the player inventory.
The way it works is pretty straight forward. During world gen Forge posts events that TinyChunk listens for. If a new chunk is being generated it remembers that chunk. Subsequently, when an EntityItem joins the world TinyChunks cross checks the EntityItem location in it's remembered chunk list. If the item is present in one of these newly generated chunks the EntityItem is set dead and the Forge event is canceled. Net result is fewer pieces of trash in the world.
Note that this only works with chunk generated and Minecraft driven world gen. Some mods do world gen outside the normal ways Minecraft does. Under these circumstances TidyChunk does nothing because it cannot reliably determine if an EntityItem is being created because of chunk generation. A good example of this is AncientWarfare 2's structure generation. A lot of the time generation of a structure occurs right around chunk generation so TidyChunk can clean up any drops left behind. However, there are times where a structure will be generated into an existing chunk, and because the chunk has existed TidyChunk will not clean it up.