Get the location of the held item

Discussion in 'Plugin Development' started by marwzoor, Jun 27, 2013.

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

    marwzoor

    Hey!

    Is there a way to get the exact location of the item the player is holding?

    If I for instance want to create a particle effect at the sword I am holding, then how do I get the location of the sword?

    Thanks,
    Marwzoor
     
  2. Offline

    DarkBladee12

    marwzoor I also asked for this in the forums, but got no answer :( Would be nice to know this^^
     
  3. Offline

    marwzoor

    DarkBladee12
    The only thing I can come up with would be to check the Yaw and Pitch of the player and then assume that the sword would be some coordinates in front of the player and some to the right.
    This seems too sketchy haha!
     
Thread Status:
Not open for further replies.

Share This Page