Grass Seeds (Fabric)

Grass Seeds (Fabric)

46.1k Downloads

Tetra Tools with RMB effects (while using Stack Refill) get swapped creating "ghost" tools

CatAndPaste opened this issue ยท 0 comments

commented

Information

Minecraft version: 1.19.2
Modloader: Forge
Forge version: 43.2.11
Environment: Both Singleplayer & Multiplayer

First mod name: Stack Refill
First mod version: 4.0

Second mod name: Tetra (and its addon Art of Forging)
Second mod version: 5.2.1 (AoF 1.6.7)

Description

Issue appears when using Tetra tools with special behaviour tied to Right Mouse Button (RMB).

For example, normal Tetra throwing knife, Art of Forging's Tamahawk and Void Worm Pickaxe.

First demonstration is with Tetra's Throwing Knife and AoF's Tamahawk: https://youtu.be/K4Ttx2aroI8

On throw, if there is another tool of the same type in the player's inventory, throwable item creates its ghost clone in the hotbar (which is not functional) and another tool that gets swapped is hidden until cloned item or slot where tool previously was is clicked. If RMB is used while holding that ghost tool, another ghost clone is created and current one is replaced with another tool, it can be repeated then until there are valid extra tools in inventory.

Second demo is with AoF's Void Worm Pickaxe that has Puncture effect (hold RMB to deal damage ignoring armor, weird effect for tool, I know, but why not!): https://youtu.be/9dqzparq0TY

While clicking (or holding) RMB, pickaxe gets swapped with another one from the inventory. While that another tool is functional, Void Worm Pickaxe creates its ghost clone in the hotbar (that is not functional), using RMB again with it swaps with another tool and creates another ghost pickaxe (and so on).

And it's really sad, because I really love Refill made by you and Tetra tools (especially Void Worm's Pick from AoF) :') Really annoying if you get used to holding torches in the off-hand and placing them by clicking RMB.

Might be nice to have the config file and option to disable swapping tools (only blocks and / or consumable items).

<3 your mods.

Additional links.
Link to the AoF repo (Void Worm Pickaxe module): https://github.com/AceTheEldritchKing/art_of_forging/blob/master/src/main/resources/data/tetra/modules/double/void_worm_pickaxe.json
Link to the Tetra sources (Throwing knife module):
https://github.com/mickelus/tetra/blob/1.18/src/main/resources/data/tetra/modules/sword/throwing_knife.json