Help with making mob lay on bed

Started by Jam.Dev0 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with making mob lay on bed

So I'm making a mod with a custom cat that has a animation where it lays on the bed and the player holds it but I can't get it to face the back of the bed which makes the animation look weird because the player hangs off the bed half the time. If anyone knows how I can make the cat like face the same was as the bed or something it would be a big help! I hope you all have a lovely day/night! 

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Im pretty sure you can just…
Tue, 06/24/2025 - 00:58

Im pretty sure you can just get the facing value of the block below the cat then like set that to a global then rotate the entities accordingly

 

i know things similar to this a are possible but i dont know what your code looks like so take this as you will