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

Started by Evirapo on Sat, 11/26/2022 - 20:48

Topic category: Help with modding (Java Edition)

Last seen on 22:39, 12. Dec 2022
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I need to make baby entity age up but I have no idea what to do?
Sat, 11/26/2022 - 20:48

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 03:11, 29. Nov 2022
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 03:11, 29. Nov 2022
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 02:40, 22. Jan 2023
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 22:39, 12. Dec 2022
Joined Nov 2022
Points:

User statistics:

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

Thank you guys!!