Advertisement
Curcuit_Blocks

Bed Bread | Minecraft | 1 Command

Sep 11th, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.29 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:fill ~2 ~-3 ~-1 ~8 ~3 ~1 stained_hardened_clay 14 hollow},{id:MinecartCommandBlock,Command:fill ~2 ~-2 ~-1 ~8 ~2 ~1 stained_glass 0 0 stained_hardened_clay},{id:MinecartCommandBlock,Command:/scoreboard objectives add BBEatT dummy},{id:MinecartCommandBlock,Command:/scoreboard objectives add BBEat stat.useItem.minecraft.bread},{id:MinecartCommandBlock,Command:/scoreboard objectives add TBTime dummy},{id:MinecartCommandBlock,Command:setblock ~1 ~ ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"Click here to\\\",\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/particle explode ~4 ~ ~ 3.5 3 1 .25 100 normal\\\"}}",Text2:"{\\\"text\\\":\\\"remove this\\\",\\\"color\\\":\\\"dark_red\\\"}",Text3:"{\\\"text\\\":\\\"machine\\\",\\\"color\\\":\\\"dark_red\\\"}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-3 ~-1 ~7 ~3 ~1 air\\\"}}"}},{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~ ~7 ~2 ~ chain_command_block 5},{id:MinecartCommandBlock,Command:setblock ~3 ~1 ~ chain_command_block 1},{id:MinecartCommandBlock,Command:fill ~7 ~1 ~ ~4 ~1 ~ chain_command_block 4},{id:MinecartCommandBlock,Command:setblock ~7 ~ ~ chain_command_block 1},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~ chain_command_block 1},{id:MinecartCommandBlock,Command:fill ~7 ~-1 ~ ~4 ~-1 ~ chain_command_block 4},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~ chain_command_block 1},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ repeating_command_block 5},{id:MinecartCommandBlock,Command:blockdata ~4 ~2 ~ {auto:1,Command:/execute @e[score_TBTime_min=-1,score_TBTime=-1] ~ ~ ~ /execute @e[score_TBTime_min=-2,score_TBTime=-2,dx=0] ~ ~ ~ kill @e[c=2,type=Item,score_TBTime=-1]}},{id:MinecartCommandBlock,Command:blockdata ~3 ~2 ~ {auto:1,Command:"/execute @e[score_TBTime_min=-1,score_TBTime=-1] ~ ~ ~ /execute @e[score_TBTime_min=-2,score_TBTime=-2,dx=0] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:\\\"bread\\\",Count:8b,tag:{ench:[],SleepBread:1b,display:{Name:\\\"Bed Bread\\\",Lore:[\\\"Eat to skip night.\\\",\\\"Must eat in main hand.\\\"]}}},Motion:[0.0,0.3,0.0]}"}},{id:MinecartCommandBlock,Command:blockdata ~3 ~1 ~ {auto:1,Command:"/scoreboard players set @e[type=Item] TBTime -2 {Item:{id:\\\"minecraft:clock\\\",Count:1b}}"}},{id:MinecartCommandBlock,Command:blockdata ~4 ~1 ~ {auto:1,Command:"/scoreboard players set @e[type=Item] TBTime -1 {Item:{id:\\\"minecraft:bread\\\",Count:16b}}"}},{id:MinecartCommandBlock,Command:blockdata ~5 ~1 ~ {auto:1,Command:/effect @e[tag=BBTimeD] minecraft:jump_boost 1 249 true}},{id:MinecartCommandBlock,Command:blockdata ~6 ~1 ~ {auto:1,Command:/effect @e[tag=BBTimeD] minecraft:slowness 1 255 true}},{id:MinecartCommandBlock,Command:blockdata ~7 ~1 ~ {auto:1,Command:/effect @e[tag=BBTimeD] minecraft:blindness 2 1 true}},{id:MinecartCommandBlock,Command:blockdata ~7 ~ ~ {auto:1,Command:/execute @e[tag=BBTimeD] ~ ~ ~ time add 100}},{id:MinecartCommandBlock,Command:blockdata ~6 ~ ~ {auto:1,Command:/scoreboard players set @a BBEat 0}},{id:MinecartCommandBlock,Command:blockdata ~5 ~ ~ {auto:1,Command:scoreboard players tag @e[score_BBEat_min=1,score_BBEatT_min=1,tag=SleepBread] add BBTimeD}},{id:MinecartCommandBlock,Command:blockdata ~4 ~ ~ {auto:1,Command:scoreboard players tag @a[tag=!SleepBread] remove BBTimeD}},{id:MinecartCommandBlock,Command:blockdata ~3 ~ ~ {auto:1,Command:/effect @e[score_BBEat_min=1,score_BBEatT_min=1,tag=SleepBread] minecraft:blindness 1 1 true}},{id:MinecartCommandBlock,Command:blockdata ~3 ~-1 ~ {auto:1,Command:"/tellraw @e[score_BBEat_min=1,score_BBEatT_min=1,tag=!SleepBread] [\\\"\\\",{\\\"text\\\":\\\"You can only sleep at night\\\",\\\"color\\\":\\\"white\\\"}]"}},{id:MinecartCommandBlock,Command:blockdata ~4 ~-1 ~ {auto:1,Command:/scoreboard players tag @a[score_BBEat_min=1,score_BBEatT_min=1] add EatSleep}},{id:MinecartCommandBlock,Command:blockdata ~5 ~-1 ~ {auto:1,Command:/scoreboard players tag @a remove EatSleep}},{id:MinecartCommandBlock,Command:blockdata ~6 ~-1 ~ {auto:1,Command:"/scoreboard players set @a BBEatT 2 {SelectedItem:{id:\\\"minecraft:bread\\\",tag:{SleepBread:1b}}}"}},{id:MinecartCommandBlock,Command:blockdata ~7 ~-1 ~ {auto:1,Command:/scoreboard players remove @a[score_BBEatT_min=1] BBEatT 1 }},{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~ {auto:1,Command:/scoreboard players tag @a[score_TBTime_min=12541,score_TBTime=23459] add SleepBread }},{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~ {auto:1,Command:/scoreboard players tag @a remove SleepBread }},{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~ {auto:1,Command:/stats block ~-2 ~ ~ set QueryResult @a TBTime}},{id:MinecartCommandBlock,Command:blockdata ~4 ~-2 ~ {auto:1,Command:/scoreboard players add @a TBTime 0}},{id:MinecartCommandBlock,Command:blockdata ~3 ~-2 ~ {auto:1,Command:/time query daytime}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 0 {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