#Using /team modify nametagVisibility doesn't make the nametag invisible

1 messages · Page 1 of 1 (latest)

eternal falcon
#

I created a team with nametagVisibility set to never, but it doesn't change the custom name to not show. I want my chest minecart to have a name but it not show a nametag.

eternal falcon
#

Ok, it seems to work on zombies but not chest minecarts

snow wingBOT
#

-# (helpers summoned) <@&1166082198152159386> <@&1202694677766348840>

eternal falcon
#

Correction, using a nametag on a zombie works, summoning it with a CustomName data doesn't

#

wait

#

no i didnt add the team yet

#

yes it hides the nametag with the team

mortal ice
#

yeah unfortunately you need to use some extra trickery to hide minecart names. you might still need some shader trickery, but in my experience you can just add a large negative space advance to the end of the name

eternal falcon
#

dang

#

what do you mean large negative space

#

and how would i do that

#

also, is there possibly a way to set a name to the minecart inside of the minecart menu without the nametag or no

mortal ice
#

in a custom font, you can define a character under a space character provider, and set it to something arbitrarily high, like -4096

#

there is no other way to change the name displayed in the ui, no

eternal falcon
#

nametag*

mortal ice
#

just this should work afaik.

in my experience the negative spacing on its own handles it, but i've seen other people write shaders to handle it. so i'm not sure if something has changed or if i'm missing something, but i assume the former

eternal falcon
mortal ice
#

shaders as i'm referring to are handled in a resource pack, as are the custom fonts needed for negative spaces. you can define a custom font with a negative space using a file something like this:

  "providers": [
    {"type":"space","advances":{".":-4096}}
  ]
}```
this example would mean that `.` character displayed in the custom font is a negative space, so you could make the custom name of your minecart a text component something like `["your custom name",{"font":"ns:negative_space","text":"."}]` (you could also add a custom space provider directly to the `default` font, in which case i would recommend using a generally unused character)
eternal falcon
#

thanks!