TridentMC / DavincisVessels

A minecraft mod that lets you fly a house. Maintained by darkevilmac.
Apache License 2.0
86 stars 32 forks source link

Locked out of my ship by the hitbox #314

Open henrytm82 opened 4 years ago

henrytm82 commented 4 years ago

I made a simple airship with a helm in an interior space. The helm is at the front end enclosed by glass, the rear is a large open hole (as the build was still a work in progress) and the middle of the ship (whole thing is a tube shape) has a passenger seat. The back of the ship has stairs leading up to the open hole in the rear. I assembled the ship to test, and upon dismounting, I am now unable to get back to the helm to disassemble or pilot the ship. The hitbox is blocking me from getting up the stairs to come into the back, and right-clicking the ship places me in the passenger seat instead of the helm. Right-clicking the helm from the passenger seat also does not work. How can I disassemble the ship from the passenger seat or from outside the ship?

henrytm82 commented 4 years ago

It seems to be treating the entire interior of the ship as though it's a solid tube. I was able to finally get out of the passenger seat by mounting/dismounting in creative mode, which had me clipping through the ship's hitbox, Right-clicking on the helm, even with my face practically inside of the wheel, still sent me to the passenger seat, so it's definitely an issue with the hitbox of an interior space covering the wheel. A lucky click (after a dozen times getting stuck in the passenger seat) finally got me to the helm so I could disassemble. Part of the issue is also that because of the way the hitbox is generated, when you dismount, you dismount from the entire ship, no matter how large it is. You are pushed off the side of the entire thing to fall to the ground instead of just detaching from the wheel. You can't get off the wheel and walk through the interior space of a ship as you are teleported outside that space upon dismounting. This same thing occurs, at least for me, on open-air ships. Build a flat platform with balloons above it, and the hitbox covers the entire thing, so that when you dismount, you're tossed off the side of the platform instead of being allowed to continue walking around the top of it.

Something needs to be done about how it handles interior spaces and how the hitbox is generated, because it makes ships impossible to use.