Grid Inventory 2.1.4.4 (Fabric 26.1.2)
Curse Maven Snippet
What's new
Grid Inventory 2.1.4.4
Both issues in this release were reported by Baronman on CurseForge — thank you.
- Fix the long stall when a loot chest generates its contents in a large modpack. Every
setItemduring loot generation rebuilt the entire container grid twice, and each rebuilt slot re-resolved that item's footprint from scratch — including a linear scan over every tag rule. That made the cost grow with both container size and the number of configured rules, so it only became visible in big packs. Footprint results are now memoised per item type. Mods that regenerate loot per player, such as Lootr, were hit hardest. - Fix items occasionally being drawn past the edge of a container's GUI. The renderers drew each item's declared footprint, while the grid stores one clamped to fit the container. Whenever the two disagreed — an item near the right or bottom edge, or one that lost its cell to an overlap — the icon and frame were painted outside the container, leaving only part of the item inside a real slot. Every renderer now draws the footprint the grid actually reserved.
This mod has no additional files