Small code changes to increase compatibility with other mods - removed all code/library instances of battlegear.
v1.4.0
release4 июня 2023 г.
Backhand v.1.4.0
Additions:
A new Chinese translation thanks to user song682
Changes:
Removed the offhand container, and the config for an extra offhand item slot. Caused far too many bugs and issues for the novelty of having a single extra slot appear. A separate GUI for adding an item into the offhand slot will be added soon.
Fixes:
Many inventory issues have been fixed because of the removal of the offhand container! In fact, all fixes listed here but the last one are completely fixed because of the absence of the offhand container.
Fixed GUI deadlock due to Backhand's handling of mismatching its container to other GUIs
Fixed crash with DBC when opening the extra inventory
Fixed furnace fuel disappearing sometimes when holding an item in the offhand
Fixed index out of range crash with inventory tweaks
Fixed dragged items disappearing in creative mode when the survival tab is clicked
Fixed offhand item not updating when the player changes dimensions.
v.1.3.1
release16 марта 2023 г.
Backhand v.1.3.1
Additions:
Added left hand aimed bow animation
Changes:
Offhand mirrors the main hand correctly and sways left/right now.
Offhand item switching animation is now faithful to the mainhand's animation.
Fixes:
Fixed inventory not updating sometimes when the offhand is swapped.
Fixed many creative inventory bugs, and some more syncing issues.
Fixed being able to attack with an empty offhand when the offhand config is disabled.
Fixed some placeable offhand item stacks not being set to null when their size is below 0 in the offhand.
Fixed offhand item damage not updating correctly on item use.
Fixed mainhand item not losing durability when attacking entities.
Fixed unintended behavior when trying to use an item in the mainhand while having an empty offhand.
Fixed HUD issues with other when rendering the offhand slot with other mods.
1.3.0
beta14 декабря 2022 г.
Backhand v.1.3.0
New features:
The offhand item is now stored in a player extended property when not assigned to an inventory slot, meaning many more mods that change the player's inventory are compatible with fewer conflicts.
A similar change to how the offhand slot container is implemented now allows more mods that change the player's inventory container to be compatible with fewer conflicts.
Most items are mirrored correctly in first and third person in the offhand now.
More items like fishing rods and thaumcraft wands are now usable through an added mixin and ticking server-side hotswap. The ticking hotswap is toggleable through the config.
Fixes:
Fixed ghost blocks when breaking blocks with the offhand in creative mode.
Fixed attacking an entity with the offhand right after using an item or interacting with an entity with an item.
Fixed server-side crash when checking for offhand use and shift placing offhand blocks on blocks with uses.
Fixed null pointer exception in offhand creative inventory.
NetHandlerPlayClient.handleSetSlot() mixin now sets item stacks to null in slots if their stack size is zero, fixing some container issues.
Fixed nullpointerexception client-side console spam on sent packets.
Server-sided configs are now synced with the client.
1.2.1
release9 декабря 2022 г.
Backhand v.1.2.1
Important fixes!
Holding down right click no longer auto-attacks like crazy, and swinging animations happen for every offhand attack now
Offhand attacks are disabled if there is any item in use
Fixed offhand blocks not being able to be placed on modded blocks with right-clicking uses
Offhand block placements will no longer allow the player to no-clip into the placed block
Fixed block breaking damage carrying over when switching blocks
Fixed modded items not working in the blacklist config
Offhand items can no longer be used if a block is held in the main hand
Blocks no longer break right after you place them with the offhand
Fixed offhand interacting causing the player to interact twice with blocks
Fixed odd first person right hand bobbing when another player swings with their offhand
Improvements to offhand item syncing in multiplayer
Null pointer exception fix for offhand block breaking
Offhand slot to the side of the hotbar not rendering with some mods