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

Sugar cane can be placed underwater

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 1.4.2, 1.16.1, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w15a, 21w16a, 21w17a, 21w20a, 1.17 Pre-release 1, 1.17 Pre-release 2, 1.17, 1.17.1 Pre-release 1, 1.17.1 Release Candidate 1, 1.17.1 Release Candidate 2, 1.17.1, 21w37a, 21w39a, 21w41a, 21w42a, 1.18 Pre-release 2, 1.18 Pre-release 5, 1.18 Pre-release 6, 1.18 Pre-release 7, 1.18, 1.18.1, 22w06a, 1.18.2, 22w14a, 22w16b, 1.19 Pre-release 1, 1.19 Pre-release 3, 1.19, 1.19.1 Release Candidate 1, 1.19.1 Pre-release 5, 1.19.1, 1.19.2, 22w42a, 1.19.3 Release Candidate 3, 1.19.3
    • Confirmed
    • Block states
    • Normal

      The Bug:

      Sugar cane can be placed underwater.

      If there is water adjacent to and below the desired location of placement, sugar cane can be placed. This of course results in sugar cane being allowed to be placed underwater.

      Steps to Reproduce:

      1. Obtain some sugar cane and locate an open body of water.
      2. Attempt to place sugar cane on any block underwater that has water adjacent to and below it.
      3. Take note as to whether or not sugar cane can be placed underwater.

      Observed Behavior:

      Sugar cane can be placed underwater.

      Expected Behavior:

      Sugar cane would not be able to be placed underwater.

      Code Analysis:

      Code analysis by Avoma can be found in this comment.

        1. 2012-10-27_19.10.13.png
          341 kB
          Viktor Logi
        2. 2012-10-27_19.10.22.png
          232 kB
          Viktor Logi
        3. 2021-04-04_22.37.57.png
          934 kB
          Miguel Flores
        4. 2021-04-04_22.49.16.png
          1.03 MB
          Miguel Flores
        5. 2021-05-12_14.54.38.png
          1.01 MB
          [Mod] Avoma
        6. 2021-06-17_16.52.17.png
          1.48 MB
          Kaiserschmarren
        7. 2021-06-17_17.01.28.png
          1.49 MB
          Kaiserschmarren
        8. image-2021-06-08-21-22-02-582.png
          1.03 MB
          Domingo Diaz
        9. image-2021-10-17-18-15-53-748.png
          84 kB
          jia
        10. image-2021-10-17-18-16-01-737.png
          85 kB
          jia
        11. MC-929.mp4
          3.76 MB
          [Mod] Avoma
        12. Screenshot (69).png
          1.14 MB
          Shawn Jensen

            Unassigned Unassigned
            markderickson [Mod] markderickson
            Votes:
            63 Vote for this issue
            Watchers:
            29 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: