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

block_entity_data is immediately lost on /give command for sign

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.21.4 Pre-Release 3
    • None
    • Unconfirmed
    • (Unassigned)

      A give command for a sign with block_entity_data will immediately lose the block_entiy_data when run.

      /give @p oak_sign[block_entity_data={id:"oak_sign",front_text:{messages:['"Nope"','

      {"text":""}

      ','{"text":""}','{"text":""}']},is_waxed:1b}] 1

       

       /data get entity @s Inventory[0]

      (The block_entity_data is now gone)

      This /give command works fine in 1.21.3

      EDIT:

      I just learned that this command is how you are now supposed to do it:

      /give @p oak_sign[block_entity_data={id:"minecraft:sign",front_text:{messages:['"Nope"','

      {"text":""}

      ','{"text":""}','{"text":""}']},is_waxed:1b}] 1

            Unassigned Unassigned
            PyroStunts Matt Godfrey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: