Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how can i focus a player to other player

Comments in 'Plugin Development' started by TheDiamondMan, Aug 4, 2016.

  1. TheDiamondMan
    Offline

    TheDiamondMan New Member

    Joined:
    Dec 14, 2015
    Posts:
    4
    Minecraft User:
    XxDiamondLoverxX
    i created a repeating task every second and the task focusing the player on other player(like aimbot) but i have no idea how yaw and pitch works, any ideas?
  2. Primus
    Offline

    Primus Notable Member

    Joined:
    Apr 7, 2015
    Posts:
    1,470
    Minecraft User:
    PrimusLV
    This question have been answered many times aka. this question is duplicated (example thread).

    Also if you want the entity to look at player's head then you have to add eye height to Y position.
    SOFe and Survingo like this.

Share This Page

Advertisement