You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The attack boxes of some classes of entities (currently projectiles as far as I know) are rendered at double the coordinates of the feet of the projectile, i.e. the position is dilated from the centre of the world. For example, a projectile at 0.0 0.0 0.0 is unaffected, while a projectile at 1.0 2.0 3.0 has its attack box rendering as if the projectile was at 2.0 4.0 6.0. The size of the attack box is unaffected by this dilation.
To Reproduce
Fire an arrow
Run the command /debugentity @e[type=arrow] add attackbox
Look at the position that is double the arrow's position.
Expected behavior
The attack box of projectiles is attached to the projectile, like how the collision box is.
Describe the bug
The attack boxes of some classes of entities (currently projectiles as far as I know) are rendered at double the coordinates of the feet of the projectile, i.e. the position is dilated from the centre of the world. For example, a projectile at 0.0 0.0 0.0 is unaffected, while a projectile at 1.0 2.0 3.0 has its attack box rendering as if the projectile was at 2.0 4.0 6.0. The size of the attack box is unaffected by this dilation.
To Reproduce
/debugentity @e[type=arrow] add attackboxExpected behavior
The attack box of projectiles is attached to the projectile, like how the collision box is.
Screenshots
2026-02-21.16-19-18.mp4
Canopy Version
1.5.4
Minecraft Version
26.1
Server Type
Singleplayer
Additional context
No response