IlanOzCraft

Minecraft Tutorial- C4 Explosives

Apr 8th, 2016
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. C4 EXPLOSIVES
  2. -by IlanOzCraft
  3. ################################################################################################################################
  4. -COMMANDS IN ORDER-
  5. scoreboard players set @e[type=Item] c4 1 {Item:{tag:{display:{Lore:[Throw to activate]}}}}
  6. scoreboard players set @e[type=Item] c4 2 {Item:{tag:{display:{Lore:[Throw to use on C4]}}}}
  7. execute @e[score_c4_min=1,score_c4=1] ~ ~ ~ particle smoke ~ ~ ~ 0.2 0.2 0.2 0 1
  8. execute @e[score_c4_min=2,score_c4=2] ~ ~ ~ execute @e[score_c4_min=1,score_c4=1,r=15] ~ ~ ~ summon PrimedTnt ~ ~ ~ {Fuse:0}
  9. execute @e[score_c4_min=2,score_c4=2] ~ ~ ~ execute @e[score_c4_min=1,score_c4=1,r=15] ~ ~ ~ particle smoke ~ ~ ~ 2 2 2 0 1000
  10. entitydata @e[score_c4_min=2,score_c4=2] {PickupDelay:0,Invulnerable:1}
  11. entitydata @e[score_c4_min=1,score_c4=1] {PickupDelay:10}
  12.  
  13.  
  14. ################################################################################################################################
  15. -GIVE THE TWO ITEMS-
  16. /give @a skull 1 3 {display:{Name:"C4",Lore:[Throw to activate]},SkullOwner:{Id:"8b8fcca0-6880-4108-a46a-5a21320e0d7c",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOGRhMzMyYWJkZTMzM2ExNWE2YzZmY2ZlY2E4M2YwMTU5ZWE5NGI2OGU4ZjI3NGJhZmMwNDg5MmI2ZGJmYyJ9fX0="}]}}}
  17.  
  18. /give @a flint_and_steel 1 0 {display:{Name:"C4 Controller",Lore:[Throw to use on C4]},ench:[]}
Advertisement
Add Comment
Please, Sign In to add comment