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

Started by CaiGuyCrafter on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How would I make a mob attach or follow the player seamlessly?

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!

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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!

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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.

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am wondering the same…
Sun, 08/07/2022 - 16:34

I am wondering the same thing. I am sorry I cant help you :(

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I figured it out! Use Nerdy…
Sun, 05/07/2023 - 13:31

I figured it out! Use Nerdy's Gecko Lib with the blockbench geko lib and when you export the mod use the gecko lib mod for the correct version as well. Enjoy!

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry, could you elaborate…
Fri, 08/18/2023 - 19:03

Sorry, could you elaborate on how to implement this?

Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey, did you manage to do…
Sat, 12/09/2023 - 08:22

Hey, did you manage to do this? I wanna make something similar and have no clue how to achieve it without dragging