How do I make a mob hatch from an egg?

Started by MisterSmeet on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a mob hatch from an egg?

How do I make a mob hatch from an egg?

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How I would try it: two…
Mon, 01/20/2025 - 21:10

How I would try it:

  1. two entity(adult and baby) element and 3 block elements(the egg model)
  2. entity would have the procedure if they would breed, they would place an egg
  3. The egg would be 3 models, ticking models - they change after some time

    For the egg: IF a number of ticks is over, DO the model is replaced by block2. Do it until 3, where 3 is removed and a baby mob spawns

    The baby mob would have a procedure, where after some ticks the model would be replaced by the adult one