Skip to content

Crossbow in offhand hides spear #335

Description

@purplefirefly

Hello and good day, I have discovered a potential issue in this mod while holding the crossbow in the offhand.
I have attached details so that the relevant parties may investigate at their convenience.

Minecraft version: 26.2
Fabric API version: 0.154.0+26.2
NotEnoughAnimations version : 1.12.4

When holding a charged crossbow in the offhand, because all items in the main hand are hidden, when the player is holding a spear it becomes entirely invisible despite consuming left and right click functionality. This is of course likely due to the feature advertised as "Don't show items during two-handed animations".
This does apply to other weapons, but the solution is not as clear in those cases since the vanilla behavior there is the overlap issue the mentioned feature of this mod addresses. For that reason I kept the issue specific to the spear.

Maybe there could be an exception for the spear item in this case, or perhaps configuration for this feature of the mod?
I defer to the judgement of the relevant parties. Thank you in general for the mod, and for considering this issue.

Minimal modded instance
Image

Vanilla
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions