mojira.dev
MC-22395

You can place block inside yourself by placing blocks next to fences

Basically, you can place block inside your head by aiming fences. Fences are the only thing it will affect. It will not allow you to place blocks next to torches or ladders. You will suffocate yourself.

What I expected to happen?
You cannot place a block there.
What actually happened?
I suffocate from the block I placed.

Reproduce
1. Place 2 fences on top of each other or a fence on top of a block.
2. Change your gamemode to Survival while holding a block
3. Walk next to the fence
4. Aim the side of the fence that facing you
5. Right click to place the block

You will suffocate and will not be pushed away immediately.
This is definitely not a feature , since placing blocks inside yourself does not make sense.
My opinion is: when placing blocks with facing fences, you should detect if the player will be inside the block.
In the screenshot, both the left and right setup will have this issue.

Linked issues

MC-19591 head in a fence Resolved MC-19911 When placing blocks on/next to fences, it places them even if you are standing there Resolved MC-20899 Block adjacent to fence placing bug Resolved MC-21742 Wood fence creative placing glitch Resolved MC-22388 I Don't Know How To Explain This Bug Resolved

Attachments

Comments 3

Confirmed.

Relates to or duplicates MC-21433.
Ignore the resolution on that bug, it is different.
Also, check my comment on it, I know the root cause and have made a fix.

Still in 1.7.2.

arvin leung

(Unassigned)

Confirmed

block, fence, place

Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 13w38a, Minecraft 13w38b, Minecraft 13w38c

Minecraft 14w05b

Retrieved