Nametags viewable from far distance help!

Discussion in 'Plugin Development' started by ShadowRaidNET, Dec 27, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    ShadowRaidNET

    I have been coding a plugin where a mob stands in one spot with a username that's both colored and bold. Although I do not know how to make the distance of the nametag viewable from a farther distance, please help!!
     
  2. Offline

    Chlorek

    As far as I know you can't change its view distance. Handled by client.
     
    Garris0n likes this.
  3. Offline

    EcMiner

    I'm pretty sure the nametag render distance is handled by the client, i might be wrong though
     
    Garris0n likes this.
  4. Offline

    ShadowRaidNET

    As on mineplex.com there static mobs nameplate can be seen from a far distance.
     
  5. Offline

    Chlorek

    It is tricked somehow, I don't know how. Maybe they send you fake packets with some entity with that nametag when real target entity is too far. When you come closer to that fake entity it moves in that real entity's direction. The only way I can now think about.
     
  6. Offline

    ShadowRaidNET

    Possibly they replaced the mobs nameplate with a players, which can be seen by far?
     
  7. Offline

    Chlorek

    No, no matter what kind of nametag is it. As I said, if you want this effect you must spawn some fake entity in the same direction where the real entity is and move it as long as real entity might not be seen.
     
  8. Offline

    ShadowRaidNET

    How would I be able to code that?
     
  9. Offline

    Chlorek

    Not that easy, spawning fake entity requires dealing with packets. For this you can use ProtocolLib.
     
  10. Offline

    ShadowRaidNET

    Okay, can you help me? I haven't coded packets yet.
     
  11. Offline

    Chlorek

    I coded once and it is real pain :/ Ask someone else, I don't know too much about ProtocolLib. I just can help you with choosing right packets etc.. because I know Minecraft protocol, nothing more.
     
  12. Offline

    ShadowRaidNET

  13. Offline

    TheTinySpider

    .setCustomNameVisible(true)
     
  14. Offline

    Chlorek

    What? If entity is really far you will not see a tag.
     
  15. Offline

    TheTinySpider

    Forces the tag to be rendered like a player tag, if that is not exacly what you're looking for please provide images :)
     
  16. Offline

    Chlorek

    Just a simple logic question - if player is faar away can You see his nametag? - No, that's what this topic is about I think.
     
  17. Offline

    maciekmm

    Chlorek if you name an entity that is noy player you must be really close to it to see it's nametag. Player name is viewable from far distance.
     
  18. Offline

    ShadowRaidNET

  19. Offline

    Chlorek

    maciekmm
    Oh I didn't know. I was thinking it is visible same way player tags are.
     
Thread Status:
Not open for further replies.

Share This Page