Better Spawners
Better Spawners by ReduxRedstone11305700    4
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. The command can be found here http://pastebin.com/raw/ySTYUrJZ or a raw version can be found here http://pastebin.com/ySTYUrJZ
Minecraft 1.9
10896 characters
More by ReduxRedstone
How to install
Comments
Show source commands
summon FallingSand ~ ~1 ~ {Time:1,Block:redstone_block,Passengers:[{id:FallingSand,Time:1,Block:activator_rail,Passengers:[{id:MinecartCommandBlock,Command:scoreboard objectives add rrBSHit stat.damageDealt},{id:MinecartCommandBlock,Command:scoreboard objectives add rrBSWU stat.useItem.minecraft.wooden_pickaxe},{id:MinecartCommandBlock,Command:scoreboard objectives add rrBSSU stat.useItem.minecraft.stone_pickaxe},{id:MinecartCommandBlock,Command:scoreboard objectives add rrBSIU stat.useItem.minecraft.iron_pickaxe},{id:MinecartCommandBlock,Command:scoreboard objectives add rrBSGU stat.useItem.minecraft.golden_pickaxe},{id:MinecartCommandBlock,Command:scoreboard objectives add rrBSDU stat.useItem.minecraft.diamond_pickaxe},{id:MinecartCommandBlock,Command:scoreboard objectives add rrBSXPT dummy},{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false},{id:MinecartCommandBlock,Command:fill ~1 ~-2 ~-18 ~-1 ~2 ~-2 stained_hardened_clay 11},{id:MinecartCommandBlock,Command:fill ~1 ~-1 ~-18 ~-1 ~1 ~-2 stained_glass 3},{id:MinecartCommandBlock,Command:summon AreaEffectCloud ~ ~.2 ~-1.3 {Duration:32767,Radius:0,CustomNameVisible:1,CustomName:Better Mob Spawners}},{id:MinecartCommandBlock,Command:summon AreaEffectCloud ~ ~ ~-1.3 {Duration:32767,Radius:0,CustomNameVisible:1,CustomName:By ReduxRedstone}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~-1 wall_sign 9 replace {Text1:"[{\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"kill @e[type=AreaEffectCloud,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:MinecartCommandBlock,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 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:MinecartCommandBlock,Command:setblock ~ ~-1 ~-3 repeating_command_block 2 replace {auto:1,Command:scoreboard players tag @a remove rrSilkHold}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~-4 chain_command_block 2 replace {auto:1,Command:scoreboard players tag @a add rrSilkHold {SelectedItem:{tag:{ench:[{id:33s}]}}}}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~-5 chain_command_block 2 replace {auto:1,Command:scoreboard players tag @e[type=XPOrb] add rrBSXP {Value:1s,Age:0s}}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~-6 chain_command_block 2 replace {auto:1,Command:scoreboard players tag @e[type=XPOrb] add rrBSXP {Value:7s,Age:0s}}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~-7 chain_command_block 2 replace {auto:1,Command:scoreboard players tag @e[type=XPOrb] add rrBSXP {Value:17s,Age:0s}}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~-8 chain_command_block 2 replace {auto:1,Command:scoreboard players tag @e[type=XPOrb] add rrBSXP {Value:3s,Age:0s}}},{id:MinecartCommandBlock,Command:setblock ~ ~-2 ~ chain_command_block 2 replace {auto:1,Command:}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~-9 chain_command_block 2 replace {auto:1,Command:scoreboard players add @a rrBSHit 0}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~-10 chain_command_block 2 replace {auto:1,Command:execute @e[type=XPOrb,tag=rrBSXP,c=-1] ~ ~ ~ give @a[score_rrBSWU_min=1,score_rrBSHit=0,tag=rrSilkHold,r=5,c=1] mob_spawner}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~-11 chain_command_block 2 replace {auto:1,Command:execute @e[type=XPOrb,tag=rrBSXP,c=-1] ~ ~ ~ give @a[score_rrBSSU_min=1,score_rrBSHit=0,tag=rrSilkHold,r=5,c=1] mob_spawner}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~-12 chain_command_block 2 replace {auto:1,Command:execute @e[type=XPOrb,tag=rrBSXP,c=-1] ~ ~ ~ give @a[score_rrBSIU_min=1,score_rrBSHit=0,tag=rrSilkHold,r=5,c=1] mob_spawner}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~-13 chain_command_block 2 replace {auto:1,Command:execute @e[type=XPOrb,tag=rrBSXP,c=-1] ~ ~ ~ give @a[score_rrBSGU_min=1,score_rrBSHit=0,tag=rrSilkHold,r=5,c=1] mob_spawner}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~-14 chain_command_block 2 replace {auto:1,Command:execute @e[type=XPOrb,tag=rrBSXP,c=-1] ~ ~ ~ give @a[score_rrBSDU_min=1,score_rrBSHit=0,tag=rrSilkHold,r=5,c=1] mob_spawner}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~-15 chain_command_block 2 replace {auto:1,Command:scoreboard players set @a rrBSWU 0}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~-16 chain_command_block 2 replace {auto:1,Command:scoreboard players set @a rrBSSU 0}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~-17 chain_command_block 2 replace {auto:1,Command:scoreboard players set @a rrBSIU 0}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~-18 chain_command_block 1 replace {auto:1,Command:scoreboard players set @a rrBSGU 0}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~-18 chain_command_block 3 replace {auto:1,Command:scoreboard players set @a rrBSDU 0}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~-17 chain_command_block 3 replace {auto:1,Command:scoreboard players set @a rrBSHit 0}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~-16 chain_command_block 3 replace {auto:1,Command:scoreboard players tag @e remove rrBSXP}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~-15 chain_command_block 3 replace {auto:1,Command:scoreboard players tag @e add rrBSGE {CustomName:Extract Essence}}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~-14 chain_command_block 3 replace {auto:1,Command:scoreboard players tag @e add rrBSGE {CustomName:extract essence}}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~-13 chain_command_block 3 replace {auto:1,Command:execute @e[tag=rrBSGE] ~ ~ ~ summon FireworksRocketEntity ~ ~.5 ~ {LifeTime:0,FireworksItem:{id:fireworks,Count:1,tag:{Fireworks:{Explosions:[{Type:1,Flicker:0,Trail:1,Colors:[4312372,15435844],FadeColors:[2437522,8073150]}]}}}}}},{id:MinecartCommandBlock,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:MinecartCommandBlock,Command:setblock ~ ~ ~-11 chain_command_block 3 replace {auto:1,Command:execute @e[type=CaveSpider,tag=rrBSGE] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:spawn_egg,Count:1,tag:{EntityTag:{id:CaveSpider}}}}}},{id:MinecartCommandBlock,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:MinecartCommandBlock,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:MinecartCommandBlock,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:MinecartCommandBlock,Command:setblock ~ ~ ~-7 chain_command_block 3 replace {auto:1,Command:execute @e[type=LavaSlime,tag=rrBSGE] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:spawn_egg,Count:1,tag:{EntityTag:{id:LavaSlime}}}}}},{id:MinecartCommandBlock,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:MinecartCommandBlock,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:MinecartCommandBlock,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:MinecartCommandBlock,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:MinecartCommandBlock,Command:setblock ~ ~1 ~-3 chain_command_block 2 replace {auto:1,Command:execute @e[type=PigZombie,tag=rrBSGE] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:spawn_egg,Count:1,tag:{EntityTag:{id:PigZombie}}}}}},{id:MinecartCommandBlock,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:MinecartCommandBlock,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:MinecartCommandBlock,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:MinecartCommandBlock,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:MinecartCommandBlock,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:MinecartCommandBlock,Command:setblock ~ ~1 ~-9 chain_command_block 2 replace {auto:1,Command:tp @e[tag=rrBSGE] ~ ~-500 ~}},{id:MinecartCommandBlock,Command:setblock ~ ~1 ~-10 chain_command_block 2 replace {auto:1,Command:kill @e[tag=rrBSGE]}},{id:MinecartCommandBlock,Command:setblock ~ ~-2 ~ command_block 0 replace {auto:1,Command:fill ~ ~ ~ ~ ~3 ~ air}},{id:MinecartCommandBlock,Command:kill @e[r=0]}]}]}