The /data get/merge/remove block works only for block entities even though other blocks have nbt data such as their x, y, z position or the id. The wiki states that /data command works for blocks and not specifically for block entities!
Comments 4
Well then where are they stored? How am I supposed to store their position into a scoreboard value which I can do for block entities using "/execute store"?
Non-Block entity blocks don’t/can’t store nbt; position, id and states are not saved in nbt.