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

Lectern can't be locked

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Invalid
    • Minecraft 19w02a
    • None
    • None
    • Unconfirmed

    Description

      Why should a lectern be lockable
      You might say that only "normal" inventories can be locked but beacons can also be locked and beacons are not an inventory. You would want to lock your lectern if you only want some people to have access to it. Also, you can control Redstone systems with lecterns so locking lecterns would be useful for maps that you can only access them. If you a key item. Or if you just want to secure Redstone systems.

      The bug
      When you update the nbt data of the lectern with:

      {Lock:"lock"}

      You can still open the block as normal without needing an item renamed to lock.

      How to reproduce:
      1. Place down a lectern
      2. Run /data merge block <coords>

      {Lock:"lock"}

      at the location of the lectern
      The lectern is not locked and I can read what is inside.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tintin10 Quinten
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: