Breeding *Bug*

Started by Persima on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Apr 2023
Points:
240

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
Breeding *Bug*

I created a system for my custom animal to be able to breed, I created 2 entities one in the adult variation and a baby one, using a procedure by despawning the child mob (adult) and spawning a mob in the baby variation, my problem is not with breeding but with with the AI ​​of the baby mob that doesn't follow its parents, and I can't find any solution online to make this mob in the baby variation follow its parents, because when the mob(recognized as a child) is despawned, its replacement doesn't recognize the 2 mobs that bred as parents, does anyone know a method to solve this problem?

Active 2 months ago
Joined Dec 2022
Points:
367

User statistics:

  • Modifications: 2
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 41
Change the AI in AI and…
Tue, 05/02/2023 - 21:15

Change the AI in AI and goals, and use the "Follow parent with speed factor [__] if animal", put it above wander, attack, etc.