How to Make Entities as Part of Blocks

Started by IEatSoulsMeow on

Topic category: Help with modding (Java Edition)

Last seen on 23:09, 16. Jan 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to Make Entities as Part of Blocks

I'm trying to make a custom block and would like to have a book that floats on top like what the enchantment table has. I could make it as part of the model but then I'm unable to make it turn to the closest player. Any help? Thanks!

Last seen on 21:37, 25. Feb 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm not an expert, but I…
Sat, 01/27/2024 - 03:02

I'm not an expert, but I think all you'd have to do is add "head rotation animation" to the part of the model you want to look a the player. Most mobs automatically turn their heads towards the player. I haven't tried this myself you, but it might only work from the forward angle.