mojira.dev
MC-99567

custom mob spawners

{EntityId:Zombie}

data with the /setblock command will still make a normal spawner.

example:
/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Zombie}

still makes a normal pig spawner

Comments 1

EntityId was removed in 1.9. An id tag within SpawnData specifies the entity ID now:

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnData:{id:"Zombie"}}

Chad Snyder

(Unassigned)

Unconfirmed

Minecraft 1.9

Retrieved