#Using /team modify nametagVisibility doesn't make the nametag invisible
1 messages · Page 1 of 1 (latest)
Ok, it seems to work on zombies but not chest minecarts
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
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
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
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
would that show the shadow of the minecart?
nametag*
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
ok, sorry for all my questions. would a shader need a mod or would it work in just a datapack. and how do i add a negative space? im kinda new to datapacks so im not sure how to go about that
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)
ill just try picking a random unicode character
thanks!