Mojira Archive
MC-151628

"/execute unless data block" never runs the command when the block doesn't have the NBT element

Running

/execute if data block ~ ~ ~ Items run say ChestHere

will correctly print ChestHere when standing on a chest. (And not, when you're not doing so.)

However

/execute unless data block ~ ~ ~ Items run say NoChestHere

will not say NoChestHere when not standing on a chest.

Unresolved

Josh Miller

2019-05-12, 04:57 PM

2023-11-10, 04:03 PM

2

2

Confirmed

Commands

Minecraft 1.14, 1.16.4, 1.20.2

-