Curcuit_Blocks

Glass Shard | Minecraft | 1 Command

Dec 18th, 2016
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.01 KB | None | 0 0
  1. /summon falling_block ~ ~1 ~ {Block:"redstone_block",Time:3,Passengers:[{id:"falling_block",Block:"activator_rail",Time:3,Passengers:[{id:"commandblock_minecart",Command:/gamerule commandBlockOutput false},{id:"commandblock_minecart",Command:/scoreboard objectives add PackTimer dummy},{id:"commandblock_minecart",Command:},{id:"commandblock_minecart",Command:/fill ~2 ~-2 ~-1 ~6 ~3 ~1 stained_hardened_clay 0 hollow},{id:"commandblock_minecart",Command:/fill ~2 ~-1 ~-1 ~6 ~2 ~1 glass 0 replace stained_hardened_clay},{id:"commandblock_minecart",Command:/summon falling_block ~3 ~-1 ~ {Block:repeating_command_block,Data:1,TileEntityData:{auto:1b,Command:/scoreboard players tag @a remove GlassShardBreak},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,Data:1,TileEntityData:{Command:/scoreboard players tag @a add GlassShardBreak {HurtTime:1s}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,Data:1,TileEntityData:{Command:clear @a[tag=GlassShardBreak] minecraft:prismarine_shard 0 1 {GlassShard:1b}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:stained_hardened_clay,Data:0,Time:1,DropItem:0}]}]}]}},{id:"commandblock_minecart",Command:/summon falling_block ~4 ~-1 ~ {Block:repeating_command_block,Data:5,TileEntityData:{auto:1b,Command:/scoreboard players add GlassShard PackTimer 1},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,Data:0,TileEntityData:{Command:/execute @e[tag=GlassShardCraft] ~ ~ ~ kill @e[name=!GlassShard,dx=0]},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,Data:0,TileEntityData:{Command:/execute @e[tag=GlassShardCraft] ~ ~ ~ /summon item ~ ~ ~ {Item:{id:prismarine_shard,Count:1b,tag:{AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:.25,Operation:2,UUIDLeast:383164,UUIDMost:507537,Slot:"offhand"},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:.5,Operation:2,UUIDLeast:935940,UUIDMost:631332,Slot:"offhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:.75,Operation:2,UUIDLeast:368074,UUIDMost:681394,Slot:"offhand"}],ench:[{id:-1}],GlassShard:1b,display:{LocName:"Glass Shard",Lore:[Sharp but fragile...]}}},Motion:[0.0,0.3,0.0],CustomName:"GlassShard"}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,Data:0,TileEntityData:{Command:/execute @e[tag=GlassShardA] ~ ~ ~ scoreboard players tag @e[tag=GlassShardB,c=1,dx=0] add GlassShardCraft},Time:1,DropItem:0}]}]}]}},{id:"commandblock_minecart",Command:/summon falling_block ~5 ~-1 ~ {Block:chain_command_block,Data:1,TileEntityData:{Command:/scoreboard players test GlassShard PackTimer 20},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,Data:9,TileEntityData:{Command:/scoreboard players set GlassShard PackTimer 0},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:repeating_command_block,Data:9,TileEntityData:{auto:1b,Command:/scoreboard players tag @e[type=item] add GlassShardA {Item:{id:"minecraft:glass",Count:16b},OnGround:1b}},Time:1,DropItem:0,Passengers:[{id:"falling_block",Block:chain_command_block,Data:4,TileEntityData:{Command:/scoreboard players tag @e[type=item] add GlassShardB {Item:{id:"minecraft:glass_pane",Count:8b},OnGround:1b}},Time:1,DropItem:0}]}]}]}},{id:"commandblock_minecart",Command:setblock ~1 ~1 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"click here\\\",\\\"color\\\":\\\"dark_red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/particle explode ~3.5 ~-.5 ~ 1.25 2 1 .01 75 normal\\\"}}",Text2:"{\\\"text\\\":\\\"to remove\\\",\\\"color\\\":\\\"dark_red\\\"}",Text3:"{\\\"text\\\":\\\"this machine\\\",\\\"color\\\":\\\"dark_red\\\"}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-3 ~-1 ~5 ~2 ~1 air\\\"}}"}},{id:"commandblock_minecart",Command:/setblock ~ ~1 ~ command_block 1 0 {auto:1b,Command:fill ~ ~ ~ ~ ~-2 ~ air}},{id:"commandblock_minecart",Command:kill @e[r=2,type=commandblock_minecart]}]}]}
Add Comment
Please, Sign In to add comment