mojira.dev
MC-174630

Secondary beacon effect remains when switching primary effect

The bug

When you have selected a primary and a secondary effect (that is not regeneration), you can keep that effect even after you switch the primary effect. This allows a beacon to provide two different primary effects.

How to reproduce

  1. Activate a beacon with a complete pyramid.

    /fill ~-4 ~-1 ~-4 ~4 ~-4 ~4 minecraft:iron_block
    /setblock ~ ~ ~ minecraft:beacon
  2. Select Speed as the primary effect and Speed 2 as the secondary effect

  3. Change the primary effect to Resistance without changing the secondary effect

  4. Wait for the Speed 2 effect to run out
    ❌ Notice that you have both Speed and Resistance. Note that the beacon interface shows that the secondary effect is deactivated.

Expected behavior

Either the beacon interface should shows that Speed 1 is active as secondary effect, OR the secondary (speed) effect should be removed when setting a different primary effect.

Related issues

Comments

Avoma

Can confirm in 20w51a.

Avoma

Can confirm in 21w06a.

Avoma

Can confirm in 1.16.5 and 21w08b.

Misode

(Unassigned)

Confirmed

Beacon

1.15.2, 20w11a, 20w18a, 20w20b, 20w22a, ..., 1.20.2, 1.20.4, 24w11a, 1.20.6, 1.21

Retrieved