When I try to select certain entities that are not on a certain team, nothing happens.
Linked issues
Comments 4
When I get rid of the "team=(EXCLAMATION_POINT)Red" it works, but I would like to use the team=! feature because I have a lot going on.
/execute at @a[team=Red,scores={isSneaking=100..}] unless entity @e[distance=..2,type=minecraft:chest_minecart,name=BP,nbt={Invulnerable:1b}] unless entity @e[distance=..128,type=minecraft:chest_minecart,name=BP,nbt={Invulnerable:1b},team=!Red] if block ~ ~-1 ~ minecraft:diamond_block run summon minecraft:chest_minecart ~ ~ ~ {Invulnerable:1b,CustomName:'{"text":"BP"}',CustomNameVisible:1b, Items:[{Slot:0b,Count:1b,id:"minecraft:red_wool"}]}
/execute as @e[team=!Red,type=minecraft:chest_minecart,name=BP,nbt={Invulnerable:1b,Items:[{Slot:0b,Count:1b,id:"minecraft:red_wool"}]}] run team join Red
/execute as @a[team=Red,scores={isSneaking=100..}] run scoreboard players set @s isSneaking 0
Chest minecarts cannot be on a team, see MC-63391.
Please provide the exact command(s) used.