Minecraft Spectator mode invisibility glitch

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!


Solution 1:

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:

  • leave the dog's team
  • set the team option seeFriendlyInvisibles to false

/scoreboard teams option TEAMNAME seeFriendlyInvisibles false