Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-2440

Beacons keep higher level effects when partially destroyed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • 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
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      Beacon

      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.

      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.


      Code analysis by [Mod] Marcono1234 can be found in this comment.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              bugsbugsbugs bugsbugsbugs
              Votes:
              11 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: