I have been working on a Minecraft custom pet with an invisible dog and an armor stand and one time I was using spectator mode to check if the dog was sitting and when I went back to creative the dog was translucent and visible. I restarted my game and even my computer and nothing works.
Thanks!
Minecraft Java Edition – Spectator Mode Invisibility Glitch Solution
minecraft-commandsminecraft-java-edition
Best Answer
So because you are on the same team as the dog, you are able to see him even though he's invisible. There are 2 things that you can do:
seeFriendlyInvisibles
to false/scoreboard teams option TEAMNAME seeFriendlyInvisibles false