The bug
Be on the surface of water, look down, and right-click with a lily pad. The lily pad will be placed intersecting the player, which is not possible with normal solid blocks.
It is easiest to test this by standing in one-block-high water, but it works no matter the depth. Both Survival and Creative mode.
Also, if you stand on the edge of water (half on a solid block, half on water) and place a lily pad, then move out towards the lily pad, you will get the jumpy "stuck in midair" effect. Presumably this is due to client/server disagreement on whether you're on top of or falling through the lily pad.
As of 19w14a, placing a lily pad within yourself will also trigger the crawling animation.
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
Placing lily pad on side of block
The class BlockLilyPad
does not override the method net.minecraft.block.BlockBush.getCollisionBoundingBox(IBlockState, IBlockAccess, BlockPos)
which returns no collision box.
Placing lilypad without looking at block
The method net.minecraft.item.ItemLilyPad.onItemRightClick(World, EntityPlayer, EnumHand)
does not test at all if the block can be placed there or if entities (method World.mayPlace(Block, BlockPos, boolean, EnumFacing, Entity)
).
Related issues
is duplicated by
relates to
testing discovered
Attachments
Comments


Separated this ticket from MC-2208

Confirmed.

Is this still a concern in the latest Minecraft version 14w30c? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Confirmed for 14w30c

Confirmed for 14w31a

Confirmed for 1.8.9 and 15w51b.

Confirmed for 16w02a.

Confirmed for 1.9-pre3

Confirmed for 1.9.0

Confirmed for 1.9.1-pre3.

Confirmed for 1.9.3-pre3.

Confirmed for 1.9.4.

Confirmed for 16w20a.

Confirmed for 16w21a.

Confirmed for 16w21b.

Confirmed for 1.10-pre1.

Confirmed for 1.10-pre2.

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Confirmed for 1.10.

When unreleased versions shouldn't be marked as affected (for obvious reasons), why is it possible at all?

It's a limitation with the software we use to manage tickets

Confirmed for 1.10.1.

Confirmed for 1.12.1

Affects 18w11a

Affects 18w14a

Affects 18w14b

Affects 18w15a

Affects Bedrock Edition, see MCPE-32638

Affects 18w16a

Affects 18w19a

Affects 18w20a

Affects 18w20b. Possibly intentional via resolution of MCPE-32638.

Affects 18w20c

Affects 18w21a

Affects 18w22a

Affects 18w22b

Affects 18w22c

Affects 1.13-pre1

Affects 1.13-pre2

Affects 1.13-pre3

Affects 1.13-pre4

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Confirmed for 18w50a

Confirmed for 19w03b

Confirmed for 19w03c

Comfirmed for 19w04a

Confirmed for 19w04b

Confirmed for 19w06a

Confirmed for 19w09a

Confirmed for 19w11b

Confirmed for 19w12b

Confirmed for 19w13b

Although still affecting 19w14a, as you attempt to place a lily pad intersecting yourself, you get pushed underneath the lily pad, immediately in the swimming position. Similar to what is described in MC-141824.

...hence why there's a testing discovered link for MC-147266.

Due to the new mechanics, I don't think I can reproduce this anymore. If you're supposed to be pushed underneath the lily pad when you place it in yourself.

Being able to place blocks with hitboxes inside yourself is always a bug (except for scaffolding).
Confirmed for 1.14-pre1.

Can you share reproduction steps Fabian?

The same as always: Punch a 1×1×1 hole into the ground, put water in it, stand in it, place lily pad on the water.

When I try that, I get pushed below the lily pad "block" and will thereby not be intersecting anymore. Hence why I don't know how to reproduce this.

Being pushed under might be intended, it might not, but you still placed the block where you were standing. If that was intended, you might as well place a full block on your head level and get pushed under.

Confirmed for 1.14 pre-3

Confirmed for 1.14 pre-5

Confirmed for 1.14

Confirmed for 1.14.1 pre-1

Confirmed for 1.14.1 pre-2

Confirmed for 1.14.1

As of 1.15.2, sneaking on the edge of a shore still allows for unresolved placement of an intersecting lily pad.
The resulting state exhibits some incongruencies:
For the acting client, their self is shown as standing, regardless of input, while their BB remains in a sneaking state.
For peers, both their model and BB are stuck sneaking. Following a server restart, this switches to standing.
Regardless, sneaking input by the actor is reflected in their nametag opacity.
[media]
Confirmed fixed in 20w22a