MobSpawners

For some reason I can’t figure this out for the life of me would anyone be able to tell let me know on how to set a block to a mob spawner that spawns a specific type of mob like a creeper for example. Thanks in advance.

Just put down a spawner and right click it with a creeper egg.

2 Likes

Well the problem is I need to be able to set it from console and you can’t do that from console and you might say well just use setblock I also need it to work in the nether and end

just googling ‘Minecraft setblock spawner’ gave me a ton of results. This answer from the first result seems to have worked for them: /setblock ~ ~1 ~ mob_spawner 0 replace {EntityId:Skeleton}

If this does not work I recommend googling it yourself (tip for the future: in my experience googling english queries yields more results)

As to what values are possible for EntityId you might want to look at the Minecraft wiki