If multiple Lightning Bolts hit one pig the pig turns into multiple Zombie Pigmans
Steps to Reproduce
1. Place two command blocks (or more) with summon LightningBolt at a certain coordinate
2. Place ONE pig at the coordinate
3. Power the command blocks at the same time
4. The pig turns into the number of lightnings Zombie Pigmans
Linked issues
is duplicated by 3
Comments 5
It seems to only with villagers and pigs because it summons a new mob at the villager/pig, then removes the villager/pig. for a temporary fix, update your command to:
/execute @e[type=Pig] ~ ~ ~ summon LightningBolt ~ ~ ~
It seems that lightning gets summoned at the pig, which spawns a zombie pigman at the pigs location, and before the pig is removed, another lightning bolt is summoned at the zombie pigman, also striking the pig, creating a second pigman, and finally removing the pig.
This was tested in the 1.8 release.
Sorry, the above command will not fix this, but it is the same behavior where the pig does not despawn soon enough.
Is this still an issue in the current Minecraft Snapshot 15w47c or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
Resolved MC-17985 to this.