en 1.8 /(sorry Armor
How To Get Armor:
Use This Command:
"/give @p chainmail_chestplate 1 0 {display:{Name:"Effected Armor"},AttributeModifiers:[{AttributeName:"generic.maxHealth",Name:"generic.maxHealth",Amount:20,Operation:0,UUIDMost:70986,UUIDLeast:749809},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.2,Operation:0,UUIDMost:11878,UUIDLeast:708973},{AttributeName:"generic.attackDamage",Name:"generic.attackDamage",Amount:10,Operation:0,UUIDMost:74584,UUIDLeast:588383}],Unbreakable:1}"
How To Set Up Effects:
Paste This Into A Command Block:
/setblock ~0 ~1 ~0 minecraft:redstone_block 0 destroy
Then Put A Redstone Block On Top
WARNING:
type this in chat first:
/gamerule doTileDrops false
&
/gamerule commandBlockOutput false
if your on a server the console will spam to stop that type
/gamerule logAdminCommands false
next the redstone block will show lots of particles thats ok and next
we put a command block near the redstone block and put this command
inside:
"/testfor @p {Inventory:[{Slot:102b,id:"minecraf­t:chainmail_chestplate",tag:{display:­{Name:"Effected Armor"}}}]}"
now we put a comparator near the command block u just placed and if you wear the armor 
the comparator shoud light up and if it does good and put a comparator clock near the other comparator so the comparators
link up and make the comparator on (the one in the clock)
and finally make the clock go to command blocks with the command:
"/effect @a[score_Armor_min=1,score_Armor=1] (effect id) (time) (amplifier) true"
and done now just one more thing to do and ur good type this command:
"/scoreboard objectives add Armor dummy Armor"
and to activate your chestplate type:
"/scoreboard players set (username) Armor 1"
and to turn off:
"/scoreboard players set (username) Armor (any number but not 1)"
and done :D

The command

Note: Minify the command to avoid issues :)


Created: Mon, 17 Aug 2015 06:30:07, Updated: Sun, 10 Jul 2016 21:15:57, Views: 20

Share on:  

    


Top entries from tobiasqr


Top entries in Armor