mojira.dev
MC-302012

Lightning-spawned Zombified Piglins missing attributes with comparison to natural ones (reinforcements, follow range, knockback resistance and more)

Steps to Reproduce:

  1. Spawn a pig /summon minecraft:pig

  2. Strike it with lightning /summon lightning_bolt

  3. Check the nbt data of the zombified piglin /data get entity @e[type=minecraft:zombified_piglin, sort=nearest, limit=1]

  4. Spawn a zombified piglin /summon minecraft:zombified_piglin

  5. Check the nbt data of the zombified piglin /data get entity @e[type=minecraft:zombified_piglin, sort=nearest, limit=1]

  6. Compare the nbt datas.

Expected Result:

  • Pig converts to a zombified piglin with the same attributes and chances as naturally spawned zombified piglins (can be left-handed, can hold enchanted swords, can summon reinforcements, has knockback resistance, follow range, random spawn bonuses, etc.).

Actual Result:

  • The zombified piglin spawned from lightning always lacks:

    • Left-handed spawn chance

    • Sword enchantments

    • Reinforcement summoning

    • Knockback resistance

    • Follow range bonuses

    • Random spawn bonuses

    • Cannot be a leader zombified piglin

Comments 0

No comments.

feycional

(Unassigned)

Unconfirmed

(Unassigned)

1.21.8, 25w37a

Retrieved