Skip to content

AdventureBackpack2 ​

23 merged pull requests.

New Features ​

  • #51 SlotCraftResult.onPickupFromSlot now handles IModifyable results: it decrements matrix slots using the ToRemove array, clears slot 4 and plays a sound. ContainerBackpack.craftMatrix became protected, TConstructTab casts the button list, and the TinkersConstruct dev dependency moved to 1.14.86-GTNH. - @FrostyFire1
    • Added: toolstation-style tool crafting in the backpack crafting grid
  • #49 Modified GuiWithTanks to narrow scroll-wheel blocking to only fluid slots, added flag to route fluid containers to backpack inventory during scrolling, and updated access transformers to allow scroll event handling. - @Luca-Guettinger
    • Added: scroll-wheel transfer support, fluid routing flag
    • Fixed: MouseTweaks scroll-to-transfer not working
    • Closes GTNH#24192
  • #45 Updated SlotTool to include new tool metadata values in the cycling filter. - @UltraProdigy
  • #38 Added Witchery mod detection in LoadedMods, integrated Sticky Items potion check into ItemAdventureBackpack and PlayerEventHandler death logic, and added config option for the feature. - @wlhlm
    • Added: Witchery Sticky Items potion support, configuration option for death-keep behavior

New Content ​

  • #50 Updated pt_BR.lang file with comprehensive translations. - @Xlr11
  • #36 Added tooltip text to button handlers in GuiAdvBackpack, GuiCoalJetpack, and GuiCopterPack. Updated lang file entries and ConfigHandler. - @wlhlm
    • Added: equip/unequip button tooltips, tooltip text entries

Changes ​

  • #35 Changed the dependencies string in AdventureBackpack from 'after:TConstruct' to 'after:TConstruct@[1.14.4,)'. - @wlhlm

Balance ​

  • #44 Added config option to disable villager backpack trade in ConfigHandler, modified ModWorldGen villager trade, and added new crafting recipe in BackpackRecipesList. - @imTheSupremeOne
    • Added: backpack crafting recipe, villager trade disable config option

Bug Fixes ​

  • #62 Extracts TinkerCraftingStationBridge from TinkersUtils. ContainerBackpack creates one instance per container, so it can be garbage collected, instead of holding a crafting station instance in a static field. - @Alexdoru
    • Fixed: memory leak holding a world after repairing Tinkers tools in a Backpack crafting grid
  • #58 ItemCoalJetpack.elevate computes a thrust cutoff speed per altitude (0.32 below Y=135, a declining value up to Y=185, none above). It adds 0.1 to motionY only when motionY is at or below the cutoff, instead of overwriting it. - @Worive
    • Fixed: Coal Jetpack setting vertical velocity above Y=135 and halting falls
    • Closes GTNH#20238
  • #57 Modified PlayerEventHandler and BackpackProperty to correctly track backpack state across dimension changes and death events. Removed ServerProxy cleanup code that was incorrectly clearing backpack properties on dimension change. - @Worive
    • Fixed: Backpack lost after leaving the world before respawning with keepInventory, Backpack not visible after changing dimension
    • Migration: A backpack this bug destroyed was held in a memory-only map and is permanently gone. The dimension-travel half was only the client failing to draw the backpack.
    • Closes GTNH#5035
  • #56 GuiOverlay.drawItemStack and RendererStack drop the custom IItemRenderer handling and use RenderItem/RenderManager with a dummy EntityItem. The lower and upper slot scales change from 0.6/0.7 to 0.8/0.9. - @FourIsTheNumber
    • Fixed: crash when shift-clicking a Twilight Forest Giant Pickaxe into a Backpack
    • Closes GTNH#25908
  • #53 Removes the reflection-based ToolHandler, GregtechUtils, ThaumcraftUtils, TinkersUtils and ToolRenderHelper render paths. GuiOverlay and RendererStack call the item's registered IItemRenderer through MinecraftForgeClient. - @FourIsTheNumber
    • Removed: reflection-based tool rendering handlers
    • Fixed: crash with mechanical armor, GregTech tools not rendering in GUI
  • #48 Adds GeneralReference.getSteamFluid, which caches the steam fluid and falls back to water. InventoryCoalJetpack and ItemCoalJetpack use it instead of looking up steam directly. InventoryAdventure.markDirty also saves to NBT again. - @Caedis
    • Fixed: Coal Jetpack not working
  • #47 Reverts the last commit of #37: removes the sleeping bag spawn and per-entry dimension from BackpackProperty, the death-time restore, and the unconditional storePlayerProps. Adds an isWakingUpInDeployedBag flag. InventoryAdventure.markDirty now calls dirtyInventory to fix the crafting grid dupe. - @UltraProdigy
    • Removed: death-time Sleeping Bag spawn restore
    • Fixed: Backpack dupe on death, Backpack crafting grid dupe
    • Closes Dupes-Exploits-GTNH#265
  • #42 ContainerAdventure.detectAndSendChanges compares the held item with areItemStacksEqual instead of reference equality. InventoryAdventure.markDirty no longer writes to NBT. ItemAdventureBackpack.placeBackpack and BackpackUtils.createBackpackStack now initialise the inventory tag. - @devpikachu
    • Fixed: Backpack GUI closing on double-click stack merge, missing NBT tags when middle-click picking a Backpack in creative
    • Closes GTNH#22871
  • #39 ContainerBackpack.detectAndSendChanges now calls syncCraftMatrixWithInventory(true) before syncing the craft result to the server. - @SuperSoupr
    • Fixed: backpack crafting grid out of sync with the inventory
  • #37 Previous spawn is now stored in BackpackProperty (player extended properties) with dimension, plus a sleeping bag spawn entry, both saved to NBT. BlockSleepingBag and PlayerEventHandler use it instead of tags on the worn backpack, and spawn is restored on death. Player props are now stored on every death. - @wlhlm
    • Added: stored spawn data on the player for Sleeping Bag use
    • Fixed: placed Backpack Sleeping Bag overwriting the previous bed spawn

Internal / Refactor ​

  • #59 Deleted ColorReplacer, CalendarDate, CalendarImpl, ChineseCalendar and JewishCalendar from the util package. - @Worive
    • Removed: unused calendar utility classes, ColorReplacer
  • #41 Renamed BackpackUtils.getWearableCompound and getWearableInventory to getOrCreate variants and updated callers. Moved the 'lastTime' NBT key into a TAG_LAST_TIME constant. - @devpikachu
  • #34 Removed the duplicated drawButton tab rendering from TConstructTab and relies on the TiCon implementation. Added 'after:TConstruct' to the mod dependencies and bumped waila, NEI, TinkersConstruct and the settings convention plugin. - @wlhlm
    • Removed: duplicated tab rendering code

Chores ​

  • #46 Added .github/workflows/optimize-images.yml and optimized PNG textures in assets/adventurebackpack/textures/backpack/ directory. No code changes. - @UltraProdigy
    • Added: GitHub Actions image optimization workflow
  • #43 Updated gradle.properties, the Gradle wrapper files, added gradle-daemon-jvm.properties (toolchain 25) and bumped gtnhsettingsconvention to 2.0.12. - @devpikachu

Contributors ​

Everyone who authored, reviewed or co-authored a change on this page, with how many of them:

@UltraProdigy (9), @Dream-Master (7), @wlhlm (6), @boubou19 (4), @devpikachu (3), @Worive (3), @Alexdoru (2), @Caedis (2), @FourIsTheNumber (2), @Luca-Guettinger (2), @sisyphussy (2), @tiffit (2), @ah-OOG-ah (1), @Algent (1), @Auynonymous (1), @BL00DKNIGHT (1), @FrostyFire1 (1), @ham-corp (1), @imTheSupremeOne (1), @Kogepan229 (1), @koolkrafter5 (1), @LazyFlesh (1), @MalTeeez (1), @Nikolay-Sitnikov (1), @RecursivePineapple (1), @Ruling-0 (1), @SuperSoupr (1), @thehoblit (1), @TotallyNotOndre (1), @VortexSo4 (1), @Xlr11 (1)