Diagonal chutes have bugged hitbox
unofficial-fish opened this issue ยท 2 comments
Describe the Bug
Diagonal chutes have this diamond-shaped hitbox when you hover over them:
However, only the top half of this two-block-occupying hitbox actually is solid. The bottom half can have blocks placed in it and entities can pass through. This applies to blocks in the middle of the diagonal line, but also to the ones at the end ("shape: intersection")
Reproduction Steps
Place diagonal line of chutes, and fly around under them pressing your head against them.
Expected Result
Bottom half of chute to be solid and match up with outline
Screenshots and Videos
No response
Crash Report or Log
No response
Operating System
Windows 10
Mod Version
0.5.1b
Minecraft Version
1.19.2
Forge Version
43.2.5
Other Mods
No response
Additional Context
No response
The hitbox is for player interaction. There is a separate collision mask for determining collisions with entities. for exemple, an open fence gate has no collision mask but has a hitbox (otherwise you could not close or break it)
The bottom half can have blocks placed in it because, as you noted, there is no actual block in here. The only proper way to make that work would be making diagonal chutes consist of two blocks, turning it into a multiblock (like Door or Bed, or Big Waterwheels). While definitely possible (Belts are multiblocks that handle items as well), I think that would take more effort for what is essentially a cosmetic feature. Personally, I like it the current way, because it allows placing chutes "inside" a slope of blocks (though that sometimes comes with a visual bug...):