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

Lectern running /clear turns items into ghost items

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 2, 19w38b, 1.15.1, 1.16.1, 20w27a, 20w49a, 21w03a, 1.16.5, 21w06a, 21w07a, 21w08b
    • Fix Version/s: 21w10a
    • Confirmation Status:
      Confirmed
    • Category:
      Commands
    • Mojang Priority:
      Low

      Description

      The bug

      When running /clear in a lectern, the affected items turn into ghost items (client-only).

      How to reproduce

      /give @p lectern{BlockStateTag:{has_book:"true"},BlockEntityTag:{Book:{id:written_book,Count:1b,tag:{author:a,title:a,pages:['{"text":"Click here","clickEvent":{"action":"run_command","value":"/clear @s"}}']}}}}
      

      Place this lectern, access it, then click the text.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              boq [Mojang] Bartosz Bok
              Reporter:
              AvocadoGA66 Andres Acosta
              Votes:
              9 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: