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

Boats cannot be placed under water most of the time

    XMLWordPrintable

    Details

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

      Description

      The bug

      Based on 3 Glitches with Boats- 1.12 Vanilla Survival

      Boats cannot be placed under water most of the time unless you look up while using the boat.

      How to reproduce

      Go underwater and try to place a boat by right clicking the ground around you

      Code analysis

      Based on 1.12.2 decompiled using MCP 9.40

      The root cause is that the method net.minecraft.item.ItemBoat.onItemRightClick(World, EntityPlayer, EnumHand) tries to place the boat in the water block right in front of you, which fails because you would be intersecting with the boat.

      It might be better if (in general) ray tracing under water would ignore liquids, or at least water.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  CHK: