Spawning Entity with Parameter

Started by GamesOfLife on

Topic category: Help with modding (Java Edition)

Last seen on 03:19, 21. Sep 2024
Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Spawning Entity with Parameter

I have an egg block that hatched on a random tick into an animal. Right now I have the adult and baby animals as separate entities, but I want them as just one.
When the egg hatches, it spawns the entity at the position, but it is an adult.
How can I make entities hatched from the egg spawn with, (what I assume is, I haven't looked into it), an "is_child" parameter?

Last seen on 03:39, 21. Sep 2024
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know you can do this with…
Sat, 09/21/2024 - 03:29

I know you can do this with newer versions of minecraft with scaling, but you could probably get away with setting Pehkui as a depedency and then just using their system to adjust the size based on the age.