Getting entity location on screen

Started by mikepaps on

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
Last seen on 21:48, 23. Apr 2024
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try World Renderer plugin…
Sat, 09/23/2023 - 23:43

Try World Renderer plugin and render a dot entity at the halfway point between other players and the player. Try to figure it out yourself, and I'll give you the procedures if you can't. It requires no custom code.