mojira.dev
MC-10257

when a pig gets struck by lightning it spawns without a sword

what should happen: when a pig gets struck by lightning it turns into a zombie pigmen and the zombie pigmen holds a sword like normal

what happened: a pig gets hit by lightning and it morphs into an empty handed zombie pigmen

to reproduce: get a pig to get struck by lightning, spawn a ton of pigs and set the weather to thunder and wait until it strikes in the blob of pigs

Related issues

Attachments

Comments

migrated
[media]
migrated

This is most likely intended. The zombie pigmen already exist in the nether, but when a pig gets struck by lighning, where would it get the sword? It can't, so it doesn't. I'm pretty sure if you throw gold swords on the ground, then they can pick them up and use them like they usually do.

migrated

Just asked Dinnerbone, it's not intended.

kumasasa

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

migrated

yes this is still a bug

migrated

I think it's because normal pigs do not have a sword.

migrated

Only problem with your argumentation: This bug is fixed for the next version.

migrated

So Zombie Pigmen can't be friendly?

migrated

migrated

Confirmed

lightning, lightning_bolt

Minecraft 1.4.7, Snapshot 13w07a, Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w19a

Minecraft 13w36a

Retrieved