Minecraft conditional subcommand data introduction

data
Used to check whether the target block, entity or storage NBT has a given NBT tag
Format: if/unless data block <coordinates> <nbt>; if/unless data entity <target entity> <nbt>; if/unless data storage <namespace to be detected> <nbt>
Explanation:
The usage is relatively complicated. It is recommended to study it yourself after becoming familiar with NBT tags. I will not introduce it too much here.