Dynamic Crosshair

Dynamic Crosshair

2M Downloads

if a single item has multiple categories, only one crosshair will show

tuopi27 opened this issue ยท 4 comments

commented

see here: trident i have set to both "throwable" and "melee weapon" shows only "throwable" crosshair even if coalesce is active for both
2024-07-24_16 50 59
2024-07-24_16 50 50

note it still coalesces with crosshairs from other sources (looking at block and looking at entity shown here)
2024-07-24_16 53 23
2024-07-24_16 54 07

commented

This is an interesting one. I will have a look at it, but I'm not sure if this is doable without massive complexity.

I do also think, though, that tridents by default should be both melee & ranged weapons.

commented

i did throwable because ranged just.... didnt work
-even if coalesce is on, the ranged crosshair refuses to coalesce
-adding an item to the ranged weapon category just doesnt do anything
-added an item that already has a category to a second category (e.g. crossbows to usable items) again only shows one
-#92

commented

Okay, there were multiple bugs present here.

  • The "additional ranged weapons" did not work. This should be fixed in 8.1.
  • The trident is now (as of 8.1) considered both a melee and ranged weapon.
  • Adding items to multiple categories does not work. This is not fixed in 8.1, I consider it an enhancement that I still have to think about whether I want to support it.
commented

I have decided that I don't want to support adding items to multiple categories in the config. Any missing behaviour like the trident I would consider a bug; and if a server drastically changes item behaviour from vanilla, then it would most likely require a small compatibility mod instead anyway.