Zombies and Piglins ignore Baby and Age options
Summary
Zombies and Piglins cant be set to adults or babies only.
Steps to reproduce
- Create a mob config
- Set the mob to
piglinorzombie - Set the
Babyoption totrue/false - Spawn the mob using the /mm m spawn command
Current behavior
The zombie/piglin spawns with a random baby/adult state.
Intended correct behavior
The zombie/piglin should always spawn as a baby when the Baby option is set to true, or always as an adult when Baby option is set to false.
Server log file
Debug log snippet
Proposed fixes
Something wrong with the NMS code, im not sure if this bug appears on 1.15 or below i've only tested it on 1.16.3.