Better Spawners OneCmd by ReduxRedstone Updated for 1.11.2. Description copied from original post..... This module is a one click command that adds in the ability to mine monster spawners with a silk touch pickaxe, obtain spawn eggs of various entities, and then use those spawn eggs to change the kind of mob inside the spawner once you place it down. The spawn eggs also serve as a small mini-addition since they can be used for just about anything, and dont need to be used for the spawners (but leaving the spawner as is once placed, will result in the default Pig spawner). The way of obtaining spawners is simple. Simply mine any spawner you find with any pickaxe that has the silktouch enchantment. To obtain the spawn eggs to change the spawner, or use as you wish, is again simple. Rename a name tag to Extract Essence (not case sensitive, so you could also rename it to extract essence) and then use it on one of the various mobs I added support for. The supported entities are: blazes, spiders, cave spiders, creepers, endermen, ghasts, magma cubes, skeletons, slimes, witches, zombies, zombie pigmen, chickens, cows, sheep and pigs. The unsupported entities are: endermites, guardians, shulkers, silverfish, bats, horses, mooshrooms, cats, rabbits, squids, wolfs, and villagers. Once you obtain said spawn egg, all you need to do is right click to mob spawner with it and it will change it to that entity.
VIDEO
How to install
How to import this command into your world
First, you must give yourself a command block (If you are on a server, you must be 'OP'ed, and have access to /gamemode 1)
To get a command block, type
/give @p command_block in the chat.
Once you have a command block, right click it to open it's GUI.
Now, you must copy and paste the command from your browser into the game. Select the entire command from below, then right click and press 'copy'.
Next, go back to your minecraft world, and paste the command you just copied into the command block. There are a few different keys that may be used to do this, depending on your keyboard. The most common ones are 'CTRL + V', 'COMMAND + V', or 'STRG + V'
Finally, you can press done to exit the GUI, and execute the command block by powering it with a redstone block, a lever, or any thing you can get your grubby hands on. Just make sure you don't place it on top of the command block, or the machine will not be installed!
Show source commands
# This user did not upload the source commands!
summon falling_block ~ ~1 ~ {Time:1,Block:redstone_block,Passengers:[{id:falling_block,Time:1,Block:activator_rail,Passengers:[{id:commandblock_minecart,Command:scoreboard objectives add rrBSHit stat.damageDealt},{id:commandblock_minecart,Command:scoreboard objectives add rrBSWU stat.useItem.minecraft.wooden_pickaxe},{id:commandblock_minecart,Command:scoreboard objectives add rrBSSU stat.useItem.minecraft.stone_pickaxe},{id:commandblock_minecart,Command:scoreboard objectives add rrBSIU stat.useItem.minecraft.iron_pickaxe},{id:commandblock_minecart,Command:scoreboard objectives add rrBSGU stat.useItem.minecraft.golden_pickaxe},{id:commandblock_minecart,Command:scoreboard objectives add rrBSDU stat.useItem.minecraft.diamond_pickaxe},{id:commandblock_minecart,Command:scoreboard objectives add rrBSXPT dummy},{id:commandblock_minecart,Command:gamerule commandBlockOutput false},{id:commandblock_minecart,Command:fill ~1 ~-2 ~-18 ~-1 ~2 ~-2 stained_hardened_clay 11},{id:commandblock_minecart,Command:fill ~1 ~-1 ~-18 ~-1 ~1 ~-2 stained_glass 3},{id:commandblock_minecart,Command:summon area_effect_cloud ~ ~.2 ~-1.3 {Duration:32767,Radius:0,CustomNameVisible:1,CustomName:Better Mob Spawners}},{id:commandblock_minecart,Command:summon area_effect_cloud ~ ~ ~-1.3 {Duration:32767,Radius:0,CustomNameVisible:1,CustomName:By ReduxRedstone Updated By Spazgazum}},{id:commandblock_minecart,Command:setblock ~ ~ ~-1 wall_sign 9 replace {Text1:"[{\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"kill @e[type=area_effect_cloud,r=3]\\\"},\\\"text\\\":\\\"⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛\\\",\\\"color\\\":\\\"dark_red\\\",\\\"bold\\\":\\\"true\\\"}]",Text2:"[{\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~1 ~-2 ~-18 ~-1 ~2 ~ air\\\"},\\\"text\\\":\\\"Destroy\\\",\\\"color\\\":\\\"red\\\"}]",Text3:"[{\\\"text\\\":\\\"Machine\\\",\\\"color\\\":\\\"red\\\"}]",Text4:"[{\\\"text\\\":\\\"⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛\\\",\\\"color\\\":\\\"dark_red\\\",\\\"bold\\\":\\\"true\\\"}]"}},{id:commandblock_minecart,Command:tellraw @p ["",{"text":"Redux","color":"red","bold":"true"},{"text":" ➠ ","color":"gold"},{"text":"Thank you for showing an interest in my work! If you would like to see more, click ","color":"blue","bold":"true"},{"text":"here","color":"green","bold":"true","clickEvent":{"action":"open_url","value":"http://www.youtube.com/c/ReduxRedstone"},"hoverEvent":{"action":"show_text","value":["",{"text":"❤","color":"light_purple"},{"text":"Thanks for clicking","color":"yellow"},{"text":"❤","color":"light_purple"}]}},{"text":"!","color":"blue","bold":"true"},{"text":"\n\nBetter Spawners by ReduxRedstone (Updated to 1.11 By Spazgazum) now installed","color":"gold"},{"text":"\n\nTo get spawners, mine them with any pickaxe with the silktouch enchantment","color":"light_purple"},{"text":"\nTo change the entity inside, rename a name tag to 'extract essence' and use it on an entity. Right click the spawner with the spawn egg","color":"blue"}]},{id:commandblock_minecart,Command:setblock ~ ~-1 ~-3 repeating_command_block 2 replace {auto:1,Command:scoreboard players tag @a remove rrSilkHold}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~-4 chain_command_block 2 replace {auto:1,Command:scoreboard players tag @a add rrSilkHold {SelectedItem:{tag:{ench:[{id:33s}]}}}}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~-5 chain_command_block 2 replace {auto:1,Command:scoreboard players tag @e[type=xp_orb] add rrBSXP {Value:1s,Age:0s}}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~-6 chain_command_block 2 replace {auto:1,Command:scoreboard players tag @e[type=xp_orb] add rrBSXP {Value:7s,Age:0s}}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~-7 chain_command_block 2 replace {auto:1,Command:scoreboard players tag @e[type=xp_orb] add rrBSXP {Value:17s,Age:0s}}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~-8 chain_command_block 2 replace {auto:1,Command:scoreboard players tag @e[type=xp_orb] add rrBSXP {Value:3s,Age:0s}}},{id:commandblock_minecart,Command:setblock ~ ~-2 ~ chain_command_block 2 replace {auto:1,Command:}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~-9 chain_command_block 2 replace {auto:1,Command:scoreboard players add @a rrBSHit 0}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~-10 chain_command_block 2 replace {auto:1,Command:execute @e[type=xp_orb,tag=rrBSXP,c=-1] ~ ~ ~ give @a[score_rrBSWU_min=1,score_rrBSHit=0,tag=rrSilkHold,r=5,c=1] mob_spawner}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~-11 chain_command_block 2 replace {auto:1,Command:execute @e[type=xp_orb,tag=rrBSXP,c=-1] ~ ~ ~ give @a[score_rrBSSU_min=1,score_rrBSHit=0,tag=rrSilkHold,r=5,c=1] mob_spawner}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~-12 chain_command_block 2 replace {auto:1,Command:execute @e[type=xp_orb,tag=rrBSXP,c=-1] ~ ~ ~ give @a[score_rrBSIU_min=1,score_rrBSHit=0,tag=rrSilkHold,r=5,c=1] mob_spawner}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~-13 chain_command_block 2 replace {auto:1,Command:execute @e[type=xp_orb,tag=rrBSXP,c=-1] ~ ~ ~ give @a[score_rrBSGU_min=1,score_rrBSHit=0,tag=rrSilkHold,r=5,c=1] mob_spawner}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~-14 chain_command_block 2 replace {auto:1,Command:execute @e[type=xp_orb,tag=rrBSXP,c=-1] ~ ~ ~ give @a[score_rrBSDU_min=1,score_rrBSHit=0,tag=rrSilkHold,r=5,c=1] mob_spawner}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~-15 chain_command_block 2 replace {auto:1,Command:scoreboard players set @a rrBSWU 0}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~-16 chain_command_block 2 replace {auto:1,Command:scoreboard players set @a rrBSSU 0}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~-17 chain_command_block 2 replace {auto:1,Command:scoreboard players set @a rrBSIU 0}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~-18 chain_command_block 1 replace {auto:1,Command:scoreboard players set @a rrBSGU 0}},{id:commandblock_minecart,Command:setblock ~ ~ ~-18 chain_command_block 3 replace {auto:1,Command:scoreboard players set @a rrBSDU 0}},{id:commandblock_minecart,Command:setblock ~ ~ ~-17 chain_command_block 3 replace {auto:1,Command:scoreboard players set @a rrBSHit 0}},{id:commandblock_minecart,Command:setblock ~ ~ ~-16 chain_command_block 3 replace {auto:1,Command:scoreboard players tag @e remove rrBSXP}},{id:commandblock_minecart,Command:setblock ~ ~ ~-15 chain_command_block 3 replace {auto:1,Command:scoreboard players tag @e add rrBSGE {CustomName:Extract Essence}}},{id:commandblock_minecart,Command:setblock ~ ~ ~-14 chain_command_block 3 replace {auto:1,Command:scoreboard players tag @e add rrBSGE {CustomName:extract essence}}},{id:commandblock_minecart,Command:setblock ~ ~ ~-13 chain_command_block 3 replace {auto:1,Command:execute @e[tag=rrBSGE] ~ ~ ~ summon fireworks_rocket ~ ~.5 ~ {LifeTime:0,FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:0,Trail:1,Colors:[4312372,15435844],FadeColors:[2437522,8073150]}]}}}}}},{id:commandblock_minecart,Command:setblock ~ ~ ~-12 chain_command_block 3 replace {auto:1,Command:execute @e[type=Blaze,tag=rrBSGE] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:spawn_egg,Count:1,tag:{EntityTag:{id:Blaze}}}}}},{id:commandblock_minecart,Command:setblock ~ ~ ~-11 chain_command_block 3 replace {auto:1,Command:execute @e[type=cave_spider,tag=rrBSGE] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:spawn_egg,Count:1,tag:{EntityTag:{id:cave_spider}}}}}},{id:commandblock_minecart,Command:setblock ~ ~ ~-10 chain_command_block 3 replace {auto:1,Command:execute @e[type=Creeper,tag=rrBSGE] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:spawn_egg,Count:1,tag:{EntityTag:{id:Creeper}}}}}},{id:commandblock_minecart,Command:setblock ~ ~ ~-9 chain_command_block 3 replace {auto:1,Command:execute @e[type=Enderman,tag=rrBSGE] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:spawn_egg,Count:1,tag:{EntityTag:{id:Enderman}}}}}},{id:commandblock_minecart,Command:setblock ~ ~ ~-8 chain_command_block 3 replace {auto:1,Command:execute @e[type=Ghast,tag=rrBSGE] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:spawn_egg,Count:1,tag:{EntityTag:{id:Ghast}}}}}},{id:commandblock_minecart,Command:setblock ~ ~ ~-7 chain_command_block 3 replace {auto:1,Command:execute @e[type=magma_cube,tag=rrBSGE] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:spawn_egg,Count:1,tag:{EntityTag:{id:magma_cube}}}}}},{id:commandblock_minecart,Command:setblock ~ ~ ~-6 chain_command_block 3 replace {auto:1,Command:execute @e[type=skeleton,tag=rrBSGE] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:spawn_egg,Count:1,tag:{EntityTag:{id:skeleton}}}}}},{id:commandblock_minecart,Command:setblock ~ ~ ~-5 chain_command_block 3 replace {auto:1,Command:execute @e[type=Slime,tag=rrBSGE] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:spawn_egg,Count:1,tag:{EntityTag:{id:Slime}}}}}},{id:commandblock_minecart,Command:setblock ~ ~ ~-4 chain_command_block 3 replace {auto:1,Command:execute @e[type=Witch,tag=rrBSGE] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:spawn_egg,Count:1,tag:{EntityTag:{id:Witch}}}}}},{id:commandblock_minecart,Command:setblock ~ ~ ~-3 chain_command_block 1 replace {auto:1,Command:execute @e[type=zombie,tag=rrBSGE] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:spawn_egg,Count:1,tag:{EntityTag:{id:zombie}}}}}},{id:commandblock_minecart,Command:setblock ~ ~1 ~-3 chain_command_block 2 replace {auto:1,Command:execute @e[type=zombie_pigman,tag=rrBSGE] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:spawn_egg,Count:1,tag:{EntityTag:{id:zombie_pigman}}}}}},{id:commandblock_minecart,Command:setblock ~ ~1 ~-4 chain_command_block 2 replace {auto:1,Command:execute @e[type=Chicken,tag=rrBSGE] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:spawn_egg,Count:1,tag:{EntityTag:{id:Chicken}}}}}},{id:commandblock_minecart,Command:setblock ~ ~1 ~-5 chain_command_block 2 replace {auto:1,Command:execute @e[type=Cow,tag=rrBSGE] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:spawn_egg,Count:1,tag:{EntityTag:{id:Cow}}}}}},{id:commandblock_minecart,Command:setblock ~ ~1 ~-6 chain_command_block 2 replace {auto:1,Command:execute @e[type=Sheep,tag=rrBSGE] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:spawn_egg,Count:1,tag:{EntityTag:{id:Sheep}}}}}},{id:commandblock_minecart,Command:setblock ~ ~1 ~-7 chain_command_block 2 replace {auto:1,Command:execute @e[type=Pig,tag=rrBSGE] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:spawn_egg,Count:1,tag:{EntityTag:{id:Pig}}}}}},{id:commandblock_minecart,Command:setblock ~ ~1 ~-8 chain_command_block 2 replace {auto:1,Command:execute @e[type=Spider,tag=rrBSGE] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:spawn_egg,Count:1,tag:{EntityTag:{id:Spider}}}}}},{id:commandblock_minecart,Command:setblock ~ ~1 ~-9 chain_command_block 2 replace {auto:1,Command:tp @e[tag=rrBSGE] ~ ~-500 ~}},{id:commandblock_minecart,Command:setblock ~ ~1 ~-10 chain_command_block 2 replace {auto:1,Command:kill @e[tag=rrBSGE]}},{id:commandblock_minecart,Command:setblock ~ ~-2 ~ command_block 0 replace {auto:1,Command:fill ~ ~ ~ ~ ~3 ~ air}},{id:commandblock_minecart,Command:kill @e[r=0]}]}]}