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

In adventure mode, you can interact with light blocks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19.3 Pre-release 3
    • 1.17.1, 21w39a, 21w42a, 21w43a, 21w44a, 1.18 Pre-release 1, 1.18 Pre-release 2, 1.18 Pre-release 3, 1.18 Pre-release 4, 1.18.1, 22w03a, 1.18.2, 22w12a
    • None
    • Confirmed
    • Adventure
    • Items

      The bug

      You can switch the light mode in adventure mode by holding the light in your hand.

      How to reproduce

      1. Place the light
      2. Switch to adventure mode
      3. With the light in hand, aim at the spot where you placed the light and try switching the light mode

      Observed results

      You can switch the light mode in adventure mode.

      Expected results

      In adventure mode, you cannot interact with the light.

      Video demonstrating the issue

      Minecraft 1.17.1 - 2021-08-17 16-43-52.mp4

      Code analysis

      Code analysis by avoma can be found in this comment.

            Unassigned Unassigned
            EVGENSYPERPRO [Mod] EVGENSYPERPRO
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: