Mojira Archive
MCM-1582

[Breaks Existing Content] /testforblocks doesn't work with containers anymore

Partner Rank: 2

Verification builds: 1.19.30
Regression builds: 1.19.10

Summary: The /testforblocks command, which is used to check if two regions of blocks are identical, now fails when the region contains a container block.

Impact: We use this to check if the player has added the correct item to a chest in some maps, such as City Mash-up. This mechanic is now broken, preventing the map from being completed.

Repro Steps:

  1. Place two chests
  2. Put an apple in the first slot of each one
    /testforblocks <first chest> <first chest> <second chest>
    

Expected Results: 1 blocks compared

Observed Results: Source and destination are not identical

Screenshots/Videos attached: No

Notes: I attached a world for fast repro

Fixed

[Mod] tryashtar

2022-08-30, 03:12 AM

2024-03-18, 09:09 PM

2024-03-18, 09:09 PM

4

4

Future Release

-