How can i make a mob lay an egg after breeding

Started by Pengu1nVic on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can i make a mob lay an egg after breeding

i wanted to make a mob lay an egg after it breeds and i don't know how i can do it.

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi! I think you can use the…
Wed, 11/23/2022 - 18:03

Hi!

I think you can use the When Entity Spawning event and use condition "is a baby", despawn it or cancel the event, and place the egg there

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Dont forget in the condition…
Wed, 11/23/2022 - 18:04

Dont forget in the condition also add if the entity is your custom mob