1

Clear Certain Armor Slot?

Jakers1114's Avatar Jakers111411/5/15 9:49 pm
1 emeralds 221 4
11/5/2015 10:59 pm
DoYouEvenTriangle's Avatar DoYouEvenTriangle
Hello! I am currently making a map, where it runs a command when players put on a pair of chain boots. Here is the command I am using: /scoreboard players set @a armor 1 {Inventory:[{Slot:103b,tag:{display:{Name:"Armor_Name_Here"}}}]
Then I have a "Testfor" redstone clock. Is there anyway to remove the pair of chain boots automatically? I want it to be cleared, I don't want it going back to them.
Posted by Jakers1114's Avatar
Jakers1114
Level 1 : New Crafter
0

Create an account or sign in to comment.

4

1
11/05/2015 10:59 pm
Level 19 : Journeyman Engineer
DoYouEvenTriangle
DoYouEvenTriangle's Avatar
Yea no problem, but if you press tab on any command it should help for example.
/replaceitem tab tab tab tab

the list of slots would be.. feet, legs, chest, head
1
11/05/2015 10:41 pm
Level 1 : New Crafter
Jakers1114
Jakers1114's Avatar
Hey! Thanks! How would I do this for other slots? For example, for leggings would it be leggings, pants, legs, or what? Just wondering, since it is feet not boots.
1
11/05/2015 10:08 pm
Level 19 : Journeyman Engineer
DoYouEvenTriangle
DoYouEvenTriangle's Avatar
Repeating command block /replaceitem entity @a[score_armor_min=1] slot.armor.feet air
1
11/05/2015 10:03 pm
Level 63 : High Grandmaster Hero
Runninlikcraz
Runninlikcraz's Avatar
I'm not sure if you can clear certain spots in the inventory, but you can do /clear [player] chainmail_boots to clear all chainmall boots in your inventory. It will stop players from wearing chain boots.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome