Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diagonal chutes have bugged hitbox #5025

Open
unofficial-fish opened this issue Jun 27, 2023 · 2 comments
Open

Diagonal chutes have bugged hitbox #5025

unofficial-fish opened this issue Jun 27, 2023 · 2 comments
Labels
type: bug Issue where something isn't working

Comments

@unofficial-fish
Copy link

Describe the Bug

Diagonal chutes have this diamond-shaped hitbox when you hover over them:
2023-06-27_15 39 48
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")
2023-06-27_15 40 06

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

@unofficial-fish unofficial-fish added the type: bug Issue where something isn't working label Jun 27, 2023
@drwoops
Copy link
Contributor

drwoops commented Jun 27, 2023

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)

@Lgmrszd
Copy link

Lgmrszd commented Jul 19, 2023

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...):
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Issue where something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants