Details
-
Type:
Bug
-
Status: Reopened
-
Resolution: Unresolved
-
Affects Version/s: Minecraft 17w48a, 20w10a, 20w11a, 20w12a, 20w13a, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w20a, 1.16.4, 20w48a, 20w51a, 21w03a, 21w05b, 21w06a
-
Fix Version/s: None
-
Labels:
-
Confirmation Status:Confirmed
-
Category:Commands
Description
Attempting to delete a compound tag does not delete its children, attempting to delete a child merely changes the value to 0.
How to recreate:
- /summon end_crystal ~ ~ ~
- /data merge entity @e[type=end_crystal,limit=1,sort=nearest] {BeamTarget:{X:100,Y:100,Z:100}}
- /data remove entity @e[type=end_crystal,limit=1,sort=nearest] BeamTarget
- /data get entity @e[type=end_crystal,limit=1,sort=nearest]
Notice the beam still exists, and the NBT still has the BeamTarget tag, with the appropriate unmodified children.
Attempting to remove the children simply 'zeroes' the values:
/data remove entity @e[type=end_crystal,limit=1,sort=nearest] BeamTarget.X
Thus there is no way to remove the BeamTarget tag that I am aware of, aside from deleting the entity.
Attachments
Issue Links
- is duplicated by
-
MC-174424 Can't remove BeamTarget from End Crystals
- Resolved