mojira.dev

Joseph Scilla

Assigned

No issues.

Reported

MC-182278 team=!TeamName does not work on entities Duplicate

Comments

/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

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.