Advertisement
ChaoticRedstone

Commands For Mech Suit

May 17th, 2015
1,287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. #1 Give The Mech Suit to the player
  2. >/give @p leather_helmet 1 0 {display:{Name:"Mech Helm",color:16713736}}
  3. >/give @p leather_chestplate 1 0 {display:{Name:"Mech Suit",color:16713736}}
  4. >/give @p leather_leggings 1 0 {display:{Name:"Mech Leggings",color:16713736}}
  5. >/give @p leather_boots 1 0 {display:{Name:"Mech Boots",color:16713736}}
  6. #2 Test for the Mech Suit
  7. >/testfor @p {Inventory:[{Slot:100b,id:"minecraft:leather_boots",tag:{display:{Name:"Mech Boots"}}}]}
  8. >/testfor @p {Inventory:[{Slot:101b,id:"minecraft:leather_leggings",tag:{display:{Name:"Mech Leggings"}}}]}
  9. >/testfor @p {Inventory:[{Slot:102b,id:"minecraft:leather_chestplate",tag:{display:{Name:"Mech Suit"}}}]}
  10. >/testfor @p {Inventory:[{Slot:103b,id:"minecraft:leather_helmet",tag:{display:{Name:"Mech Helm"}}}]}
  11. #3 Give the Items to the player and effects
  12. >/give @p minecraft:snowball 1 0 {display:{Name:"Flamethrower",Lore:["Right-Click to Burn"]}}
  13. >/give @p minecraft:bow 1 0 {display:{Name:"Rocket Launcher",Lore:["Shoot to Launch TNT"]}}
  14. >/give @p minecraft:tnt 1 0 {display:{Lore:["Throw To Activate"],Name:"Nuclear Ejection"}}
  15. >/effect @p 8 100000 1
  16. >/effect @p 11 10000 1
  17. >/effect @p 13 100000 1
  18. #4 Flamethrower
  19. >/testfor @a {SelectedItem:{id:minecraft:snowball,tag:{display:{Name:"Flamethrower"}}}}
  20. >/setblock ~ ~ ~ redstone_block
  21. >/execute @e[type=Snowball] ~ ~ ~ /entitydata @e[r=4,type=!Snowball] {Fire:50,Attributes:[{Name:generic.maxHealth,Base:1}],Fuse:1,ignited:1}
  22. >/execute @e[type=Snowball] ~ ~ ~ /particle flame ~ ~ ~ 1 1 1 0.1 20
  23. >/execute @e[type=Snowball] ~ ~ ~ /particle lava ~ ~ ~ 1 1 1 0.1 10
  24. >/replaceitem entity @a slot.hotbar.0 minecraft:snowball 1 0 {display:{Name:"Flamethrower"}}
  25. #5 Rocket Launcher
  26. >/testfor @e[type=Arrow] {inGround:1b}
  27. >/execute @e[type=Arrow] ~ ~ ~ /summon PrimedTnt ~ ~ ~
  28. >/kill @e[type=Arrow]
  29. #6 Nuclear Ejection
  30. >/testfor @e[type=Item] {Item:{id:minecraft:tnt}
  31. >/say (whatever you want)
  32. >/execute @p ~ ~ ~ /summon PrimedTnt ~ ~ ~
  33. >/clear @p minecraft:leather_helmet
  34. >/clear @p minecraft:leather_chestplate
  35. >/clear @p minecraft:leather_leggings
  36. >/clear @p minecraft:leather_boots
  37.  
  38. Having trouble? Click on the link for guide:https://www.youtube.com/watch?v=nDaIfaG9hCo&feature=youtu.be
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement