mojira.dev
MC-87755

SpawnPotentials On Custom Mob Spawners Turn to Pigs

On 15w34b, I made Custom Mob Spawners. When I clicked the command block to make it, the entity inside was a PIG. even thought I clearly put id Skeleton.I made simpler ones but no luck. all are pig spawners

My Command: /setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnPotentials:[{Type:Skeleton,Weight:1},{Type:Zombie,Weight:1}]}

It was a Pig Spawner Again. Anyway, Ive tried lots of other ways but it simply doesn't work anymore. Ive tried "EntityID: and SpawnPotentials, it doesn't work! If you know how to fix this, tell me how!

Attachments

Comments 9

It is

SpawnPotentials:[{Weight:1,Entity:{id:Skeleton}}]

You also misspelled zombie in the second entry

The one you gave doesn't work

Both of these work for me:

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnPotentials:[{Weight:1,Entity:{id:Skeleton}}]}
/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnPotentials:[{Weight:1,Entity:{id:Skeleton}},{Weight:1,Entity:{id:Zombie}}]}

They've changed it. Instead of Entity, in 1.8 it used to be Properties.
I guess that explains a lot.

Still doesnt work

Manually trigger a crash by pressing F3 + C for 10 seconds while in-game, and attach the crash report ([minecraft|http://hopper.minecraft.net/help/finding-minecraft-data-folder]/crash-reports/crash-<DATE>-client.txt) here so we can diagnose the issue.

It shows a sekelton in the Spawner now, but pigs still spawn

Here, Crash Report

Using the exact commands I provided? Can you upload an example world, so we can examine it?

^Rev^

(Unassigned)

Unconfirmed

Minecraft 15w35e

Retrieved