EDIT: if you simply want to detect if a player is wearing it, replace as with if entity somewhat old thread but if I’m trying to give the player an effect when they have the full diamond set, how would I remove it when they don’t have all of the pieces on?
How to test if player is wearing specific items?
For example, I want to make it so when you wear a player head that looks like a spider head it would give you night vision. Is there some sort of command that tests if you’re wearing a certain item or a certain item with a specific name? Create an account or sign in to comment.
How can I test for a player wearing an iron helmet?
How can I test for a player that is wearing an iron helmet named “test1” and an iron chestplate named “test2” in Minecraft Version 1.12? Although you can’t set player data with commands, you can test for it, in your example it’s like this: Here is a solution that adds a scoreboard tag to any player wearing both of those custom items.
How do you give players custom armour / shirt?
local Shirt = character:FindFirstChild (“Shirt”)–This make sure if the Player’s Character has a Shirt in the first place. Since you know how to change the Player’s Shirt, you can now do the same thing for the Pants or even T-shirt. Now for attaching the “Armor” to the Player’s Character.
How does the team command work in Minecraft?
Death messages will always appear in the Chat window for the players on that team. This is the default. nametagOption determines how nametags will be displayed for players on the team. It can be one of the following values: Nametags will always show above the players on that team. This is the default.
How do you create a new team in Minecraft?
Type the command in the chat window. As you are typing, you will see the command appear in the lower left corner of the game window. Press the Enter key to run the command. Once the cheat has been entered, the new team will be created in the Minecraft world.
How to execute at a player holding a specific item in?
First off, put into the chat this command: Then, attach these commands to a repeating/chain command block string (in order) /scoreboard players set @a holding.gun 2 {SelectedItem: {id:snowball,tag: { put any other NBT tags in here }}}
Can a monster wear a suit of animated armor?
A battered suit of armor made for a monster is rarely usable by someone else, for instance. So it’s the DM’s call here. Furthermore, upon its “death” a suit of Animated Armor becuse a suit of Inanimate Armor, aka normal armor. So you won’t be wearing a suit of Animated Armor per se.