mojira.dev
MC-89064

Lightning spawns Skeleton Horse when doMobSpawning/spawn-monsters is false.

Lightning spawns Skeleton Horse when doMobSpawning is false. More detailed description from MC-93678:


Skeleton horses with SkeletonTrap:1 spawned naturally in my world which has had gamerule doMobSpawning false since its creation. ( Gametime is about 2970313, difficulty was HARD )

These SkeletonTrap horses successfully spawn skeletons.

Can confirm this by manually spawning horse:

/summon EntityHorse ~ ~ ~ {SkeletonTrap:1}

It will instantly trigger.

Confirmed they are aggressive, and the skeletons will despawn from the horses if difficulty is changed to Peaceful.

Trapped horses trigger when in Peaceful difficulty, however no skeletons are on the horses.

Additional useful information:
Lightning does not affect the SkeletonTrap horses. The mechanic is 100% proximity based.
Reproduce: Spawn a SkeletonTrap horse away from you, within vision, run this command with that being the closest horse to you:

/execute @e(type=EntityHorse,c=1) ~ ~ ~ /summon LightningBolt
_except use brackets [ ] instead of parenthesese ( )_

You will see this horse not expand out with or without skeletons. Instead, if it is not raining or in water, you will see it burn.
Further confirm by approaching the horse and seeing it trigger and expand.
The effect is not lightning; it only looks like lightning.

Linked issues

Attachments

Comments 11

Still occurs in 15w46a. Just reproduced

confirmed for 16w04a

Confirmed in 1.9-pre3
Steps taken:
Created new flat world using snapshot 1.9-pre3.
1. Turned off Mob Spawning by typinng: /gamerule doMobSpawning false
2. Set difficulty to peaceful by typing: /difficulty peaceful
3. summon a trapped skeleton horse by typing: /summon EntityHorse ~ ~ ~ {SkeletonTrap:1}

Result was the immediate expansion of the horses.
4-9. Repeat steps 2 & 3, but set difficulty to easy, medium, then hard.

Result: Horses immediately expand and skeletons are on them, with each difficulty.

1 more comments

nevertherless, I just saw this happen

If patched in the way Michal says, but a player has had one of these trapped horses spawn before setting doMobSpawning false, then there will be more skeleton spawning, on the backs of horses, with soMobSpawning set to false. Correct me if I'm wrong but that is also not "works as intended".

Edit for clarity:
A working skeleton trap shouldn't work if doMobSpawning is false, because that's skeletons spawning with doMobSpawning false. Correct me if I'm wrong.

Nope, they spawn even after the gamerule is set to false

Confirmed for 1.9.1-pre3.

I like playing with the "spawn-monsters=false" in my server.properties.
When lighting strikes mounted skeletons are generated. I consider this a bug since spawn-monsters is false. I don't mind finding monsters near dungeons when I go looking for them, but this is not right. I end up going into creative mode to kill the skeleton/horses.

Please do not spawn any monsters on the surface while spawn-monsters=false.

Server and client = 1.9.2.

zay365

Jens Bergensten

Community Consensus

Minecraft 15w38b, Minecraft 15w44b, Minecraft 15w46a, Minecraft 15w47a, Minecraft 15w51b, ..., Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1, Minecraft 1.9.2

Minecraft 16w32a

Retrieved