Getting entity location on screen

Started by mikepaps on Mon, 02/27/2023 - 08:01

Topic category: Help with modding (Java Edition)

Last seen on 13:53, 4. Mar 2023
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Getting entity location on screen
Sat, 03/04/2023 - 13:55 (edited)

I am making a mod to help people with PVP and I wondered if I could make it so that a red "dot" would show up on an overlay that corresponds to the location of the player. E.G. there is a player that is three blocks forward and one block to the left of you. I want a dot to appear on their head - only on your screen.

Is this possible and how would I do this?

Thanks in advance!

(Sorry for the post being a bit difficult to read (although being short)!)

Edited by mikepaps on Sat, 03/04/2023 - 13:55