Solved Copying armour stand nbt fails to work perfectly?

Discussion in 'Plugin Development' started by Lightspeed, Apr 13, 2016.

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

    Lightspeed

    This time I'm going to try to explain a bit better.

    #1: How I currently copy / set:
    Code:
    //Getting
    entity.c(nbtTag);
    
    //Setting
    entity.f(nbtTag2);
    If I create a new Entity(Just the entity) and set the nbt tag to the one that I got before it will copy location, effects, and armour.
    Effects being glowing/other(Glowing is a thing in 1.9).

    Before setting I also modify the copied nbt to match the new ones location(x, y, z and dimension), uuid, and a ticks lived.

    Any ideas/help?

    Before you continue . . . would setting the yaw and pitch of an entity fix/set the armour stands?
    It probaly should right? XD

    Ok yup sorry the nbt system works perfectly fine. . .
    I thought the nbt would set the yaw and pitch as it was part of the nbt . . . NOPE that was wrong sorry.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Apr 13, 2016
Thread Status:
Not open for further replies.

Share This Page