-
Bug
-
Resolution: Duplicate
-
None
-
Minecraft 1.8.1, Minecraft 1.8.3, Minecraft 1.8.4
-
None
-
Unconfirmed
You are unable to test for data tags from items that you receive without /give. As an example, I have tested item enchantments. If you use the command
/scoreboard players set @a[score_pickaxe_min=0,score_pickaxe=0] pickaxe 1 {Inventory:[{id:minecraft:diamond_pickaxe,tag:{ench:[{id:32,lvl:1}]}}]}
, it will set player's score of pickaxe to 1 if it isn't already 1 or higher and if the player is holding a diamond pickaxe in their inventory with the enchantment efficiency 1. This command will output the scoreboard command if I /give myself the diamond pickaxe with the enchantment id and level, but if I enchant a diamond pickaxe inside of the enchantment table and place it in my inventory, it will not register the fact that you have the specified data tags.
- duplicates
-
MC-85345 SelectedItem not working with Enchantments Proproperly
- Resolved