I am making a map but there's a problem. How to make a Potion Spawner in minecraft???(Version: 1.12.2) I am trying to make a command :

/setblock ~0 ~1 ~0 mob_spawner 0 replace {SpawnData:{CustomPotionEffect:"Jump_boost",Amplifier:1,Second:10,id:Potion},SpawnCount:5,SpawnRange:3,maxNearbyEntities:3,Delay:15s,MinSpawnDelay:15s,MaxSpawnDelay:15s}

It work but the spawner can't spawn anything. If you know how to do this, please tell me how to type that command.

  • Try to reduce the command until it works, then add details back in. – Fabian Röling Jan 11 '18 at 12:12
  • Correct me if I'm wrong, but I'm pretty sure spawners can't spawn non-mobs. – Zelo101 Jan 11 '18 at 17:39
  • @Zelo101 (they can) – Skylinerw Jan 12 '18 at 19:14

Maybe this can help you

/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnCount:1,SpawnRange:5,RequiredPlayerRange:5,MaxNearbyEntities:25,Delay:50,MinSpawnDelay:25,MaxSpawnDelay:50,SpawnData:{id:"minecraft:Item",Item:{id:bone,Count:10}}}

This command will spawn a mobspawner that spawns bone. The website that i used was THIS one

  • I had an idea that you could do so a mob spawns with the item and then dies immediately – Marre246810 Jan 16 '18 at 17:02

I used this website: https://mcstacker.bimbimma.com/#!30176. This is the command I found: /setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {SpawnCount:1,SpawnRange:5,RequiredPlayerRange:5,MaxNearbyEntities:25,Delay:50,MinSpawnDelay:25,MaxSpawnDelay:50,SpawnData:{id:"minecraft:Item",Item:{id:bone,Count:10}}}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.