Does anyone now how to make armor which gives a potion effect?
For 1.7.4, this is not possible without the player having the item removed from the armor slot. In 1.8, you can use the following, which only works with a single player as of 14w02c simply due to the limited capabilities:
The new /clear syntax allows you to enter a 0 after the Damage value to prevent the item from being removed, letting the player keep it in their armor slot.
Command block on the LEFT:
/effect @p 8 1
And simply provide a jump boost effect.
SUMMARY
If the player has leather_boots named "Booties" anywhere in their inventory, they will receive the jump boost effect. However, the boots will not be removed, so the player may place it in their armor slot and not have to worry about moving it back constantly. 1.8 snapshots have just started, so we may see some further development to make this easier to control (only work while in armor slot) as well as make it more viable to be used in multiplayer.
Just know that you cannot apply potion effects directly to armor.
For 1.7.4, this is not possible without the player having the item removed from the armor slot. In 1.8, you can use the following, which only works with a single player as of 14w02c simply due to the limited capabilities:
Could it work for multiple people if they're on different teams?
/clear @p[team=playername] leather_boots 0 0 {display:{Name:"Booties"}}
I am still modding 1.6.4 and I use proxies if I wan't potion effect on one piece of armor but how to make full set of armor provide one potion effect like fireResistence.
Maybe I need somehow check does player have full armor on?
For 1.7.4, this is not possible without the player having the item removed from the armor slot. In 1.8, you can use the following, which only works with a single player as of 14w02c simply due to the limited capabilities:
Prerequisites:
Mechanism:
Command block on the RIGHT:
The new /clear syntax allows you to enter a 0 after the Damage value to prevent the item from being removed, letting the player keep it in their armor slot.
Command block on the LEFT:
And simply provide a jump boost effect.
SUMMARY
If the player has leather_boots named "Booties" anywhere in their inventory, they will receive the jump boost effect. However, the boots will not be removed, so the player may place it in their armor slot and not have to worry about moving it back constantly. 1.8 snapshots have just started, so we may see some further development to make this easier to control (only work while in armor slot) as well as make it more viable to be used in multiplayer.
Just know that you cannot apply potion effects directly to armor.
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
Could it work for multiple people if they're on different teams?
/clear @p[team=playername] leather_boots 0 0 {display:{Name:"Booties"}}
Yes, any parameters you can put into the selector will work as it normally should.
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
Maybe I need somehow check does player have full armor on?
I never played hexxit I played woids wrath.