ChaoticTrials / UtilitiX

Nice to have items, blocks, and other features.
https://modrinth.com/mod/utilitix
Apache License 2.0
7 stars 3 forks source link

Better mending drains too much performance #14

Closed MelanX closed 2 years ago

MelanX commented 2 years ago

https://spark.lucko.me/rIDlV9dEzd

MelanX commented 2 years ago

When entity joins the world, UUID will be added to a map with the information whether the entity is an item with mending. Only these entities should be moved. When collecting or disappearing, id will be removed from the cache.