Topic category: User side tutorials
I've noticed that a lot of people have had trouble making breedable mobs that work properly(Myself included) and I'm pretty sure people haven't found out how to do it yet without editing the code(correct me if I'm wrong). So, I tinkered a bit in the procedures and I found a way to do this with a custom baby model. Here are some steps:
1. Create the models: you'll need to make two models (for this I recommend tabula, techne, or blockbench)
1.You'll need an adult model. (if you are using a minecraft model for an adult then skip this.)
2.You'll need a baby model. This should probably be smaller than the adult model.
2. Create the two mobs: You'll need to create the actual mobs(the baby and the adult)
Adult: Create the adult mob and make sure it is breedable(notice: if you actually run the game at this point it will just be a baby/child mob with the same model as the adult mob)
Baby: Create the baby mob (OPTIONAL: if you want your baby mob to grow up then set up a timer procedure where it despawns the baby and spawns in the adult mob)
3.IMPORTANT: Create a procedure:
Get an if/do statement under flow control
For the if statement put: (Is event/target entity child) and (Is event/target entity: the adult mob)
For the do statement put: (Despawn event/target entity) and (Spawn at x: x, y: y, z: z living entity: the baby mob)
I hope this helped if you have any problems please leave a reply to this forum so you can be helped.
Hi, sorry to dredge up an inactive topic but I am struggling. I've made a precedure exactly as shown, and set the trigger of the initial entity spawn of the adult mob to follow said precedure. However, when I breed two of the adults, they produce a third adult, not the baby. If I remove the if/do statement, then it actually plays out as it should (i.e. adult spawns, despawns, then baby spawns) but obviously this isn't what I want given this affects spawns ALL the time, not just as a new child. Any thoughts?
Sorry to open this back after 4 years but im not sure how to make it so the baby grows up into the adult. Im also not sure if i should add it into the same procedure where the adult gives birth to the baby. I need help please
i need help please i just get 3 adults and no children help
i tried removing the part where it waits 1 tick and now i just have 3 adult, no children, and an adult without AI that doesnt take any damage.
can you pls show the procedure of this cuz I can't understand which procedure to use
for anyone struggling with this still, try putting the procedure in "on update tick" in the adult entities page