Mojira Archive
MC-270644

custom_name= are not detected in the execute if command

can detect other NBTS, but the names, descriptions do not
The commands used are

/give @p book[custom_name='{"text":"hello"}'] 1
/execute if entity @p[nbt={SelectedItem:{id:"minecraft:book",count:1,components:{"minecraft:custom_name":'{"text":"hello"}'}}}]

Invalid

doggasaurio

2024-04-11, 05:11 PM

2024-04-12, 01:31 AM

2024-04-12, 01:30 AM

0

0

Unconfirmed

(Unassigned)

1.20.5 Pre-Release 1

-