Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #1 Give The Mech Suit to the player
- >/give @p leather_helmet 1 0 {display:{Name:"Mech Helm",color:16713736}}
- >/give @p leather_chestplate 1 0 {display:{Name:"Mech Suit",color:16713736}}
- >/give @p leather_leggings 1 0 {display:{Name:"Mech Leggings",color:16713736}}
- >/give @p leather_boots 1 0 {display:{Name:"Mech Boots",color:16713736}}
- #2 Test for the Mech Suit
- >/testfor @p {Inventory:[{Slot:100b,id:"minecraft:leather_boots",tag:{display:{Name:"Mech Boots"}}}]}
- >/testfor @p {Inventory:[{Slot:101b,id:"minecraft:leather_leggings",tag:{display:{Name:"Mech Leggings"}}}]}
- >/testfor @p {Inventory:[{Slot:102b,id:"minecraft:leather_chestplate",tag:{display:{Name:"Mech Suit"}}}]}
- >/testfor @p {Inventory:[{Slot:103b,id:"minecraft:leather_helmet",tag:{display:{Name:"Mech Helm"}}}]}
- #3 Give the Items to the player and effects
- >/give @p minecraft:snowball 1 0 {display:{Name:"Flamethrower",Lore:["Right-Click to Burn"]}}
- >/give @p minecraft:bow 1 0 {display:{Name:"Rocket Launcher",Lore:["Shoot to Launch TNT"]}}
- >/give @p minecraft:tnt 1 0 {display:{Lore:["Throw To Activate"],Name:"Nuclear Ejection"}}
- >/effect @p 8 100000 1
- >/effect @p 11 10000 1
- >/effect @p 13 100000 1
- #4 Flamethrower
- >/testfor @a {SelectedItem:{id:minecraft:snowball,tag:{display:{Name:"Flamethrower"}}}}
- >/setblock ~ ~ ~ redstone_block
- >/execute @e[type=Snowball] ~ ~ ~ /entitydata @e[r=4,type=!Snowball] {Fire:50,Attributes:[{Name:generic.maxHealth,Base:1}],Fuse:1,ignited:1}
- >/execute @e[type=Snowball] ~ ~ ~ /particle flame ~ ~ ~ 1 1 1 0.1 20
- >/execute @e[type=Snowball] ~ ~ ~ /particle lava ~ ~ ~ 1 1 1 0.1 10
- >/replaceitem entity @a slot.hotbar.0 minecraft:snowball 1 0 {display:{Name:"Flamethrower"}}
- #5 Rocket Launcher
- >/testfor @e[type=Arrow] {inGround:1b}
- >/execute @e[type=Arrow] ~ ~ ~ /summon PrimedTnt ~ ~ ~
- >/kill @e[type=Arrow]
- #6 Nuclear Ejection
- >/testfor @e[type=Item] {Item:{id:minecraft:tnt}
- >/say (whatever you want)
- >/execute @p ~ ~ ~ /summon PrimedTnt ~ ~ ~
- >/clear @p minecraft:leather_helmet
- >/clear @p minecraft:leather_chestplate
- >/clear @p minecraft:leather_leggings
- >/clear @p minecraft:leather_boots
- 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