mojira.dev
MCPE-19214

Door and Trapdoor bounding boxes are 0.005 of a block too thin

So, this is probably one of the most ludicrous bug reports you've seen, right? Door bounding boxes are off by 0.005 of a block.

In PC (and according to the wiki) they are 0.1875 blocks thick (3/16). In PE, they are 0.1825 blocks thick. Maybe a typo, (probably) affects nothing but custom server movement anti-cheats causing the odd glitch when walking through doors.

Reference: http://minecraft.gamepedia.com/Door#Barrier

EDIT: This also affects trapdoor bounding boxes.

This information was obtained using IDA.

Linked issues

Attachments

Comments 20

Confirmed using BlockLauncher, printing out the AABB

Confirmed for Trapdoors

Problems caused:
Glich off from trapdoors when sneaking on a corner
Items sometimes glich through when forced into the corner (e.g. with water)

If you look very, very carefully here, you can see that a tiny sliver of the next line of pixels is showing under the door.

Better close-up shot where it joins the wall

Fixed a mistake in the description (0.1825 is not 3/15, it only simplifies to 73/400)

10 more comments

Can still reproduce in 1.16.201.

This bug is extremely annoying. I use trapdoors to perform entity alignments, and because 73/400 cannot be represented in binary, my aligner is locational.

odigiman

(Unassigned)

124788

Confirmed

Phone - Android - LG Other (Specify in description)

bounding-box, collision-box, door

1.17.20.21 Beta, 1.16.210.61 Beta, 1.16.0.68 Beta, 1.0.0.7, 1.0.5.54, , 1.19.41, 1.21.21 Hotfix, 1.21.22 Hotfix, 1.21.51 Hotfix, 26.13

Retrieved