mojira.dev
MC-929

Sugar cane can be placed underwater

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 @unknown can be found in this comment.

Linked issues

MC-295979 Planting Sugare Cane unederwater Resolved MC-274408 Sugar Canes can be placed in and under water on ledges Resolved MC-274076 Sugarcane can be grown into water Resolved MC-273855 Sugar cane can be placed underwater Resolved MC-273681 Sugarcane can be grown underwater. 甘蔗可以在水下种植 Resolved

Attachments

Comments 47

This is how it works normally. This isn't a bug.

"When used underwater, sugar cane displaces the water, just as slabs do, leaving an air pocket."
-http://www.minecraftwiki.net/wiki/Sugar_Cane

Agreed with Tristan.

This isn't a bug. This has been like this since Alpha. At least it was like this when I started in Alpha 1.2.

Sugar Cane can be placed under water on multiplayer but not single player in the newest snapshot.

it is back in 1.8 i reported it, they took it down, even though it was updated

Ask for re-open Bug Report, since water-logged blocks are now possible and sugarcanes still do that air
Affected in minecraft snapshot 19w09a

37 more comments

@unknown, 1.19.3 Release Candidate 1 is an archived affect version and cannot be added to this report. We can only update reports with the latest snapshot or release of the game as of the current moment in time. As of the present moment, 1.19.2 and 1.19.3 Release Candidate 3 can only be added. 🙂

I've just tested this problem now in 1.19.3-rc3 and the bug is still present so I've added this as an affected version. Just thought I'd let you know. 🙂

As this has been long-standing behavior, we have decided that if we fix this, it will be as part of a design change instead of as a bug fix. If we address this issue, it will be on a different work track.

Сan confirm in 23w44a.

Is also present in 1.20.6 version

y tambien en la 25w36a/b

[media]

Viktor Logi

[Mod] markderickson

(Unassigned)

Confirmed

Normal

Block states

mojang_internal_1, placement-and-support, sugar_cane, water, waterlogged-blocks

Minecraft 1.4.2, 1.16.1, 20w28a, 20w29a, 20w30a, ..., 1.19.1, 1.19.2, 22w42a, 1.19.3 Release Candidate 3, 1.19.3

Retrieved