mojira.dev
MC-1541

Beacon effect removes potion effect of the same type

The bug

There are situations where the effects from a potion are negated by a beacon's effects.

As an example, a player can drink an extended Potion of Swiftness and receive the Speed (8:00) effect.
If the player then enters a beacon's radius and obtains the Speed II (0:08) effect, it overrides the potion's effect because it is stronger (as expected). However, if the player then leaves the beacon's area of effect and loses Speed II, the player does not still retain the potion's Speed effect, which I would consider the expected behavior.
In an extreme case, a player can lose 8:00 minutes of potion effect by accidentally walking near a beacon. This also applies to the Strength potion/beacon effects.

Related issues

Comments

migrated

Can confirm in 13w05a. Speed II beacon overrides Speed I from potion when in beacon AoE and then Speed effect vanishes when you get away from beacon.

migrated

Yup agree, still a problem

migrated

This might be fixable if ambient effects did not cancel non-ambient effects, but merely 'disabled' them (so the player does not get the stacked benefit of Speed and Speed II, but the Speed is still stored on the player and its timer ticks down as normal). However, this disabling should only apply if an ambient effect (currently only beacons) is to override a non-ambient effect. Drinking a Speed II potion should still delete your Speed I status as normal (mapmakers use this trick to remove status effects from mobs - for example, it is possible to create a "splash potion of milk" which cancels effects on mobs (and players) by giving them a high-level effect for a very brief moment. I personally use the effect to give players a "splash potion of visibility", which lets players render invisible mobs visible. So basically, I hope any fix to this bug does not break splash milk potions, as there is no need for it to do so).

CubeTheThird

Is this still a concern in the current Minecraft version 1.6.4 / Launcher version 1.2.5 ? 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

13w39a - confirmed.

migrated

Sadly, it is, Ezekiel.

migrated

14w33a - not fixed

migrated

1.8.1 pre4 - valid.

migrated

Seconded. In our town there is a central nether portal that leads to a portal network. I always drink a Speed 8:00 potion at home before going to the town center, via the nether network to another part of the world. A recently added Speed II beacon in town overlaps with the portal, so the instant I go through the portal, I have no speed anymore.

The expected behavior is that the potion which I painstakingly (not really) made, is not simply removed from my status effects.

Minecraft 1.8.0

migrated

1.9 confirmed

FaRo1

Confirmed for 1.10.

FaRo1

Confirmed for 1.10.1.

migrated

Can confirm behaviour is in 1.11 as well.

migrated

Can confirm for 17w16b.

The problem here isn't beacons, it't the way potion effects in general work.

Currently, when an effect is applied to a player that is a higher level than the same effect already on said player, the lower level is removed completely, forgotten by the game.

What probably should happen is: stronger tiers of effect push their weaker variants somewhere else, where it isn't seen by the player nor does it effect them, but it can continue counting down, and be reapplied if the stronger one runs out first.

FaRo1

That's true. The bigger problem is that you don't always give yourself beacon effects on purpose. So you could take a potion, then accidentally walk into a beacon range and shortly after lose the effect. But yes, it also affects potions alone.
To everyone: Change the report or leave it?

migrated

This bug it still in the bedrock edition. MCPE-74059

migrated

slicedlime

Confirmed

Normal

Entities

beacon, effect, potion

Minecraft 1.4.2, Minecraft 1.4.7, Snapshot 13w05a, Snapshot 13w05b, Minecraft 1.5, ..., 1.15 Pre-release 5, 1.15 Pre-release 7, 1.15, 1.15.1, 1.15.1 Pre-release 1

1.15.2 Pre-Release 1

Retrieved