mojira.dev
MC-3667

Light-emitting blocks don't emit light while being moved by a piston, causing flickering

The bug

Upon pushing or pulling a light-emitting block (see below for affected blocks), the light flickers off while it is moving. This can cause performance issues due to excessive lighting updates, as well as just be undesirable in general.

How to reproduce

  1. Construct the contraption shown in this video if testing redstone lamps, or the simple contraption shown in this screenshot if testing Shroomlights or any other blocks

  2. Notice how the redstone lamp flickers every time it is pushed by the piston

  3. Replace the redstone lamp with any other light-emitting block from the list below and notice how this same behaviour is present

Affected blocks

  • Redstone Lamp (lit)

  • Shroomlight

  • Sea Lantern

  • Glowstone

  • Redstone Ore (lit)

  • Magma Block

Original description

Using the setup in the screenshot, the lamp will flicker when the lever is pulled.

Glowstone sometimes exhibits this behavior.

Linked issues

Attachments

Comments 18

Can you post said screenshot?

Delivered.

Don't know what exactly happened, I uploaded it already.

Also happens with glowstone.

Updated.

Confirmed. The glowstone and the lamp don't appear to flicker, but you can see that the light flickers if you set the time to midnight.

8 more comments

While being moved by pistons, blocks do not emit light.

[Mod] markderickson

Hi! I'd like to request ownership of this report.

The ticket is yours now

[Mod] markderickson

Thanks!

FireHunterX

[Mod] markderickson

(Unassigned)

Confirmed

Low

Lighting

Minecraft 1.4.5, Snapshot 12w50a, Minecraft 1.4.6, Minecraft 1.4.7, Minecraft 1.5, Minecraft 1.8.1, Minecraft 1.8.3, 1.16.3

Retrieved