Search for default data tags
Realize this isn't exactly a bug, I more see it as a possible oversight.
/clear MikeyCarter minecraft:chest 0 0 {display:{Name:Test}}
So I can test if a player has a chest in their hand named Test. But what if I want to clear the items the other way. Clear all items using the default name? Another place this would be useful... clear all tools without enchantments. I can clear the ones with enchantments... but can't clear the un-enchanted items.
None of these work.
/clear MikeyCarter minecraft:chest 0 0 {display:{Name:}}
/clear MikeyCarter minecraft:chest 0 0 {display:{Name:''}}
/clear MikeyCarter minecraft:chest 0 0 {display:{Name:""}}
/clear MikeyCarter minecraft:chest 0 0 {display:{Name:minecraft:chest}}
/clear MikeyCarter minecraft:chest 0 0 {display:{Name:Chest}}
What's the default name?
2015-07-08, 03:29 PM
2015-07-23, 04:58 AM
2015-07-23, 04:58 AM
0
1
-