I'm currently building a structure for a project, where specific items, if located in the correct inventory slot, add an effect to a weapon like a bow or sword. To determine, whose items get buffed, I want to use tags.
Here's the current state of my command to remove the tag "kek" from everyone, who doesn't have a dragon egg in the upper right corner's slot:
To download the other ones you need to make a folder in the versions folder for minecraft and put the client and JSON file for the versions in there. They all need to be named the same aside from file extensions. Once you do that, you will be able to choose that version when making a new profile with the minecraft launcher.
I'm currently building a structure for a project, where specific items, if located in the correct inventory slot, add an effect to a weapon like a bow or sword. To determine, whose items get buffed, I want to use tags.
Here's the current state of my command to remove the tag "kek" from everyone, who doesn't have a dragon egg in the upper right corner's slot:
/tag @a[nbt={Inventory:[{id:"!minecraft:dragon_egg",Slot:17b}]}]] remove kek
Can you please help me?
/execute as @a unless entity @s[nbt={Inventory:[{id:"minecraft:dragon_egg",Slot:17b}]}] run tag @s remove kek
The "unless" feature in /execute is particularly useful in this situation.
Remember those versions that minecraft pranked us with? Specifically:
Those are still downloadable! Watch this video for 2.0:
https://www.youtube.com/watch?v=PQdu9LKAdIU
To download the other ones you need to make a folder in the versions folder for minecraft and put the client and JSON file for the versions in there. They all need to be named the same aside from file extensions. Once you do that, you will be able to choose that version when making a new profile with the minecraft launcher.
15w14a is on this link:
http://minecraft.gamepedia.com/15w14a
1.RV-Pre1 is here:
http://minecraft.gamepedia.com/1.RV-Pre1
Minecraft 3D is here:
https://minecraft.gamepedia.com/Java_Edition_3D_Shareware_v1.34
You just misplaced the not operator (!). Use this instead:
Thank you, now it works!