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

Selectors in written books require player to be operator to work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.9.4, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10.2, Minecraft 1.11.2, Minecraft 1.12.2, Minecraft 18w03b, Minecraft 1.13, Minecraft 1.13.1, Minecraft 1.14.2 Pre-Release 2, 1.14.4, 1.15.2
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      Usage of selectors in books don't work, unless the player being given the book is an operator. Basically, let's say you have such a command:

      /give @a minecraft:written_book{title:"Example",author:"someone",pages:["{\"selector\":\"@s\"}"]}
      

      When the command block is powered, a player who is an operator will receive a book, which on its first page will have their IGN printed. A player who is NOT an operator will receive a book with an empty first page.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              PiyoPwincess Piyotato
              Votes:
              37 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: