How would I make a mob attach or follow the player seamlessly?

Started by CaiGuyCrafter on Fri, 04/09/2021 - 21:46

Topic category: Help with modding (Java Edition)

Last seen on 20:48, 17. May 2022
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How would I make a mob attach or follow the player seamlessly?
Fri, 04/09/2021 - 21:46

I think the title says it, but basically, in my mod I'm adding hair. I want an entity that seamlessly attaches itself to the player and follows them around. Kind of like a parrot or something. I don't know if this can be done with armor, I think I tried but the models didn't work with it, so I'm thinking an entity would be easier. Could someone explain how to do this with procedures? I don't want it to look like it's constantly teleporting to me like with a command on repeat, so any help would be greatly appreciated!

Last seen on 20:48, 17. May 2022
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I'm not trying to bump, but…
Sat, 04/10/2021 - 16:02

I'm not trying to bump, but it's been about a day without a reply and I'm just wondering if no one saw this. Sorry. But if you could help that would be great thanks!

Last seen on 20:48, 17. May 2022
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Sorry, I still haven't…
Sun, 04/18/2021 - 02:07

Sorry, I still haven't gotten a reply and I really need to know. Is there a way to do this? Even simple Java code would be fine if so.