mojira.dev
MC-276521

Piglins and Hoglins that are unable to Zombify don't pass on the NBT tag to babies

A Piglin typically zombifies in the overworld, defined by a default NBT tag with a value of 0, IsImmuneToZombification. If their data is modified to be unable to zombify, then it should pass NBT tags down to babies, at least reasonably. So...

  1. Steps to Reproduce:
    To summon a piglin or hoglin that can't zombify:

/summon piglin ~ ~ ~ {IsImmuneToZombification:1}
/summon hoglin ~ ~ ~ {IsImmuneToZombification:1}

Ideally, this might be done using spawn eggs, so a command respective to each spawn egg for spawning piglins and hoglins that don't zombify:

/give @p piglin_spawn_egg[entity_data={IsImmuneToZombification:1}]
/give @p hoglin_spawn_egg[entity_data={IsImmuneToZombification:1}]
  1. Use the spawn eggs or commands to spawn a piglin or hoglin that doesn't zombify.

  2. Use one of the two spawn eggs (ideally) to spawn a baby from a parent piglin or hoglin. It should zombify.

Expected Result: The babies from the parent piglins and hoglins don't zombify.

Actual Result: The babies from the parent piglins and hoglins zombify.

The file with a recording of this bug is too big for the bug report, thus a Google Drive Link provided:

https://drive.google.com/file/d/1aXxmYbN8hXLK1XCRNWfvh-rDl56GbaRv/view?usp=sharing{{{}{}}}

Linked issues

Comments 9

⚠️ Please do not mark Unreleased Versions as affected. You don't have access to them yet.

-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

We do not have enough information to reproduce this issue.

Please include the following information to help us understand your problem:

Steps to Reproduce:
1. (Explain what needs to be done for the issue to happen)
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

Please also attach any needed commands, add-ons/behavior packs, data packs, resource packs, screenshots, videos, or worlds needed to help reproduce this issue.

Refer to the Bug Tracker Guidelines for more information about how to write helpful bug reports. Bug reports with insufficient information may be closed as Incomplete.

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

It was really hard to get the description to work properly. Took a while to fix it.

Please use code blocks so we can just copy and paste your commands and don't have to remove anything.

I plan on editing this further soon. It's going to look a little broken for now.

 

EDIT: I have fixed the description, the commands should be able to be copied.

I don't think there's any precedent for spawn eggs used on mobs inheriting anything from their "parents"

That makes sense, but what if the spawn egg used was supposed to carry NBT tags that result in piglins and hoglins not zombifying? That was the case when I did use them, which made absolutely no sense when the babies did zombify. The same thing happens when breeding hoglins, which logically makes no sense at all.

https://drive.google.com/file/d/1qqbWD6-kMuLErt8S3dJsJeizqS1mW1za/view?usp=sharing

Oh, does MC-98154 describe your issue then?

Oh. I just looked at the clip, yep. That's what happened. It seems that this has been part of a long term bug that's existed for a LONG time. This is a duplicate bug.

UsagiBenny

(Unassigned)

Unconfirmed

(Unassigned)

1.21.1, 24w36a

Retrieved