Skip to content

Backhand ​

15 merged pull requests.

Changes ​

  • #170 Added ExtraUtilsCompat module to detect and prevent healing axe log-stripping behavior when in offhand. - @sbancuz
    • Added: ExtraUtilsCompat compatibility layer
    • Closes GTNH#23556
  • #168 Adjusted mixin target and dependency versions in MixinGuiToolConfig following the BrandonsCore integration. - @Alexdoru

Bug Fixes ​

  • #196 Modified MixinMinecraft and MixinEntityAspectOrb to properly handle canceled right-click block interactions and edge cases where server-side main hand tools return false. Added mainhandUseStopsOffhandFallback config to prevent offhand fallback for items with complex handling. - @Algent
    • Added: mainhandUseStopsOffhandFallback config, MixinEntityAspectOrb for Thaumcraft Wand vis orb consumption
    • Fixed: double-triggering on offhand actions, inventory/GUI auto-closing, offhand item functionality with dislocator and Matter Manipulator, Thaumcraft Wand vis orb consumption in offhand
    • Closes GTNH#20627, GTNH#21886, GTNH#21923, GTNH#22157, #164
  • #194 Added MixinInventoryBrewBag to handle Witchery's render-event-based bag opening when the bag is in the offhand. - @Lyfts
    • Added: Witchery Brew Bag offhand mixin
    • Fixed: Witchery Brew Bag offhand crash
    • Closes GTNH#25713
  • #192 Added cancellation check in MixinMinecraft to stop offhand interaction processing when the main hand interaction event is cancelled by other mods. - @Algent
    • Fixed: Double-firing of cancelled interactions, Item interactions with offhand equipment present
    • Closes GTNH#25739
  • #189 Refined container interaction logic in BackhandUtils, MixinEntityPlayer, MixinEntityLivingBase, MixinNetHandlerPlayServer, and MixinOpenGuiHandler to properly validate container state and prevent item duplication/void scenarios during offhand swaps and container opens. - @Algent
  • #180 Corrected slot offset calculation in MixinContainerExtendedInventory for Galacticraft armor slots. - @Ranzuu
    • Fixed: Galacticraft inventory GUI armor slot alignment
    • Closes GTNH#24562
  • #178 Modified MixinRenderPlayer to copy held item and animation state properties from the main player model to custom armor models returned by ForgeHooksClient.getArmorModel(). - @Luca-Guettinger
    • Fixed: Offhand item clipping through custom armor
    • Closes GTNH#24181
  • #175 Added offhand slot clearing in MixinGuiContainerCreative and MixinNetHandlerPlayServer to sync Creative mode item destruction with offhand inventory. - @Ranzuu
    • Fixed: Creative inventory offhand slot clearing
    • Closes GTNH#20461
  • #174 Refined ExtraUtilsCompat to selectively disable only log-stripping behavior in offhand, not all right-click interactions. - @Caedis
    • Fixed: Right-click interactions with healing axe in offhand
    • Closes #171
  • #169 Added isCanceled() check in ClientEventHandler to respect RenderGameOverlayEvent.Pre cancellations for the HOTBAR element. - @Eldrinn-Elantey
    • Fixed: Offhand slot visibility with cancelled hotbar rendering
  • #161 Modified ItemRendererHooks to use itemToRender from the item renderer instead of directly accessing held item, accounting for animation-in-progress state during hand switches. - @leumasme
    • Fixed: Item switching animations
    • Closes #159
  • #156 Updated TorchHandler.java to include items with eat action in the food check, preventing torches from being held in offhand during food consumption. Removed unnecessary dependency. - @Caedis
    • Removed: dependency
    • Fixed: no offhand torch with lunch box
    • Closes GTNH#21627
  • #155 Added null safety handling in MixinClientTickEventsFML for Thaumcraft's wand tick event processing. - @Lyfts
    • Fixed: Thaumcraft wand crash in offhand
    • Closes GTNH#21551
  • #154 Restored damage calculation logic from original Backhand implementation to EnumHand, IBackhandPlayer, and related mixins (MixinEntityPlayer, MixinItemStack, MixinNetHandlerPlayServer, MixinPlayerControllerMP). - @Lyfts
    • Added: Offhand damage calculation helpers in IBackhandPlayer
    • Fixed: Offhand weapon damage
    • Closes #121

Contributors ​

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

@Caedis (8), @Lyfts (6), @Algent (3), @Alexdoru (2), @Ranzuu (2), @0hwx (1), @Eldrinn-Elantey (1), @Ethryan (1), @koolkrafter5 (1), @leumasme (1), @Luca-Guettinger (1), @sbancuz (1), @sisyphussy (1), @tiffit (1), @UltraProdigy (1)