#Can anybody code me a no shield glint mod
27 messages · Page 1 of 1 (latest)
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]}]
they want it client side
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
and if they specifically want it for only shields?
um /give YOUR NAME HERE shield[enchantment_glint_override=false,tooltip_display={hidden_components:[enchantments]}
that could work!
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
that is, in fact, what they asked for
ok i can't do that so i'll let someone else do it i can't do inv stuff
I specifically want it for shields
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.
i am really lost on what you mean lol
That's just how I'd implement this, personally.
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.