1
Hoglin Not Spawning as a Baby
In my datapack I'm working on, a hoglin is supposed to spawn as a baby. But the datapack doesn't spawn it as a baby, it spawns grown up. If I try to spawn the hoglin in using a command block, it spawns as a baby. I was wondering if there is any way to fix this.
execute at @p[tag=player,limit=1] run summon hoglin ~ ~ ~ {NoGravity:1b,Invulnerable:1b,PersistenceRequired:1b,NoAI:1b,CanPickUpLoot:0b,Age:-1000000000,AgeLocked:1b,IsImmuneToZombification:1b,CannotBeHunted:1b,Tags:["hoglin"]}
execute at @p[tag=player,limit=1] run summon hoglin ~ ~ ~ {NoGravity:1b,Invulnerable:1b,PersistenceRequired:1b,NoAI:1b,CanPickUpLoot:0b,Age:-1000000000,AgeLocked:1b,IsImmuneToZombification:1b,CannotBeHunted:1b,Tags:["hoglin"]}
Create an account or sign in to comment.
1
1
I fixed it.