[MCBE] 建筑党必备!防熊指令hasitem检测

自制防熊指令[建筑房专用]
添加白名单/tag 玩家名字 add 白名单
清除白名单/tag 玩家名字 remove 白名单
以下指令第一个循环剩下连锁无条件即可
execute @a[tag=!白名单,hasitem={item=TNT}] ~~~ say §l§4TNT§f已被禁用!
clear @a[tag=!白名单] TNT
execute @a[tag=!白名单,hasitem={item=end_crystal}] ~~~ say §l§d末影水晶§f已被禁用!
clear @a[tag=!白名单] end_crystal
kill @e[type=ender_crystal]
execute @a[tag=!白名单,hasitem={item=respawn_anchor}] ~~~ say §g重生锚§f已被禁用!
clear @a[tag=!白名单] respawn_anchor
execute @a[tag=!白名单,hasitem={item=lava_bucket}] ~~~ say §6岩浆§f已被禁用!
clear @a[tag=!白名单] lava_bucket
execute @a[tag=!白名单,hasitem={item=sticky_piston}] ~~~ say §a粘性活塞§f已被禁用!
clear @a[tag=!白名单] sticky_piston
execute @a[tag=!白名单,hasitem={item=piston}] ~~~ say §a活塞§f已被禁用!
clear @a[tag=!白名单] piston
execute @a[tag=!白名单,hasitem={item=splash_potion}] ~~~ say §3药水§f已被禁用!
clear @a[tag=!白名单] splash_potion
execute @a[tag=!白名单,hasitem={item=potion}] ~~~ say §b药水§f已被禁用!
clear @a[tag=!白名单] potion
execute @a[tag=!白名单,hasitem={item=lingering_potion}] ~~~ say §b药水§f已被禁用!
clear @a[tag=!白名单] lingering_potion