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

"/data remove" cannot delete beam_target tag in End Crystals

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 17w48a, 20w10a, 20w11a, 20w12a, 20w13a, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w20a, 1.16.4, 20w48a, 20w51a, 21w03a, 21w05b, 21w06a, 1.17.1, 1.18.1, 1.18.2, 1.19 Pre-release 2, 1.19 Pre-release 3, 1.19, 23w33a, 1.20.4, 24w11a, 24w12a, 24w13a, 24w14a, 1.20.5 Pre-Release 3, 1.20.5 Release Candidate 1, 1.20.5, 1.20.6, 1.21 Pre-Release 4, 1.21, 1.21.1, 1.21.2 Pre-Release 3, 1.21.2 Pre-Release 4, 1.21.3, 24w46a, 1.21.4 Pre-Release 1
    • Confirmed
    • Commands

      Attempting to remove the beam_target tag from an End Crystal returns "Modified entity data of End Crystal" but does not in fact remove the tag. (prior to 24w06a, removing BeamTarget instead reset its X, Y, and Z values to 0, but likewise did not remove the data).

      Steps to reproduce:

      1. /summon end_crystal ~ ~ ~
      2. /data merge entity @e[type=end_crystal,limit=1,sort=nearest] {beam_target:[I; 100, 100, 100]}
      3. /data remove entity @e[type=end_crystal,limit=1,sort=nearest] beam_target
      4. /data get entity @e[type=end_crystal,limit=1,sort=nearest]

      Notice the beam still exists, and the NBT still shows the beam_target unchanged, despite the command returning successful. Other methods to remove the data, such as /data merge, likewise have no effect.

      The only way currently to "remove" the beam_target tag is to delete the entity altogether and re-summon an identical one in its place, sans target data, which is not ideal as this causes a noticeable jump in animation when the entity is replaced.

            Unassigned Unassigned
            KirbAvion Kirven Avion
            Votes:
            13 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              CHK: