mojira.dev
MC-239289

Spawners can only spawn one type of mob.

Spawners can not have any entities listed in the SpawnPotentials tag, it will just get deleted preventing multiple spawn possibilities.

Comments 5

Please send the exact command used

/setblock ~ ~ ~ spawner{SpawnPotentials:[{Entity:{id:"skeleton"}},{Entity:{id:"zombie"}}]}
Can I not reply to comments?

Did you try adding the Weight values, to see if that changes anything?

It does not change anything.

Corrected command:

/setblock ~ ~ ~ spawner{SpawnPotentials:[{data:{entity:{id:"skeleton"}},weight:1},{data:{entity:{id:"zombie"}},weight:1}]}
/setblock ~ ~ ~ spawner{SpawnPotentials:[{data:{entity:{id:"skeleton"}},weight:1},{data:{entity:{id:"zombie"}},weight:1}]}

Anonymous

(Unassigned)

Unconfirmed

(Unassigned)

21w41a

Retrieved