Hello People of the minecraft forms i have made a one command creation that adds some more "challenge" to mining
For Every 5 Coal you mine you get blindness as if some smoke comes on your face from the Coal the blindness last for 10 seconds then goes away
Something to mention is 1 this is my first one command creation so ideas and help are appreciated and a bug i could not fix is the blindness affects all players if i had set it to @p it could affect the wrong person so i went with @a couldn't find a way around it.
Hello People of the minecraft forms i have made a one command creation that adds some more "challenge" to mining
For Every 5 Coal you mine you get blindness as if some smoke comes on your face from the Coal the blindness last for 10 seconds then goes away
Something to mention is 1 this is my first one command creation so ideas and help are appreciated and a bug i could not fix is the blindness affects all players if i had set it to @p it could affect the wrong person so i went with @a couldn't find a way around it.
Requires the latest 1.9 snapshot/release
Here is the Command
summon FallingSand ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:FallingSand,Block:redstone_block,Time:1,Passengers:[{id:FallingSand,Block:activator_rail,Time:1,Passengers:[{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false},{id:MinecartCommandBlock,Command:setblock ~4 ~0 ~6 command_block 4 replace {Command:"/playsound entity.generic.extinguish_fire @a "}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~1 command_block 1 replace {Command:"/gamerule commandBlockOutput false",auto:1}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~1 command_block 1 replace {Command:"/scoreboard objectives add CoalOre stat.mineBlock.minecraft.coal_ore ",auto:1}},{id:MinecartCommandBlock,Command:setblock ~2 ~0 ~4 command_block 3 replace {Command:"/scoreboard players set @a CoalOre 0 {}"}},{id:MinecartCommandBlock,Command:setblock ~4 ~0 ~1 repeating_command_block 1 replace {Command:"/scoreboard players test @a[c=1] CoalOre 5",auto:1}},{id:MinecartCommandBlock,Command:setblock ~6 ~0 ~4 command_block 4 replace {Command:"/effect @a blindness 10 4 true "}},{id:MinecartCommandBlock,Command:fill ~1 ~-3 ~0 ~7 ~-3 ~0 bedrock 0},{id:MinecartCommandBlock,Command:fill ~1 ~-3 ~1 ~7 ~-3 ~1 bedrock 0},{id:MinecartCommandBlock,Command:fill ~1 ~-3 ~2 ~7 ~-3 ~2 bedrock 0},{id:MinecartCommandBlock,Command:fill ~1 ~-3 ~3 ~7 ~-3 ~3 bedrock 0},{id:MinecartCommandBlock,Command:fill ~1 ~-3 ~4 ~7 ~-3 ~4 bedrock 0},{id:MinecartCommandBlock,Command:fill ~1 ~-3 ~5 ~7 ~-3 ~5 bedrock 0},{id:MinecartCommandBlock,Command:fill ~1 ~-3 ~6 ~7 ~-3 ~6 bedrock 0},{id:MinecartCommandBlock,Command:fill ~1 ~-3 ~7 ~7 ~-3 ~7 bedrock 0},{id:MinecartCommandBlock,Command:fill ~1 ~-2 ~0 ~7 ~-2 ~0 stained_glass 15},{id:MinecartCommandBlock,Command:fill ~1 ~-2 ~1 ~1 ~0 ~1 stained_glass 15},{id:MinecartCommandBlock,Command:fill ~1 ~-2 ~2 ~1 ~0 ~2 stained_glass 15},{id:MinecartCommandBlock,Command:fill ~1 ~-2 ~3 ~1 ~0 ~3 stained_glass 15},{id:MinecartCommandBlock,Command:fill ~1 ~-2 ~4 ~1 ~0 ~4 stained_glass 15},{id:MinecartCommandBlock,Command:fill ~1 ~-2 ~5 ~1 ~0 ~5 stained_glass 15},{id:MinecartCommandBlock,Command:fill ~1 ~-2 ~6 ~1 ~0 ~6 stained_glass 15},{id:MinecartCommandBlock,Command:fill ~1 ~-2 ~7 ~7 ~-2 ~7 stained_glass 15},{id:MinecartCommandBlock,Command:fill ~7 ~-2 ~1 ~7 ~0 ~1 stained_glass 15},{id:MinecartCommandBlock,Command:fill ~7 ~-2 ~2 ~7 ~0 ~2 stained_glass 15},{id:MinecartCommandBlock,Command:fill ~7 ~-2 ~3 ~7 ~0 ~3 stained_glass 15},{id:MinecartCommandBlock,Command:fill ~7 ~-2 ~4 ~7 ~0 ~4 stained_glass 15},{id:MinecartCommandBlock,Command:fill ~7 ~-2 ~5 ~7 ~0 ~5 stained_glass 15},{id:MinecartCommandBlock,Command:fill ~7 ~-2 ~6 ~7 ~0 ~6 stained_glass 15},{id:MinecartCommandBlock,Command:fill ~1 ~-1 ~0 ~7 ~-1 ~0 stained_glass 15},{id:MinecartCommandBlock,Command:fill ~1 ~-1 ~7 ~7 ~-1 ~7 stained_glass 15},{id:MinecartCommandBlock,Command:fill ~2 ~-1 ~4 ~6 ~-1 ~4 bedrock 0},{id:MinecartCommandBlock,Command:fill ~4 ~-1 ~2 ~4 ~-1 ~6 bedrock 0},{id:MinecartCommandBlock,Command:fill ~1 ~0 ~0 ~7 ~0 ~0 stained_glass 15},{id:MinecartCommandBlock,Command:fill ~1 ~0 ~7 ~7 ~0 ~7 stained_glass 15},{id:MinecartCommandBlock,Command:fill ~3 ~0 ~4 ~5 ~0 ~4 redstone_wire 0},{id:MinecartCommandBlock,Command:setblock ~4 ~0 ~2 unpowered_comparator 2},{id:MinecartCommandBlock,Command:setblock ~4 ~0 ~3 unpowered_repeater 2},{id:MinecartCommandBlock,Command:setblock ~4 ~0 ~5 redstone_wire 0},{id:MinecartCommandBlock,Command:fill ~1 ~1 ~0 ~7 ~1 ~0 bedrock 0},{id:MinecartCommandBlock,Command:fill ~1 ~1 ~1 ~7 ~1 ~1 bedrock 0},{id:MinecartCommandBlock,Command:fill ~1 ~1 ~2 ~7 ~1 ~2 bedrock 0},{id:MinecartCommandBlock,Command:fill ~1 ~1 ~3 ~7 ~1 ~3 bedrock 0},{id:MinecartCommandBlock,Command:fill ~1 ~1 ~4 ~7 ~1 ~4 bedrock 0},{id:MinecartCommandBlock,Command:fill ~1 ~1 ~5 ~7 ~1 ~5 bedrock 0},{id:MinecartCommandBlock,Command:fill ~1 ~1 ~6 ~7 ~1 ~6 bedrock 0},{id:MinecartCommandBlock,Command:fill ~1 ~1 ~7 ~7 ~1 ~7 bedrock 0},{id:MinecartCommandBlock,Command:kill @e[type=ArmorStand,name=STRCMD]},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-2 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}
////Mod place holder\\\\