uselessbackpacks-1.12.2-2.0.0.jar
Curse Maven Snippet
What's new
[1.12.2-2.0.0] - 2026-12-04
Added
- Standalone release: Completely removed the
u_team_coredependency by migrating all registries, creative tabs, colors, models, and GUI handling to native Forge 1.12.2 APIs. - Dedicated Baubles backpack slot: Added a Forge player capability (
IBackpackSlot) rendered directly to the right of the Offhand slot inside Baubles'GuiPlayerExpanded(no Mixins required, works with Baubles 1.5.2 / Baubles-LTS / BaublesEX without occupying theBODYslot). Includes left-click equip/swap, Shift-click unequip, right-click open, hover tooltip,keepInventory/ death drop support, multiplayer sync, and back rendering. - Open backpack keybind: Added configurable keybinding (default
B) opening backpacks with priorityDedicated Slot -> Baubles BODY (fallback) -> Main Hand -> Offhand -> Hotbar -> Main Inventory. - Inventory preview tooltip: Added visual grid (compact or full) and text-list tooltip previews, requiring Shift by default (
tooltipRequireShift = true). - Cauldron dye washing: Right-click a filled cauldron to wash dye off a backpack.
- Nesting depth & item blacklist: Added
maxNestingDepth(default3) anditemBlacklistconfiguration options. - Mod integrations: Added JEI per-color subtype interpreter and explicit wool-colored/dye recipes for all 16 colors & 3 sizes, plus Inventory Bogo Sorter slot group compatibility.
- Translations: Added
es_esandes_mxtranslations and relocatedru_ru.langintoassets/usefulbackpacks/lang/. - Build system & tests: Migrated to RetroFuturaGradle (
stable_39, Java 8 target) and added JUnit tests for color math, metadata, and capability slots.
Changed
- Unified configuration: Consolidated Common, Client, and Server settings into
config/uselessbackpacks.cfgwith properly named categories and liveConfigChangedEventsync. - Recipe registration: Moved recipe registration to
RegistryEvent.Register<IRecipe>for CraftTweaker/GroovyScript compatibility and added OreDictionary support (leather,string, wool colors).
Fixed
- NBT serialization lag: Replaced every-tick NBT serialization in
ContainerBackPackwith dirty-flag persistence (saveIfDirty()+onContainerClosed). - Container dupe & locking bugs: Enforced
SlotBackpack.canInsertStackintransferStackInSlot(Shift-click) and locked the exact source slot (MAIN_HAND,OFF_HAND,INVENTORY,BAUBLE,DEDICATED_SLOT) across clicks,SWAP, and drops. - GUI & rendering: Fixed custom anvil names not showing in
GuiBackPack, reset OpenGL color/alpha/blend state in tooltips and Baubles overlay (fixing black artifact over potion effects), and fixed Z-order usingGuiContainerEvent.DrawForeground. - Inventory Tweaks: Fixed off-by-one hotbar range (
size - 9). - Dye & color math: Fixed off-by-1 float truncation in RGB mixing, prevented >1 backpack in dye crafting grid, guarded against black-dye division by zero, and removed
parallelStream().
This mod has no additional files