How can i make an entity with 2D nextbot like rotation towards the player?

Started by KindredIsLost on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can i make an entity with 2D nextbot like rotation towards the player?
Thu, 04/03/2025 - 20:03 (edited)

Hello, just as exactly as you read in the title of this post.

 

How can i make an entity to face the player (not like a regular mob with turning its neck or something similar) but like a 2D Nextbot. 

 

To simplify it, let me show you what do i mean with the entity facing the player

what i mean is a rotation like the entity R2 does, from The Broken Script mod.

Edited by KindredIsLost on Thu, 04/03/2025 - 20:03
Joined Apr 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
im pretty sure you can…
Tue, 04/08/2025 - 21:40

im pretty sure you can achieve the same effect with (im not sure if its only for geckolib) the head animation toggle, make the whole body (or image) the head and make it so that for every tick it looks at the player, maybe i can post a video here once i try it