Minecraft Data Merge Command Generator

Summoning an entity again resets it. /data merge edits the one that is already there, which is what you want for a boss mid-fight or an armor stand you have already positioned. Compose the NBT payload here and target the entity precisely.

Java 26.2

/data merge entity

Entity@e[type=minecraft:zombie,limit=1]
Distance
x rotation
y rotation
Team
Name
XP Level

/data merge entity

Merge SNBT into one entity.

/data merge entity @e[type=zombie,limit=1] {CustomName:'{"text":"NBTForge"}'}