mojira.dev
MC-206109

Repeating command blocks with giving the blindness effect causes flashing lights

If you were to put /effect give @p minecraft:blindness 1 0 true into an always active repeating command block, it will result in rapidly flickering screen. Since the effect is still active for a short period of time right after the blindness fades away, it will result in the rapidly flashing screen shown in the video link below.

While I am not epileptic myself, it still hurt my eyes to look at the flickering screen for more than a few seconds. So, do not watch the video if you are prone to epileptic seizures.

[media]

A possible solution maybe is that the blindness effect only fades away after the blindness effect is no longer active on the player, instead when there is less than a second left.

The problem is amplified with night vision. https://m.youtube.com/watch?v=oKHpJiawRhs&feature=youtu.be

Linked issues

Attachments

Comments 8

What's your graphics card and graphics settings?

Violine: The graphics card is an AMD Radeon (TM) RX Vega 10 Graphics. And I'm not much a tech spechs wiz, but this is the graphic settings right?

[media]

 

Vladimir: The blinking still occurs even at a lower level amplifier than 6 so that isn't what is causing the issue. And honestly, the flickering is even worse at an amplifier of 1.

 

 

I am able to reproduce this issue in 1.18.1. As stated by @unknown in MC-245937, no photo-sensitivity issues should be present in the game.

No photo-sensitivity issues are present in the game

You can use the following command to reproduce this.

/setblock ~ ~ ~ minecraft:repeating_command_block{Command:"/effect give @p minecraft:blindness 1 5 true",auto:1b}

Can confirm in 1.18.2.

This flickering effect is still present in 1.19 (Pre-release 2) for both blindness and night vision. The flickering effect worsens if both repeating command blocks giving the one second effect are active.

Here is a video demonstrating it occuring in Overworld (Night), Underwater, Cave, Nether, and End.
(Once again Epilepsy Warning)

Bug still present in 1.20 snapshot

To avoid MC-10755, there are alternatives for reproducing:

/effect give @p minecraft:blindness 1 0 true

or

/effect give @p minecraft:night_vision 10 0 true

This bug is still present in 1.21 pre-release 1

CrispyMiner

(Unassigned)

Confirmed

Gameplay

Important

Accessibility, Rendering

20w46a, 1.18.1, 1.18.2, 1.19 Pre-release 2, 1.19.4, ..., 1.20.3 Pre-Release 3, 1.20.4, 1.20.6, 1.21 Pre-Release 1, 1.21.4

Retrieved