Blocks with special collision behavior have wider ranges than before in 1.21.1 when standing up against these blocks.
Affected Blocks:
(Comment for any I missed)
Honey block
Fire
Powder snow
Nether portals
Cauldrons
Bubble Columns
Cobwebs
Soul Fire
End Gateways
Sweet Berries
Big Dripleaf
Steps to Reproduce:
Recreate this simple setup:
[media]
Place down any of the affected blocks on top of the red wool
Stand half against the white concrete, and half against the affected block
[media]
Expected Result:
None of the blocks would have their respective behaviors occur and affect the player, as this did not occur in 1.21.1, and the player is not actually inside of the block.
Observed Behavior:
The blocks will output their behaviors onto the player when standing against the concrete and affected block.
This also is not directional, as using an example where the player isn't standing next to a block, but above it, the same issue occurs:
[media]
Screenshots/Videos:
[media]Linked issues
is duplicated by 24
relates to 2
Attachments
Comments 10
And precisely, these blocks' detection range is 0.00001001192067636 blocks wider than a full block on each side.
Can confirm, also affect water columns with soul sand when the player stand next to it.
Edit : it seem to affect the player even if he stands above and to the side, see the attached videos.
[media][media]
Can you pin my comment ?
Here is a full list of affected blocks:
[media][media]
This issue lies within the method that collects the block positions for collision. Previously entity hitbox was contracted by 10^-7 blocks so that if the entity intersected the block space of an interactable block by a tiny bit it didnt include it in the collision calculation, and since 24w33a the entity hitbox gets infltated instead which causes the issue
Old code:
[media]
New code:
[media]
This also affects:
Cobwebs
Soul Fire
End Gateways