1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

hide slapper nametag

Discussion in 'Development' started by udwarf, Sep 26, 2017.

  1. udwarf

    udwarf Silverfish

    Messages:
    21
    Hello, developers!
    I'm moving my server to 1.2 and noticed that I cannot hide nametags of slappers(statues) anymore.
    On version 1.1 everything worked but it looks like
    Code:
    $entity->setNameTagVisible(false);
      and
     $entity->setNameTagAlwaysVisible(false);
    
    has no effect now!

    Even when I try to hide nametags manually by runing command "/slapper edit ENTITYID namevisible 0" and I get message from Slapper "Name visibility has been updated", but nametag remains visible!
    How hiding nametags works now?
    Thank you in advance!
     
  2. AshBull

    AshBull Spider Jockey

    Messages:
    31
    Mojang messed up nametag visibility again
     
    jasonwynn10 and Sandertv like this.
  3. padrone

    padrone Witch

    Messages:
    69
    GitHub:
    padreon
    use a command
    /slapper edit id name
    name empty
     
  4. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    As @AshBull mentioned, since the 1.2 update nametags are messed up once again.
     
    jasonwynn10 likes this.
  5. udwarf

    udwarf Silverfish

    Messages:
    21
    Yep, It will be a temporary solution.
    However, I want to see a nametag when staring directly at the statue
    PHP:
    setNameTagVisible(true);
    setNameTagAlwaysVisible(false);
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.