mojira.dev
MC-59360

Levers Pop Off Non-Solid Blocks

When placing a lever on a non-solid block it can be placed on (hopper, upside-down stair, upside-down half-slab, etc.), it will appear normal. However, when updating the lever by turning it on or giving it a block update, it will pop off as an item.

I think this is a leftover bug that was caused when attempting to fix the torch pop-off bug from the previous snapshot.

Linked issues

MC-59020 Levers on a hopper disappear with a block update Resolved MC-59688 Bug lever a Hopper Resolved MC-60574 Lever breaks on upsidedown halfslab Resolved MC-61636 Lever pops off of slabs and stairs when updated Resolved MC-61801 Lever problems Resolved

Attachments

Comments 8

Confirmed. Also, I'd like to add that placing a lever on a slab (possibly other non-solid blocks?) that is adjacent to a wall causes the lever to attach to the wall instead. In the attached screenshot, I right clicked where I am aimed, and the lever appeared as shown.

It may be an incomplete change that was made. I'm not sure if you could place levers on upside down stairs before, but what is happening here is the way the game handles blocks that don't belong somewhere, but only after that block is updated. The same thing happens if you use setblock to place a midair lever. if you place a block next to it or activate the lever, it will drop a lever item. Either placing levers on upside down stairs is unintended or the levers are placeable now but being dropped as items was not properly removed/fixed.

I believe it worked in 1.7.10, as I had a creative world where a lever was on upside-down stairs.

I've attached a screenshot from before this bug with every possible lever placement. I believe it was also a bug that you couldn't place them on the side of stairs, or the bottom of stairs and slabs, but I don't think that bug was ever addressed.

Will MC-45537 be fixed along with this also?

Starwarswii

migrated

Confirmed

Minecraft 14w26c, Minecraft 14w27b, Minecraft 14w28b, Minecraft 14w30c, Minecraft 14w31a, ..., Minecraft 14w34d, Minecraft 1.8-pre1, Minecraft 1.8-pre2, Minecraft 1.8-pre3, Minecraft 1.8

Minecraft 1.8.1-pre1

Retrieved