This command makes every grass drop green or blue ruppees which increase a score in a scoreboard for other usages, or heart that regenerates your health.
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 FallingSand ~ ~1 ~ {Block:redstone_block,Time:1,DropItem:0, Passengers:[{id:FallingSand,Block:activator_rail,Time:1,DropItem:0 ,Passengers:[{id:MinecartCommandBlock,Command:/gamerule commandBlockOutput false} ,{id:MinecartCommandBlock,Command:/scoreboard objectives add Rubis dummy} ,{id:MinecartCommandBlock,Command:/scoreboard teams add Vert} ,{id:MinecartCommandBlock,Command:/scoreboard teams option Vert color green} ,{id:MinecartCommandBlock,Command:/scoreboard teams join Vert ⧫} ,{id:MinecartCommandBlock,Command:/scoreboard objectives setdisplay sidebar Rubis} ,{id:MinecartCommandBlock,Command:/scoreboard players set ⧫ Rubis 0} ,{id:MinecartCommandBlock,Command:/scoreboard objectives add HerbeDrop dummy} ,{id:MinecartCommandBlock,Command:/setblock ~2 ~9 ~-1 repeating_command_block 1 replace {auto:1b,TrackOutput:0b,Command:/entitydata @e[score_HerbeDrop_min=3] {Item:{Damage:1s,id:minecraft:dye,tag:{display:{Name:"Cœur"}}}}}} ,{id:MinecartCommandBlock,Command:/setblock ~1 ~9 ~-1 repeating_command_block 1 replace {auto:1b,TrackOutput:0b,Command:/entitydata @e[score_HerbeDrop=2,score_HerbeDrop_min=2] {Item:{Damage:4s,id:minecraft:dye,tag:{display:{Name:"Rubis Bleu"}}}}}} ,{id:MinecartCommandBlock,Command:/setblock ~ ~9 ~-1 repeating_command_block 1 replace {auto:1b,TrackOutput:0b,Command:/entitydata @e[score_HerbeDrop=1,score_HerbeDrop_min=1] {Item:{Damage:0s,id:minecraft:emerald,tag:{display:{Name:"Rubis Vert"}}}}}} ,{id:MinecartCommandBlock,Command:/setblock ~1 ~9 ~1 repeating_command_block 1 replace {auto:1b,TrackOutput:0b,Command:/execute @r[type=ArmorStand,name=RandomHerbe] ~ ~ ~ /setblock ~ ~ ~ redstone_block}} ,{id:MinecartCommandBlock,Command:/setblock ~ ~9 ~1 repeating_command_block 1 replace {auto:1b,TrackOutput:0b,Command:/fill ~ ~1 ~-1 ~2 ~1 ~-1 air}} ,{id:MinecartCommandBlock,Command:/setblock ~2 ~9 ~ command_block 1 replace {TrackOutput:0b,Command:/scoreboard players set @e[type=Item] HerbeDrop 3 {Item:{Damage:0s,id:minecraft:wheat_seeds}}}} ,{id:MinecartCommandBlock,Command:/setblock ~1 ~9 ~ command_block 1 replace {TrackOutput:0b,Command:/scoreboard players set @e[type=Item] HerbeDrop 2 {Item:{Damage:0s,id:minecraft:wheat_seeds}}}} ,{id:MinecartCommandBlock,Command:/setblock ~ ~9 ~ command_block 1 replace {TrackOutput:0b,Command:/scoreboard players set @e[type=Item] HerbeDrop 1 {Item:{Damage:0s,id:minecraft:wheat_seeds}}}} ,{id:MinecartCommandBlock,Command:/summon ArmorStand ~ ~10 ~ {CustomName:RandomHerbe,CustomNameVisible:1,Marker:1b,NoGravity:1}} ,{id:MinecartCommandBlock,Command:/summon ArmorStand ~1 ~10 ~ {CustomName:RandomHerbe,CustomNameVisible:1,Marker:1b,NoGravity:1}} ,{id:MinecartCommandBlock,Command:/summon ArmorStand ~2 ~10 ~ {CustomName:RandomHerbe,CustomNameVisible:1,Marker:1b,NoGravity:1}} ,{id:MinecartCommandBlock,Command:/setblock ~ ~8 ~1 chain_command_block 12 replace {auto:1b,TrackOutput:0b,Command:/scoreboard players add ⧫ Rubis 5}} ,{id:MinecartCommandBlock,Command:/setblock ~ ~8 ~ chain_command_block 12 replace {auto:1b,TrackOutput:0b,Command:/scoreboard players add ⧫ Rubis 1}} ,{id:MinecartCommandBlock,Command:/setblock ~ ~8 ~-1 chain_command_block 12 replace {auto:1b,TrackOutput:0b,Command:/effect @a regeneration 3 1 true}} ,{id:MinecartCommandBlock,Command:/setblock ~1 ~8 ~1 repeating_command_block 4 replace {auto:1b,TrackOutput:0b,Command:/clear @a dye 4 1 {display:{Name:"Rubis Bleu"}}}} ,{id:MinecartCommandBlock,Command:/setblock ~1 ~8 ~ repeating_command_block 4 replace {auto:1b,TrackOutput:0b,Command:/clear @a emerald 0 1 {display:{Name:"Rubis Vert"}}}} ,{id:MinecartCommandBlock,Command:/setblock ~1 ~8 ~-1 repeating_command_block 4 replace {auto:1b,TrackOutput:0b,Command:/clear @a dye 1 1 {display:{Name:"Cœur"}}}} ,{id:MinecartCommandBlock,Command:"/setblock ~-1 ~9 ~ minecraft:wall_sign 4 replace {Text1:\"{\\\"text\\\":\\\"Herbes de Zelda\\\",\\\"color\\\":\\\"dark_green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard objectives remove Rubis\\\"}}\" ,Text2:\"{\\\"text\\\":\\\"par Redmat527\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"scoreboard objectives remove HerbeDrop\\\"}}\" ,Text3:\"{\\\"text\\\":\\\"Clic droit\\\",\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"kill @e[name=RandomHerbe]\\\"}}\" ,Text4:\"{\\\"text\\\":\\\"pour détruire\\\",\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~4 ~ ~1 ~ ~-1 ~-1 air\\\"}}\"}"} ,{id:MinecartCommandBlock,Command:/setblock ~ ~1 ~ repeating_command_block 8 replace {auto:1b,Command:/fill ~ ~1 ~ ~ ~-3 ~ air}} ,{id:MinecartCommandBlock,Command:/setblock ~ ~2 ~ repeating_command_block 0 0 {auto:1b,Command:/kill @e[type=MinecartCommandBlock]}}]}]}