Custom Minecraft 1.8 spawners
I am working on a minecraft 1.8 server and am trying to make a mob spawner that spawns items. This example:How can I make a spawner that summons Items? works on new versions of minecraft but not on 1.8. It seems that any mob spawners placed down by command blocks don't work. The following command:
/setblock ~ ~1 ~ mob_spawner 0 replace {SpawnData:{id:zombie},Delay:299}
Creates an empty mob spawner that does not spawn anything. I am using minecraft forge with worldedit but no other mods. How can I fix this?
Best Answer
The below code is generated from mcstacker 1.8, 1.9, and 1.10 version. The following code should place a zombie spawner.
/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Zombie,Delay:299}
The next command should place a spawner that spawns diamonds.
/setblock ~ ~1 ~ minecraft:mob_spawner 0 replace {EntityId:Item,SpawnData:{Item:{id:diamond,Count:1}},Delay:299}
Try that. The command isn't tested, but mcstacker usually works for me. It may not for you because you are on a server. You can change it with mcstacker. I hope this helps.
Pictures about "Custom Minecraft 1.8 spawners"



How do you spawn a custom spawner in Minecraft?
The only way to obtain one is by using the /give command, which gives a pig spawner by default; afterward the mob can be changed by using a spawn egg on the placed block. A /setblock , /clone or /fill command can also be used to obtain a spawner.How do you give yourself a spawner in Minecraft 1.18 1?
You cannot edit spawners in vanilla minecraft.Can you change a spawner in Minecraft?
If you have an older version of the mod: config file is a spawnermod. toml file. Goal of this mod is to add more functionality to the original minecraft spawner. This mod makes the player able to move mob spawners ability to fully control what type of entity inside by making it possible to retrieve the Monster Egg.How to get custom Mob Spawner in Minecraft 1.8
More answers regarding custom Minecraft 1.8 spawners
Answer 2
I don't believe that you can get custom mob spawners in Java Edition and that the only spawners you can get are Pig Spawners. They way you can obtain pig spawners is using the /give command. Example: /give @p 52 1
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Jill Wellington, Albert Nunez, Garvin St. Villier, Rangga Aditya Armien
