ClassiCube icon indicating copy to clipboard operation
ClassiCube copied to clipboard

Weird lava hitbox

Open RealKalsep opened this issue 3 years ago • 6 comments

The lava hitbox has wrong position. Normally not noticeable, but when you want to jump next to the corner of lava (surrounded by other blocks), you will swim instead.

Example on video: https://www.youtube.com/watch?v=-vQ6I_wHEFo Notice that the hitbox corner is seen outside of the glass border. It's only on this single side.

RealKalsep avatar Oct 05 '21 15:10 RealKalsep

The original Minecraft classic 0.30 client behaved this way, and the matching behavior in ClassiCube client is intentional.

Goodlyay avatar Oct 05 '21 15:10 Goodlyay

Ok. But could some option exist to turn that off, since it's sometimes annoying when you don't expect it? Not saying that it has to be added.

ghost avatar Oct 05 '21 16:10 ghost

Using BlockDefinitions you can make your own faux water block that uses collide "1" (Swim-through), which does not implement the offset hitbox.

On MCGalaxy, this should be as simple as: /lb copy 9, then /lb edit [ID that 9 was copied to] collide 1

Goodlyay avatar Oct 05 '21 16:10 Goodlyay

Should be closed. Solution discussed, no implementation needed.

sadkris avatar Nov 05 '21 13:11 sadkris

Should be closed. Solution discussed, no implementation needed.

I would leave that up to UnknownShadow200.

One thing I didn't mention is that you technically cannot create a perfect copy of water or lava without the offset hitbox, because "swim-through" collide has slightly different physics behavior than normal water. Therefore, RealKalsep's suggestion of being able to "turn off" the offset is not completely possible.

Goodlyay avatar Nov 05 '21 13:11 Goodlyay

Thank you for the explanation. I will try to avoid making similar mistakes from now on. Didn't find this on the issue closed and open list before, and never played the original classic as much as ClassiCube, so that's why I created this issue page.

ghost avatar Nov 06 '21 08:11 ghost