mojira.dev
MC-1677

Retracting piston shows ghost hitbox of technical block

The hitbox of a retracting piston is postitioned incorrectly. See attached screenshot.

Just look at the piston while it is retracting and aim at the back part so the hitbox is visible.

Ideally you connect it to a redstone clock or something similar so you don't have to flip levers.

Related issues

Attachments

Comments

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

How do you reproduce it?

migrated

Just by looking at the piston while it is retracting and aiming at the back part so the hitbox is visible.

Ideally you connect it to a redstone clock or something similar so you don't have to flip levers or something.

Apart from the visually incorrect hitbox, I assume some bugs like falling through pistons while they are retracting are caused by this.

migrated

You should've added that portion to this issue's description.

kumasasa

Confirmed.

migrated

May I ask, what's the official name of "hitbox"?

migrated

I attach my own.

kumasasa
migrated

Official name? Hitbox is explained here: http://en.wikipedia.org/wiki/Hitbox
Basically for Minecraft it's the shape that affects collision and it's also visible if you move the mouse on a block. However for some blocks the visible hitbox is different to the collision hitbox (compare for example fences).

migrated

OK, thanks

Ezekiel

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

migrated

The piston hitbox can now sometimes be seen partially in front of it, offset by the width of piston head. Piston head hitbox can appear offset likewise, and it also may appear behind the piston.

migrated

Still affects 1.8 snapshots and 1.7.4

migrated

Also affects 07a

migrated

Confirmed for 08a

migrated

Confirmed for 1.7.5 and 14w10c

migrated

Confirmed in 14w18b (plus: the connection part of the front and the piston body sticks through the piston body if you create a Redstone block and piston clock)

migrated

I begin to think that it works as intended because when a piston retracts itself, you don't see its own hitbox, but the "piston_extension" hitbox. This technical block is necessary for the proper functioning of the piston, and I doubt that its hitbox can be removed. Here's a picture which illustrates my point.

migrated

Gary, that's possible, but I'm pretty sure there is no real need or reason to display the hitbox of an otherwise invisible technical box to the player. The engine is certainly capable of removing or changing the hitbox for certain blocks. So I still think this is b bug and should be fixed.

migrated

You're certainly right. Maybe should you rewrite the title?

migrated

Confirmed for 14w19a.

migrated

Confirmed for 14w20a and b.

migrated

Confirmed for 14w21b.

migrated

Confirmed for 14w25b.

kumasasa

Fixed in 14w29b

migrated

(Unassigned)

Confirmed

hitbox, piston, visual

Minecraft 1.4.1, Minecraft 1.4.2, Minecraft 1.4.3, Minecraft 1.4.6, Minecraft 1.4.7, ..., Minecraft 14w20a, Minecraft 14w20b, Minecraft 14w21a, Minecraft 14w21b, Minecraft 14w25b

Minecraft 14w29b

Retrieved