#Effect Armor

1 messages · Page 1 of 1 (latest)

sinful tapir
#

Good morning ! I wanted to know if it was possible to put an effect on the player (for example night vision) when an armor is fully worn. If it is possible, can you explain to me please ?

ocean ore
#

Yes, it is

sinful tapir
ocean ore
#

?vanilla packs

tall stirrupBOT
ocean ore
#

Here you can find it

#

You can use hasitem if you don’t want to use the file.

sinful tapir
#

Okay i check

sinful tapir
#

For the record, I still haven't succeeded.

ocean ore
#

I would recommend you using hasitem, is simple enough to understand and works perfectly

#

Ill give you an example, in this command the players who wear full diamond armour will receive the speed effect: execute as @a[hasitem={item=diamond_helmet,location=slot.armor.head}] run execute as @a[hasitem={item=diamond_chestplate,location=slot.armor.chest}] run execute as @a[hasitem={item=diamond_leggings,location=slot.armor.legs}] run execute as @a[hasitem={item=diamond_boots,location=slot.armor.feet}] run effect @s speed 5 5 true

sinful tapir
#

Okay

ocean ore
#

In a command block, or a function

toxic crypt
#

or with the complete set

#

Type must use the full set of armor to gain the effect

#

If you can help me

#

@ocean ore

ocean ore
#

I believe there is some sort of if dimension for the execute command?

ocean ore
#

execute if entity @a in nether as @a[hasitem={item=diamond_helmet,location=slot.armor.head}] run execute as @a[hasitem={item=diamond_chestplate,location=slot.armor.chest}] run execute as @a[hasitem={item=diamond_leggings,location=slot.armor.legs}] run execute as @a[hasitem={item=diamond_boots,location=slot.armor.feet}] run effect @s speed 5 5 true

#

there you go.

toxic crypt
ocean ore
#

whole set & in nether

#

before it was just with the whole set

toxic crypt
#

I understood

ocean ore
#

good

toxic crypt
#

Thank you very much

ocean ore
#

No problem

toxic crypt
#

I will test here