#Can anybody code me a no shield glint mod

27 messages · Page 1 of 1 (latest)

robust lichen
#

Bascially the aim of this mod is to remove the shields glint entirely when held but in GUIS like Hotbar and Inventory, I would like it to say. Its main goal is just to replicate Manepear`s one. Fabric 1.21 Please

#

Client side

keen tangle
#

its already a feature in-game but you needs commands to remove gllint (if you mean enchantment glint)

#

the command would be: /give @someone shield[enchantment_glint_override=false,tooltip_display={hidden_components:[enchantments]}]

visual pivot
#

they want it client side

keen tangle
#

its already client side....

#

but you can just turn glint off

#

in video settings or smh

#

or is Axtro talking about smh completely diffrent and i got it all wrong

visual pivot
keen tangle
#

um /give YOUR NAME HERE shield[enchantment_glint_override=false,tooltip_display={hidden_components:[enchantments]}

#

that could work!

visual pivot
#

that doesn't help if they're on a server, and I don't think it keeps the glint in the inventory like they asked

#

if they're playing survival they also can't just /give without enabling cheats

keen tangle
#

oh yea

#

so they want no glint when equiped but still glint in inv

#

and without cmds

visual pivot
#

that is, in fact, what they asked for

keen tangle
#

ok i can't do that so i'll let someone else do it i can't do inv stuff

robust lichen
#

I specifically want it for shields

ocean coyote
#

Sounds like a single-mixin mod, to be honest.

#

Just add a tag for #noglint:does_not_render_glint and mixin ItemStack::hasFoil to return false if the item is in that tag.

robust lichen
ocean coyote
#

That's just how I'd implement this, personally.

robust lichen
#

?

warm oak
# robust lichen Like code the mod

they’re musing about how they would approach making the mod. they’re not giving you advice on how to make it; the intent is to give another modder an idea of how to do it.