mojira.dev
MC-1307

Corner stairs have a gap in the hitbox

When stairs are placed in a Z-shape with 2 corner stairs next to each other, placing blocks on/next to the corner stairs behaves inconsistently.

It's hard to explain in words - just look at the pictures.

Related issues

Attachments

Comments

migrated
[media][media][media][media][media][media][media][media][media]
Ali

I can confirm this, if you place stairs on this construction, they appear on another place than that you pointed at!

Mustek

This only happens if you're occupying the space where the stair is intended to go.
This does indeed only happen with stairs though.

bugi74

(Adapting part of my comment from MC-15132 to here; note, this issue affects more than just placing other stair blocks: )

The crosshair (aiming) raytracing is done with the "real" stairs, not the visuals of the stairs. The aimed stairs block can be placed in two orientations which both produce the same visual result.

Screenshot 'stairs_orientations.png' shows the two orientations: the upper placement (after adding a stairs block to the corner) shows the issue, while the lower placement will not.

First I thought this is a minor bug, but then I realized that this can be used to shoot arrows through a visually solid stairs (near the corner). I think the real bug here is that the stair's raytracer method uses only the block's data to figure the shape of the block, instead of the visual shape based also on the neighbor blocks' data. As the raytracer is used for multiple things, it might be good to improve it; doing that would automatically fix all the use cases at once.

bugi74

Affects 1.6.4.

Vaporizer

It still happens in 14w28b as you can see in video.

Vasil Bochev

Valid as of 14w32d

user-f2760

it's because you can hit trough the added corner, see attached screenshots
confirmed for 15w34d
can the title be changed so it is more clear what the issue is?

[Mod] redstonehelper

Fixed in 15w45a.

Cat

(Unassigned)

Confirmed

corner, placement, stairs

Minecraft 1.4.2, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w04a, Minecraft 1.5, ..., Minecraft 14w32d, Minecraft 1.8.8, Minecraft 15w32c, Minecraft 15w34d, Minecraft 15w42a

Minecraft 15w45a

Retrieved