Skip to content

Water outside of hitboxes #554

Open
Open

Description

@goodroach

Is your feature request related to a problem? Please describe.
Currently, water / lava can flow out of a hitbox of a ship. So allow us to turn it off. This feature will prevent ships being stuck, as well as prevent certain ships from griefing other ships by dropping water or lava on them.

Describe the solution you'd like
Utilize fluidLevelChangeEvent (not sure if this is good for 1.13 but I know 1.19 is ok) to check if the fluid on event is out of the hitbox of a ship. Once the ship translates, then the water should probably disappear. Though that's going to be harder to implement.

Activity

  1. TylerS1066 commented on Oct 3, 2022

    @TylerS1066
    Contributor

    I believe the intent of BlockListerner#onBlockFromTo() is to do just this, but maybe it's not functioning?

  2. goodroach commented on Oct 3, 2022

    @goodroach
    ContributorAuthor

    Well currently, I can just drop water from my ship using a dispenser system onto other ships so I can completely disable it. The workaround for this currently is to make ships go through water, which isn't a problem for my server but for a server with some water it would mean all airships are submersible.

  3. TylerS1066 commented on Oct 28, 2022

    @TylerS1066
    Contributor

    I thought this problem was water flowing out of a craft's hitbox (like the intent of the above function), not a dispenser dispensing water outside of the hitbox. The second is much harder to detect.

  4. moved this from New to In Discussion in Issue Triageon Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions