I need to make baby entity age up but I have no idea what to do?

Started by Evirapo on

Topic category: Help with modding (Java Edition)

Last seen on 17:28, 14. Mar 2024
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need to make baby entity age up but I have no idea what to do?

I made my entity breedable, and it's complete, but how do I make the baby entity age up? Send me an image of the procedures would help me 

Last seen on 16:40, 8. Oct 2024
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
under the “When entity…
Mon, 11/28/2022 - 07:30

under the “When entity spawns” procedure, create a wait [x] ticks then on server-side do command where x is the number of ticks you want to wait before the entity grows.

then within that wait block, de-spawn the baby entity and spawn an adult entity. 

Last seen on 16:40, 8. Oct 2024
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So it would look like this…
Mon, 11/28/2022 - 07:33

So it would look like this

Trigger: When Entity Spawns
wait [4800] ticks then on server-side
do:
    Despawn [baby_entity]
    Spawn [adult_entiry]
Last seen on 00:38, 27. Jul 2024
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I wouldn't recommend using…
Tue, 11/29/2022 - 00:42

I wouldn't recommend using wait procedures but instead using an nbt timer. Since it's a far better method

Last seen on 17:28, 14. Mar 2024
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you guys!!
Sun, 12/04/2022 - 17:03

Thank you guys!!

Last seen on 20:01, 13. Sep 2024
Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The problem with this…
Thu, 09/12/2024 - 11:19

The problem with this solution is this not the same entity, for example if we rename the baby entity with a name tag, when he will be adult he will lose his name because it's not the same entity, someone have a solution ?