File Details
RLCraftImprovedBackpacks-1.12.2-1.0.6.jar
- R
- May 25, 2026
- 76.41 KB
- 12
- 1.12.2
- Forge
File Name
RLCraftImprovedBackpacks-1.12.2-1.0.6.jar
Supported Versions
- 1.12.2
Curse Maven Snippet
[1.0.6] - 2026-05-25
- Fixed auto-sort toggle state lost on relog.
Root cause: AUTO_SORT_ENABLED flag lived only in a server-side Map<UUID, Boolean>,
reset at every relog. Fix: persist the flag in player.getEntityData() (NBT key
"BackpackAutoSort"), which Forge saves with the player file. toggleAutoSort() now
accepts EntityPlayer and writes the flag immediately on toggle. A new
PlayerLoggedInEvent handler reloads the flag on login.
- Fixed item duplication when breaking a placed backpack with items inside.
Root cause: persistPlacedBackpack (WBHooks) was returning false after serializing
the inventory into the stack NBT. WearableBackpacks' onBlockBreak then dropped the
items individually from live BackpackData AND dropped the stack (which now carried
the same items as NBT) → duplication. Fix: spawn the backpack EntityItem manually
then return true to cancel WB's default drop behaviour.
- Fixed Baubles items (potion rings etc.) not being placeable into backpack slots.
Added explicit isItemValid override returning true in TieredItemStackHandler and
SlotTieredBackpack; SpecialSource renames both to func_75214_a at build time,
ensuring the obfuscated runtime calls the correct override.
[1.0.5] - 2026-05-24
- Fixed critical crash: backpack GUI could not be opened (NoClassDefFoundError:
SlotTieredBackpack). Root cause: SlotTieredBackpack declared both the human-readable
stable_39 method names (getSlotStackLimit, getItemStackLimit) AND the SRG names
(func_75219_a, func_178170_b) explicitly. After SpecialSource re-obfuscation the
human-readable names are renamed to the SRG names, producing duplicate method
declarations → ClassFormatError silently swallowed by LaunchClassLoader →
ClassNotFoundException. Fix: removed the redundant explicit SRG-named methods;
SpecialSource correctly renames the @Override methods.
- Removed ASM patching of InvTweaksHandlerSorting: the transformer was replacing all
getMaxStackSize() calls in IT's static sorting methods with WBHooks.getInvTweaksMaxNoCtx,
which returned 127 for all items and broke Inventory Tweaks' merge logic. IT now uses
its own native sorting algorithm unmodified.
- Updated sort algorithm (both backpack and MegaChest) to group items by creative tab
matching Inventory Tweaks' default category tree order: combat → tools → brewing →
food → materials → building → decorations → redstone → transportation → misc →
mod tabs → null-tab.

