Additional Enchanted Miner

Additional Enchanted Miner

23M Downloads

Filling in an Area with a lot of already filled blocks creates a lot of lagg (Fabric 1.20.4)

AriesOdyssey opened this issue ยท 3 comments

commented

Singleplayer
Fabric 1.20.4

Wanted to fill in caves in a large area (133 x 133 x 128) with the filler, however this creates a lot of lag. My theory is that checking the skipped Arraylist for each position is mostly the cause of this lag. Using a Hashset instead of an ArrayList might improve performance. I could write a PR if you are interested.

commented

Ahh yeah that makes sense, if you need help with the workload let me know!

commented

I'll release a new version. Just a moment.

commented

The collection itself is not the problem. I think I wrote code to check the skipped list every tick, however I should do it every 20s or at the end of work.