Started by
gone08923745
on
Topic category: Help with Minecraft modding (Java Edition)
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?
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.
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.