[MC-2440] Beacons keep higher level effects when partially destroyed Created: 07/Nov/12  Updated: 17/Dec/24

Status: Reopened
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.3, Minecraft 1.7.5, Minecraft 14w11b, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 15w44b, Minecraft 15w45a, Minecraft 1.10.2, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 17w06a, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w11a, 20w20a, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 21w05a, 21w05b, 21w06a, 21w07a, 21w08a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a, 1.17.1, 1.20.1 Release Candidate 1, 1.20.1, 1.20.2, 23w45a, 23w46a, 1.20.3 Pre-Release 1, 1.20.3 Pre-Release 2, 1.20.3, 1.20.4 Release Candidate 1, 1.20.4, 24w11a, 1.20.5, 1.20.6, 1.21, 1.21.3, 1.21.4
Fix Version/s: None

Type: Bug
Reporter: [Mod] turbo Assignee: Unassigned
Resolution: Unresolved Votes: 24
Labels: beacon, boost, effect, jump, level

Attachments: PNG File 2014-04-01_23.22.32.png     File MC-2440.mp4    
Issue Links:
Duplicate
is duplicated by MC-37972 Beacons Don't Properly Update Resolved
is duplicated by MC-183790 Beacon can still give tier 2 effects ... Resolved
is duplicated by MC-234758 if you build a beacon and you break i... Resolved
is duplicated by MC-264938 Primary beacon effect is still applie... Resolved
Relates
relates to MC-174630 Secondary beacon effect remains when ... Open
relates to MC-1429 When beacon power level is changed, t... Resolved
CHK:
Confirmation Status: Confirmed
Category:
Beacon
Mojang Priority: Low
Area: Gameplay

 Description   

The bug

When you set an effect in a beacon that requires more than 1 layer, and then break the layers so that it shouldn’t be able to give the effect anymore, it will still give you the effect.

How to reproduce

  1. Build a 2 layers tall beacon pyramid
  2. Set the resistance effect or the jump boost effect
  3. Break one block of the lowest layer
    It will still give you the effect even though the pyramid only has one full layer.

Code analysis

Code analysis by marcono1234 can be found in this comment.


Original Description:
I can create a four-tier pyramid, then set the beacon to provide the primary power of the strength boost and the secondary power of regeneration, and then break the fourth, third, and second levels of the pyramid, and the primary power of strength will continue to refresh, although only out to 20 blocks, and the secondary power will not refresh.

If I then repair the pyramid's second layer, the range of the primary power will extend out to 30 blocks. Repairing the third layer will increase the range to 40 blocks. And repairing the fourth layer will return the beacon to full functionality. If I break the first level(leaving the beacon block itself intact), then the primary power will stop, but if I then restore only the first level of the pyramid, the beacon will continue to provide the primary power of strength out to 20 blocks.

Ultimately, the beacon is properly checking to see if it should apply the secondary power, and how far a range it should apply primary or secondary powers out to, but is not checking to see if the TYPE of primary power it is set to provide is still supported by the appropriate number of layers required to initially select it.



 Comments   
Comment by Mac Rat [ 11/Jun/23 ]

Affects 1.20.1 Release Candidate 1

Comment by Brain81505 [ 01/Feb/23 ]

Can confirm in 23w06a and 1.19.3

Comment by CallMeChris [ 05/Nov/21 ]

Requesting ownership of this issue since the owners account was deleted.

Comment by [Mod] Avoma [ 18/Aug/21 ]

Can confirm in 1.17.1.

Comment by bugsbugsbugs [ 18/Oct/20 ]

I’d like to request ownership of this report. The original reporter hasn’t been active since March 2014 and I’ll continue updating the ticket.

Comment by [Helper] pine1needle [ 10/Feb/20 ]

20w06a is affected.

Comment by [Helper] pine1needle [ 17/Jan/20 ]

1.15.2 Pre-Release 2 is affected.

Comment by Oval [ 19/Sep/18 ]

Confirmed for 1.13.1.

Comment by Marcono1234 [ 29/May/16 ]

Please link to this comment in the description

The following is based on a decompiled version of Minecraft 1.9 using MCP 9.24 beta.

The reason for this is that the method net.minecraft.tileentity.TileEntityBeacon.updateSegmentColors() only updates the net.minecraft.tileentity.TileEntityBeacon.levels field but does not test if the selected effects are valid for the new levels value.

Comment by Galaxy_2Alex [ 24/Oct/14 ]

Changed description to the better one from Varilence.

Comment by Varilence [ 02/Apr/14 ]

I've noticed this same bug is still present in 1.7.5 and 14w11b. To give some more detail on the nature of the bug:

For example, I can create a four-tier pyramid, then set the beacon to provide the primary power of the strength boost and the secondary power of regeneration, and then break the fourth, third, and second levels of the pyramid, and the primary power of strength will continue to refresh, although only out to 20 blocks, and the secondary power will not refresh.

If I then repair the pyramid's second layer, the range of the primary power will extend out to 30 blocks. Repairing the third layer will increase the range to 40 blocks. And repairing the fourth layer will return the beacon to full functionality. If I break the first level(leaving the beacon block itself intact), then the primary power will stop, but if I then restore only the first level of the pyramid, the beacon will continue to provide the primary power of strength out to 20 blocks.

Ultimately, the beacon is properly checking to see if it should apply the secondary power, and how far a range it should apply primary or secondary powers out to, but is not checking to see if the TYPE of primary power it is set to provide is still supported by the appropriate number of layers required to initially select it.

Comment by Teijo Lukkarinen [ 11/Nov/12 ]

You can also downgrade a level II effect or deactivate regeneration by breaking the lowest layer and reactivate them by restoring the layer.

Comment by Chalmes (Jon) [ 07/Nov/12 ]

Confirmed. You can also destroy part of the top layer to disable the beacon, re-establish the top layer to reactivate the beacon and the effect is still active.

Generated at Sun Jan 12 11:57:51 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.