Crendgrim / DynamicCrosshair

A Minecraft mod that hides or changes the crosshair dependent on context.
GNU Lesser General Public License v3.0
21 stars 6 forks source link

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

Open tuopi27 opened 1 month ago

tuopi27 commented 1 month ago

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

Crendgrim commented 1 month ago

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.

tuopi27 commented 1 month ago

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

Crendgrim commented 1 month ago

Okay, there were multiple bugs present here.