エンティティ名前全一致検知機構
概要
これは任意のセレクター引数による条件を満たす全てのエンティティの名前が等しいことを検知する機構です。
名前の一致検知機構を応用したものです。
実装例
/tag @e[x=0,y=0,z=0,type=armor_stand,c=-1] add exclude
/testfor @e[x=0,y=0,z=0,type=armor_stand]
/tag @e[type=armor_stand] remove exclude
/tag @e[x=0,y=0,z=0,type=armor_stand,c=1] add exclude
/testfor @e[x=0,y=0,z=0,type=armor_stand]
/tag @e[type=armor_stand] remove exclude
/execute if blocks ~~~-2 ~~~-2 ~~~-5 all run say 一致
https://scrapbox.io/files/67ae03ac525b0e5c528ac4d3.mov