sophisticated-petite-inventory-1.20.1-1.6.0.jar
Curse Maven Snippet
What's new
Sophisticated Petite Inventory — Changelog
1.6.0 — Automation, upgrade integration and verified versions
- Enforce complete item footprints for closed-backpack insertion, upgrade processing and Forge player-inventory transfers.
- Keep simulated insertions and multi-output batch checks consistent with actual storage space and native stack limits.
- Add footprint-aware sorting with no-sort/memory support, large-stack count preservation and no-write rollback when a layout cannot fit.
- Fix legacy Core repeatedly retrying covered empty slots instead of finding a valid region.
- Preserve multi-slot layouts when Tank/Battery upgrades change storage columns, including safe rejection when the resized grid cannot fit.
- Return carried items to valid player-inventory footprints when closing a backpack, including Petite’s legacy, modular and platform return paths.
- Prevent Advanced Tool Swapper from losing the held item when the released tool footprint cannot fit it; check the swap on a detached inventory before committing.
- Verify all 54 standard upgrades for storage integration and native interfaces, with additional functional automation/recipe/transfer scenarios.
- Add a published-release API/dependency audit and a runtime matrix covering 22 Core releases, 19 Backpacks releases and four Petite versions. Accepted dependency ranges remain unchanged.
1.5.0 — Broader version compatibility
- Replace direct references to Petite's old packages with adapters selected by the installed API: legacy 1.0.7/1.0.8, modular 1.1.0, and platform 1.1.1.
- Register only the grid hook supported by the installed Petite version and validate the required API during mod loading.
- Replace the conflicting Sophisticated rendering and quick-transfer hooks in both newer Petite branches, while retaining their editor hooks.
- Broaden accepted versions to Petite `[1.0.7,2.0.0)`, Sophisticated Core `[1.3.84.2308,2.0.0)`, and Sophisticated Backpacks `[3.24.67.2109,4.0.0)` on Minecraft 1.20.1 / Forge.
- Build against an older supported Core API and remove the build dependency on a specific Petite JAR. Test tools now compile against each tested Core/Backpacks pair.
- Preserve footprint rendering, covered-cell picking, grab points, drag splitting, quick transfers, and scroll clipping. See `COMPATIBILITY.md` for tested combinations and the distinction between accepted and verified versions.
1.4.0 — Scrolling and rendering boundaries
- Keep the visible portion of an item on screen when its starting cell scrolls out of view. A 1×2 sword or 2×2 log still shows its lower half after scrolling down one row.
- Clip backgrounds, item icons, stack counts, and placement previews to the backpack's storage area, preventing them from drawing over the title or player inventory frame.
- Remove a duplicate background-rendering pass that caused footprints to extend beyond the storage area.
- Allow picking up partially visible items while preserving the selected grab point.
- Calculate drawing coordinates separately using the scroll position and search filter, without changing saved item positions.
- Set the official project name to **Sophisticated Petite Inventory** and update the display name, JAR filename, and log label. Retain the existing internal identifiers so the mod keeps its previous identity.
- Verify behavior on Forge 47.4.13 and 47.4.16 at GUI scales 2 and 3. All 198 previous interaction assertions pass; screenshot comparisons confirm that partial items render correctly and leave the player inventory frame unchanged.
1.3.0 — Drag splitting with full item footprints
- Fix drag splitting treating multi-slot items as 1×1 items, which allowed adjacent stacks to overlap.
- Reserve each selected region's full footprint, including stacks that are still being previewed.
- Render preview footprints and counts using the item's actual dimensions.
- Support left-dragging to distribute items evenly and right-dragging to place one item in each valid region.
- Skip overlapping regions, positions beyond the grid, and unsuitable upgrade slots. Releasing over an invalid position still completes previously selected valid regions.
- Validate drag selections again on the server before placing items.
- Preserve grab points and standard drag-splitting behavior for 1×1 items.
1.2.0 — Preserve the grab point
- Remember which cell was clicked when picking up an item and use that cell as its placement point.
- Support all four corners of 2×2 items, the regular player inventory, and transfers between the inventory and backpacks.
- Align the carried item and placement preview with the selected grab point.
- Keep the grab point when placing part of a stack, update it when rotating a rectangular item, and reset it after placing the entire stack.
- Keep items on the cursor when the selected placement would extend beyond the grid.
1.1.0 — Multi-slot backpack inventory
- Integrate Petite Inventory's multi-slot grid with Sophisticated Backpacks without requiring a whitelist entry.
- Match backpack item backgrounds, colors, and dimensions to the player inventory.
- Allow picking up, splitting, merging, and Shift-clicking items from any cell they cover.
- Check available space during placement and transfers to prevent overlapping footprints or placement beyond grid boundaries.
- Support rotated items while preserving the separate behavior of upgrade slots and the hotbar.
1.0.0 — Standalone compatibility mod
- Introduce an independent compatibility mod without modifying the original mods' JAR files.
- Fix the startup failure caused by Petite Inventory's slot-rendering hook failing to find the corresponding method in Sophisticated Core on Forge 1.20.1.
- Bundle MixinSquared Forge to apply the compatibility fix during startup.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include