mojira.dev
MCPE-219582

/testforblock command ignores declared block states

When I run the testforblock command to see if a vault block is in the unlocking state, it returns the block every time.

Steps to reproduce (see video):

  1. Place a vault block in your world.

  2. Copy its coordinates.

  3. Then run this command /testforblock x y z vault["vault_state"="unlocking"] don’t forget to replace the xyz coordinates with the ones you copied.

Expected result:

Returns an error saying that the game can’t find that block at that location.

Actual result:

The game says: Successfully found the block at: x y z

Linked issues

Attachments

Comments 1

This issue is being tracked at MCPE-194284.

TwigYT

(Unassigned)

Unconfirmed

Windows

11 24H2

1.21.80

Retrieved