SelectedItem tag doesn't support Custom Names?

SelectedItem tag doesn't support Custom Names? - Person in Black Pants and Black Shoes Sitting on Brown Wooden Chair

I have a 2 tick repeater clock hooked up to a command block with this command in it...

testfor @p {SelectedItem:{id:minecraft:tripwire_hook,display:{Name:"Key to a House"}}}

When I hold the key, the comparator doesn't go on, and the door doesn't open.






Pictures about "SelectedItem tag doesn't support Custom Names?"

SelectedItem tag doesn't support Custom Names? - Young woman in casual clothes helping senior man in formal shirt with paying credit card in Internet using laptop while sitting at table
SelectedItem tag doesn't support Custom Names? - Woman in Black Blazer Sitting on Chair
SelectedItem tag doesn't support Custom Names? - White visiting card with empty space for data placed on light pink background





Come risolvere l'errore net:ERR ABORTED di Tag Assistant in Google Tag Manager




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: cottonbro, Andrea Piacquadio, MART PRODUCTION, Angela Roma