Changelog:
* Added minetracer$hasRelevantSlots flag to skip tracking entirely when no items are present
* Ultra-fast early exit if no container slots have items
* Quick container vs player inventory detection
---
* Pre-sized HashMap with typical chest size (27 slots) to avoid resizing
* Only store non-empty ItemStacks (most container slots are empty most of the time)
* Clear tracking map immediately after use to free memory
---
* Cache container position once per interaction instead of looking it up for each slot
* Skip empty-to-empty slot transitions entirely (most common case)
* Batch process only changed slots
---
* Only track container slots, never player inventory slots
* Skip processing if no relevant slots contain items
* Single pass through slots instead of multiple iterations
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }