Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-124820

Boats inside non full level water sink with NoGravity set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.12.2
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      Boats inside non full level water (see MC-124819) sink even if NoGravity is set to 1b.

      Code analysis

      Based on 1.12.2 decompiled using MCP 9.40

      It looks like the reason could be that when a boat has the status EntityBoat.Status.UNDER_FLOWING_WATER, the method net.minecraft.entity.item.EntityBoat.updateMotion() modifies d1 which is added to the y-motion instead of modifying d2.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                marcono1234 [Mod] Marcono1234
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: