Mojira Archive
MC-118612

Mob spawners with a Weight tag crash the game.

When I create a mob spawner with a "Weight" tag in SpawnPotentials, the game crashes and I can no longer reload the world without it crashing again. Here is an example command which would crash the game:

/setblock ~ ~ ~ minecraft:mob_spawner 0 replace {SpawnData:

{id:sheep}

,SpawnPotentials:[{Entity:

{id:sheep}

,Weight:0.6},{Entity:

{id:cow}

,Weight:0.4}]}

Duplicate

zerdguyyy

2017-06-12, 02:46 AM

2017-06-14, 01:39 AM

2017-06-12, 06:52 PM

0

0

Unconfirmed

Minecraft 1.12

-