3

HELP! ARMOR + EFFECTS!

Moldomre's Avatar Moldomre9/21/17 8:44 pm
3 emeralds 329 8
9/23/2017 12:50 pm
BoomBaddaBang's Avatar BoomBaddaBang
HEY!

Does ANYONE know how to apply status effects to pieces of armor?? ANYONE?? PLEASE HELP!!
Posted by Moldomre's Avatar
Moldomre
Level 62 : High Grandmaster Pixel Painter
111

Create an account or sign in to comment.

8

1
09/22/2017 7:13 am
Level 1 : New Miner
Mystical_gamer_1
Mystical_gamer_1's Avatar
What are you even using this for
1
09/22/2017 9:09 am
Level 62 : High Grandmaster Pixel Painter
Moldomre
Moldomre's Avatar
Using status effect-infused armors for? A map!
2
09/21/2017 10:18 pmhistory
Level 25 : Expert Mage
lightningswrath
lightningswrath's Avatar
Theres two ways. The first one is the easiest and could suit your purpose:

First way is with attribute armor: here'ss an example and analysis:

/give @p minecraft:golden_boots 1 0 {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:1.0,AttributeName:generic.movementSpeed,Name:Boots}],display:{Name:"Boots of Speed"}}

So as you see, you must use the give command
There's only 3 things you can change here:
-the armor piece (minecraft:xxx)
-the attribute name
-the display name (at end of command)

the attribute is the most important thing here, and a list of of can be found here:
https://minecraft.gamepedia.com/Attribute

As for literal potion (status) effects when you have armor on, that would require a command block that would testfor the armor being worn on the player in the armor slots, and a comparator extending from that command block to a different command block that would apply the effect on the player. To look up what the armor slot #'s are for the testfor command (which should be looping) you can probably find that on the wiki or in a video.

I hope this helps! If you're interested in commandblock and redstone stuff, be sure to check out my projects :P
1
09/23/2017 10:26 amhistory
Level 57 : Grandmaster Cyborg
Pepijn
Pepijn's Avatar
About the potion effect part. It is better to scoreboard tag the player if they wear the armor and then use /effect on the players with that tag. This is multiplayer compatible, while your method is not.

An example (in a repeating command chain):

scoreboard players tag @a[tag=SpecialArmor] remove SpecialArmor

scoreboard players tag @a[tag=!SpecialArmor] add SpecialArmor {Inventory:[{Slot:100b,id:"minecraft:diamond_helmet",tag:{display:{Name:"Special Helmet"}}}]}

effect @a[tag=SpecialArmor] minecraft:resistance 1 0
1
09/21/2017 10:25 pm
Level 48 : Master Network
JeremyMilam1
JeremyMilam1's Avatar
Comment to come back. - This is helpful, thank you.
2
09/21/2017 8:46 pm
Level 3 : Apprentice Crafter
BoomBaddaBang
BoomBaddaBang's Avatar
sheep
2
09/21/2017 9:14 pm
Level 62 : High Grandmaster Pixel Painter
Moldomre
Moldomre's Avatar
...that doesn't help, but OK!
1
09/23/2017 12:50 pm
Level 3 : Apprentice Crafter
BoomBaddaBang
BoomBaddaBang's Avatar
srry, i actually know!!!!

JK MAGIC
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome