Solved Set entity pitch NMS

Discussion in 'Plugin Development' started by RFUDEO9EH, May 18, 2020.

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

    RFUDEO9EH

    Hello someone know how to set an entity pitch with nms.

    I already find how to set the yaw (my entity has no AI)

    yaw:

    EntityLiving cle = ((CraftLivingEntity) wo).getHandle();
    cle.f(p.getLocation().getYaw());
    cle.g(p.getLocation().getYaw());

    I'm in 1.8.8

    help me if you know how to set pitch (I already search the answer for 2 hours and I don't find)

    solved I just use nmsEntity.pitch = p.getLocation().getPitch();

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

Share This Page