Advertisement
Guest User

Food Buffs (One Command Block) by HeroicGamer

a guest
Aug 1st, 2016
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.64 KB | None | 0 0
  1. 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 ~2 ~-2 ~2 repeating_command_block 5 replace {Command:"/effect @a[score_eatCookie_min=3] minecraft:speed 10 1",auto:1}},{id:MinecartCommandBlock,Command:setblock ~4 ~0 ~2 command_block 5 replace {Command:"/scoreboard objectives add eatRottenFlesh stat.useItem.minecraft.rotten_flesh"}},{id:MinecartCommandBlock,Command:setblock ~2 ~0 ~4 command_block 5 replace {Command:"/scoreboard objectives add eatRottenFlesh2 stat.useItem.minecraft.rotten_flesh"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~2 chain_command_block 13 replace {Command:"/scoreboard players set @a[score_eatCookie_min=3] eatCookie 0",auto:1}},{id:MinecartCommandBlock,Command:setblock ~2 ~-2 ~3 repeating_command_block 5 replace {Command:"/effect @a[score_eatRottenFlesh0_min=4] minecraft:slowness 15 1",auto:1}},{id:MinecartCommandBlock,Command:setblock ~4 ~0 ~3 command_block 5 replace {Command:"/scoreboard objectives add eatRottenFlesh1 stat.useItem.minecraft.rotten_flesh"}},{id:MinecartCommandBlock,Command:setblock ~2 ~0 ~2 command_block 5 replace {Command:"/scoreboard objectives add eatCookie stat.useItem.minecraft.cookie"}},{id:MinecartCommandBlock,Command:setblock ~2 ~0 ~3 command_block 5 replace {Command:"/scoreboard objectives add eatRottenFlesh0 stat.useItem.minecraft.rotten_flesh"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~3 chain_command_block 13 replace {Command:"/scoreboard players set @a[score_eatRottenFlesh1_min=6] eatRottenFlesh1 0",auto:1}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~4 repeating_command_block 5 replace {Command:"/effect @a[score_eatMelon_min=5] minecraft:regeneration 20 1",auto:1}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~4 chain_command_block 13 replace {Command:"/scoreboard players set @a[score_eatMelon_min=5] eatMelon 0",auto:1}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~2 repeating_command_block 5 replace {Command:"/effect @a[score_eatRottenFlesh_min=2] minecraft:nausea 15 2",auto:1}},{id:MinecartCommandBlock,Command:setblock ~2 ~-2 ~4 repeating_command_block 5 replace {Command:"/effect @a[score_eatRottenFlesh2_min=8] minecraft:poison 15 1",auto:1}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~3 chain_command_block 13 replace {Command:"/scoreboard players set @a[score_eatRottenFlesh0_min=1] eatRottenFlesh0 0",auto:1}},{id:MinecartCommandBlock,Command:setblock ~4 ~0 ~4 command_block 5 replace {Command:"/scoreboard objectives add eatMelon stat.useItem.minecraft.melon"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~2 chain_command_block 13 replace {Command:"/scoreboard players set @a[score_eatRottenFlesh_min=2] eatRottenFlesh 0",auto:1}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~4 chain_command_block 13 replace {Command:"/scoreboard players set @a[score_eatRottenFlesh2_min=8] eatRottenFlesh2 0",auto:1}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~3 repeating_command_block 5 replace {Command:"/effect @a[score_eatRottenFlesh1_min=6] minecraft:blindness 15 4",auto:1}},{id:MinecartCommandBlock,Command:setblock ~6 ~-3 ~0 chest 2 replace {Items:[,{Slot:11,id:minecraft:cookie,Count:3,Damage:0},{Slot:13,id:minecraft:rotten_flesh,Count:8,Damage:0},{Slot:15,id:minecraft:melon,Count:5,Damage:0}]}},{id:MinecartCommandBlock,Command:setblock ~5 ~0 ~4 chain_command_block 13 replace {Command:"fill ~1 ~ ~-4 ~-4 ~1 ~1 air",auto:1}},{id:MinecartCommandBlock,Command:fill ~1 ~-3 ~1 ~6 ~-3 ~1 wool 0},{id:MinecartCommandBlock,Command:fill ~1 ~-3 ~2 ~6 ~-3 ~2 wool 0},{id:MinecartCommandBlock,Command:fill ~1 ~-3 ~3 ~6 ~-3 ~3 wool 0},{id:MinecartCommandBlock,Command:fill ~1 ~-3 ~4 ~6 ~-3 ~4 wool 0},{id:MinecartCommandBlock,Command:fill ~1 ~-3 ~5 ~6 ~-3 ~5 wool 0},{id:MinecartCommandBlock,Command:fill ~1 ~-2 ~1 ~6 ~-2 ~1 stained_glass 0},{id:MinecartCommandBlock,Command:fill ~1 ~-2 ~2 ~1 ~-2 ~5 stained_glass 0},{id:MinecartCommandBlock,Command:fill ~2 ~-2 ~5 ~6 ~-2 ~5 stained_glass 0},{id:MinecartCommandBlock,Command:fill ~6 ~-2 ~2 ~6 ~-2 ~5 stained_glass 0},{id:MinecartCommandBlock,Command:fill ~1 ~-1 ~1 ~6 ~-1 ~1 wool 0},{id:MinecartCommandBlock,Command:fill ~1 ~-1 ~2 ~6 ~-1 ~2 wool 0},{id:MinecartCommandBlock,Command:fill ~1 ~-1 ~3 ~6 ~-1 ~3 wool 0},{id:MinecartCommandBlock,Command:fill ~1 ~-1 ~4 ~6 ~-1 ~4 wool 0},{id:MinecartCommandBlock,Command:fill ~1 ~-1 ~5 ~6 ~-1 ~5 wool 0},{id:MinecartCommandBlock,Command:fill ~1 ~0 ~1 ~6 ~0 ~1 stained_glass 0},{id:MinecartCommandBlock,Command:fill ~1 ~0 ~2 ~1 ~0 ~5 stained_glass 0},{id:MinecartCommandBlock,Command:fill ~2 ~0 ~5 ~6 ~0 ~5 stained_glass 0},{id:MinecartCommandBlock,Command:fill ~6 ~0 ~2 ~6 ~0 ~5 stained_glass 0},{id:MinecartCommandBlock,Command:fill ~1 ~1 ~1 ~6 ~1 ~1 wool 0},{id:MinecartCommandBlock,Command:fill ~1 ~1 ~2 ~6 ~1 ~2 wool 0},{id:MinecartCommandBlock,Command:fill ~1 ~1 ~3 ~6 ~1 ~3 wool 0},{id:MinecartCommandBlock,Command:fill ~1 ~1 ~4 ~6 ~1 ~4 wool 0},{id:MinecartCommandBlock,Command:fill ~1 ~1 ~5 ~6 ~1 ~5 wool 0},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~0 wall_sign 2 replace {Text1:"{\\\"text\\\":\\\"\\\"}",Text2:"{\\\"underlined\\\":true,\\\"text\\\":\\\"Click this sign\\\"}",Text3:"{\\\"bold\\\":true,\\\"underlined\\\":true,\\\"color\\\":\\\"white\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"say Hello! This command block creation was created by HeroicGamer! (@RealHeroicGamer on Twitter) The Food Buffs module will add certain buffs (or debuffs) to the food you eat. Eating 3 cookies gives you Speed II for 10 seconds. Eating 5 melons will give you Regeneration II for 20 seconds. Eating 2 Rotten Flesh will give you Nausea II for 15 seconds. Eating 4 Rotten Flesh will give you the previous Nausea II and an additional Slowness II for 15 seconds. Eating 6 Rotten Flesh will give you the previous Nausea II,possibly the previous Slowness II,and an additional Blindness for 15 seconds. Eating 8 Rotten Flesh will give you the previous Nausea II,possibly the previous Slowness II,possibly the previous Blindness,and an additional Poison II for 15 seconds,bringing you down to half a heart. You will still have a 90% chance to get Hunger for 30 seconds.\\\"},\\\"text\\\":\\\"to learn more!\\\"}",Text4:"{\\\"text\\\":\\\"\\\"}"}},{id:MinecartCommandBlock,Command:setblock ~4 ~0 ~0 wall_sign 2 replace {Text1:"{\\\"text\\\":\\\"\\\"}",Text2:"{\\\"underlined\\\":true,\\\"text\\\":\\\"Click here\\\"}",Text3:"{\\\"bold\\\":true,\\\"underlined\\\":true,\\\"color\\\":\\\"green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~-1 ~ ~4 ~-1 ~ ~2 redstone_block\\\"},\\\"text\\\":\\\"to activate!\\\"}",Text4:"{\\\"text\\\":\\\"\\\"}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~0 wall_sign 2 replace {Text1:"{\\\"text\\\":\\\"\\\"}",Text2:"{\\\"underlined\\\":true,\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"say You have to manually remove the scoreboards. Don\\\\u0027t worry,though. They all start with \\\\u0027eat\\\\u0027.\\\"},\\\"text\\\":\\\"Click this sign\\\"}",Text3:"{\\\"bold\\\":true,\\\"underlined\\\":true,\\\"color\\\":\\\"red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~3 ~-1 ~ ~-2 ~3 ~5 air\\\"},\\\"text\\\":\\\"to delete!\\\"}",Text4:"{\\\"text\\\":\\\"\\\"}"}},{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]}]}]}]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement