Mojira Archive
MCPE-113669

/testforblocks fails with enchanting tables

The bug

When using /testforblocks to determine if two blocks are identical, enchantment tables are always considered different, even if they are the same.

How to reproduce

1. /setblock ~1 ~ ~ enchanting_table
2. /setblock ~-1 ~ ~ enchanting_table
3. /testforblocks ~1 ~ ~ ~1 ~ ~ ~-1 ~ ~
"Source and destination are not identical"

Notes

Since this only occurs with enchanting tables after the player approaches them, this is probably caused by the rotation of the book. Why the server even knows about that, let alone serializes it, is anyone's guess.

Unresolved

[Mod] tryashtar

2021-01-04, 03:12 AM

2024-12-12, 06:20 PM

4

1

Confirmed

454214

1.17.40.23 Beta - 1.21.51 Hotfix1.17.40.23 Beta, 1.17.40.21 Beta, 1.17.20.20 Beta, 1.17.0.50 Beta, 1.16.220, 1.16.210.61 Beta, 1.16.210.53 Beta, 1.17.2 Hotfix, 1.17.30, 1.17.32, 1.20.40.22 Preview, 1.20.30, 1.21.51 Hotfix

-