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

New 1.14 - Data Modify - command has me pulling my hair out!

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.14.2 Pre-Release 1
    • None
    • Unconfirmed
    • Commands

      **I LOVE THE GAME! but i really need some info. pretty please?

       

      [Command to get started]

      /setblock ~ ~ ~ minecraft:chest{Lock:"???"} replace

       

      [Commandblock 1]

      execute at @e[type=item_frame,tag=Display] run data modify block ^ ^ ^-1 Lock set from entity @e[type=minecraft:item_frame,tag=Display,limit=1] Item.tag.display.Name

       

      [Command 1]

      /summon item_frame A

      {Facing:*B*b,Tags:["Display"]}

      *A = coordinates to place item frame

      *B = Rotation of item frame to keep it from popping off

       

      I have been trying to set up a key system for chest. When you place an item frame and place a any object, with desired name, it keeps giving the chest

      {"text":"*C*"}

      for the Lock

      *C = Desired key name

       

      you can check this by looking at the locked chest and and typing

      /data get block "D" Lock

      *D = Coordinates chest was located at

       

      It will proceed to say

      {"text":"*C*"}

      Unless there is a string, translation, or any other method of getting just the "C" i am considering it broken

        1. Is this a bug.png
          359 kB
          TabbedScamper
        2. smaller setup.png
          610 kB
          TabbedScamper

            Unassigned Unassigned
            TabbedScamper TabbedScamper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: