Zoglin "IsBaby" entity tag cannot be changed from true to false (1b to 0b) with /data
The bug
Despite MC-65953 being fixed, the IsBaby entity tag for zoglins cannot be changed from true to false (or 1b to 0b) with /data.
Can confirm in 21w07a. Here are some steps to reproduce this issue:
To reproduce:
- Summon a baby zoglin
/summon zoglin ~ ~ ~ {IsBaby:1b} - Run the /data command:
/data merge entity @e[type=zoglin,limit=1,sort=nearest] {IsBaby:0b}→
"Modified entity data of Zoglin" is shown in chat but the mob still remains as a zoglin piglet.
- Unresolved
DrownedZombie- 12
- 7
- Confirmed
Low
- Platform
- Commands
20w29a - 1.21-pre1
20w29a 20w30a 1.16.2-pre1 1.16.2-pre2 1.16.2-pre3 1.16.2-rc1 1.16.2 1.16.3 1.16.4-pre2 1.16.4-rc1 1.16.4 20w45a 20w46a 20w49a 20w51a 21w03a 21w05a 21w05b 21w06a 21w07a 21w08b 21w11a 21w15a 21w16a 21w17a 1.17 1.17.1 1.18.1 1.18.2 1.19 1.19.2 1.19.3 23w07a 1.19.4 23w14a 23w18a 1.20-rc1 1.20 1.20.1 1.20.6 1.21-pre1
Created Issue:
Zoglin "IsBaby" entity tag still cannot be changed from true to false (1b to 0b) with /data
The bug
Despite
MC-65953being fixed, the IsBaby entity tag for zoglins cannot be changed from true to false (or 1b to 0b) with /data.
relates to
is duplicated by
Zoglin "IsBaby" entity tagstillcannot be changed from true to false (1b to 0b) with /data
The bug
Despite
MC-65953being fixed, the IsBaby entity tag for zoglins cannot be changed from true to false (or 1b to 0b) with /data.Can confirm in 21w07a. Here are some steps to reproduce this issue:
To reproduce:
- Summon a baby zoglin
/summon zoglin ~ ~ ~ {IsBaby:1b}- Run the /data command:
/data merge entity @e[type=zoglin,limit=1,sort=nearest] {IsBaby:0b}→
"Modified entity data of Zoglin" is shown in chat but the mob still remains as a zoglin piglet.
The bug
Despite
MC-65953being fixed, the IsBaby entity tag for zoglins cannot be changed from true to false (or 1b to 0b) with /data.Can confirm in 21w07a. Here are some steps to reproduce this issue:
To reproduce:
- Summon a baby zoglin
/summon zoglin ~ ~ ~ {IsBaby:1b}- Run the /data command:
/data merge entity @e[type=zoglin,limit=1,sort=nearest] {IsBaby:0b}→
"Modified entity data of Zoglin" is shown in chat but the mob still remains as a zoglin piglet.
Thank you for your report!
We're tracking this issue in MC-195139, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
– I am a bot. This action was performed automatically! Please report any issues in Discord or Reddit

Can confirm in 21w03a.
Can confirm in 21w07a. Here are some steps to reproduce this issue:
Steps to Reproduce:
/data merge entity @e[type=zoglin,limit=1,sort=nearest] {IsBaby:1b}→
Notice how the zoglin is now a baby.
/data merge entity @e[type=zoglin,limit=1,sort=nearest] {IsBaby:0b}→
Notice how this does not work.
Can confirm in 21w15a.
Can confirm in 1.16.5 and 1.17 Release Candidate 1.
Can confirm in 1.17.
Can confirm in 1.17.1.
Can confirm in 1.18.1.
Can confirm in 1.18.2.
Can confirm in 1.19.
Can confirm in 1.19.2.
I can confirm this issue in Minecraft 1.21 pre-release 1.
Code analysis (Yarn mappings)
The following code in the ZoglinEntity class manages the babiness of zoglins:
Notice that the zoglin becomes a baby if the IsBaby field within entity NBT is true. There is no behavior for making the zoglin not a baby if the IsBaby field is false.
Compare to the same methods in other entities with a boolean babiness status (zombies and piglins), where the IsBaby field controls babiness regardless of being true or false: