nbt

fun nbt(nbt: CompoundTag, inverse: Boolean): EntitySelectorBuilder

Filter target selection based on the entity's NBT data. Note that this selector argument should be used with care, as accessing NBT data is a heavy process for the CPU.