-
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, 1.21.4
-
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:
- /summon end_crystal ~ ~ ~
- /data merge entity @e[type=end_crystal,limit=1,sort=nearest] {beam_target:[I; 100, 100, 100]}
- /data remove entity @e[type=end_crystal,limit=1,sort=nearest] beam_target
- /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.
- is duplicated by
-
MC-174424 Can't remove BeamTarget from End Crystals
- Resolved
- relates to
-
MC-135044 /data remove cannot remove attribute (modifier)s
- Open
-
MC-153392 Unable to remove villager gossips using /data remove
- Open
-
MC-128225 '/data remove' can't remove the NBT "CustomName"
- Resolved
-
MC-138100 /data remove doesn't work for the Jukebox's RecordItem tag
- Resolved
-
MC-179815 Data command doesn't remove leash from a mob
- Resolved
-
MC-207605 /data remove entity [tamed wolf] Owner does not remove ownership of the wolf
- Resolved
-
MC-248264 /data remove can't remove ArmorItems
- Resolved