How to Make Mob Breed with Item

Started by chowzza on Wed, 10/05/2022 - 16:37

Topic category: Help with modding (Java Edition)

Last seen on 01:06, 20. Nov 2022
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to Make Mob Breed with Item
Wed, 10/05/2022 - 16:37

Hello!

My son and I have followed the tutorials from Pizzaperson23 and SirPogsalot to create a breedable custom entity whose babies are able to age over time. The babies are able to appear and age as they are supposed to. 

However, we have run into an issue where the adult entity is able to breed when right-clicked, but it is not able to breed when fed the item that we designated to tame/breed in AI. My son would like the adult entity to continue be able to breed both when right-clicked, but also when fed the item. I'm not sure what we are doing incorrectly. I have included screenshots of our procedures, as well as the AI for our adult entity. We did NOT check "Check to make this animal type, breed items" for the baby entity.

---

Note:

Azzy = the adult entity (based on our dog)

BabyAzzy = the baby entity

CheeseandCatPoo sandwich = the breed item (yes, this is gross, but my son is an 8 year old boy with STRONG opinions).

We are also using MCreator 2021.2, and cannot go to a higher version, as my son's Mac OS is not able to upgrade further to accommodate any newer versions. Thank you!

---

Breed Procedure to Produce Baby Entity
Breed Procedure to Produce Baby Entity
Baby Aging Procedure
Baby Aging Procedure
Adult Enity AI
Adult Enity AI

 

Last seen on 18:00, 13. Nov 2022
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
in the right click breed
Sun, 11/13/2022 - 12:01

in the right click breed

Last seen on 18:00, 13. Nov 2022
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
if item in main hand = (the…
Sun, 11/13/2022 - 12:02

if item in main hand = (the item for breeding)

then spawn the baby entity