Spawning Entity with Parameter

Started by gone08923745 on

Topic category: Help with Minecraft modding (Java Edition)

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?

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.

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I already have the scaling…
Sun, 09/22/2024 - 01:25

I already have the scaling figured out, I'm trying to figure out how to spawn a mob with the "is_child" logic parameter set to true.