Mobs on a team dont increment killedbyteam score from any player they kill
okay, so i have to track how many kills a team has, thats all fine, but i have a class that can spawn mobs on his team, but strangly, mobs on a team dont increment the KilledbyTeam score of any player they kill!
i have added some screen shots to show what i mean
what i did was:
1: create a zombie that is on team blue
2: create a objective that tracks killedbyteam.blue, and show it on the side bar
3 :get killed by said zombie
4: score doesnt increase, even through the zombie is on team blue
what i expected, would be that, because your technically killed by the blue team, it would increase the score, but no :x
Linked Issues
Created Issue:
Mobs on a team dont increment killedbyteam score from any player they kill
okay, so i have to track how many kills a team has, thats all fine, but i have a class that can spawn mobs on his team, but strangly, mobs on a team dont increment the KilledbyTeam score of any player they kill!
i have added some screen shots to show what i mean
what i did was:
1: create a zombie that is on team blue
2: create a objective that tracks killedbyteam.blue, and show it on the side bar
3:get killed by said zombie
4: score doesnt increase, even through the zombie is on team blue
okay, so i have to track how many kills a team has, thats all fine, but i have a class that can spawn mobs on his team, but strangly, mobs on a team dont increment the KilledbyTeam score of any player they kill!
i have added some screen shots to show what i mean
what i did was:
1: create a zombie that is on team blue
2: create a objective that tracks killedbyteam.blue, and show it on the side bar
3 :get killed by said zombie
4: score doesnt increase, even through the zombie is on team blue
okay, so i have to track how many kills a team has, thats all fine, but i have a class that can spawn mobs on his team, but strangly, mobs on a team dont increment the KilledbyTeam score of any player they kill!
i have added some screen shots to show what i mean
what i did was:
1: create a zombie that is on team blue
2: create a objective that tracks killedbyteam.blue, and show it on the side bar
3 :get killed by said zombie
4: score doesnt increase, even through the zombie is on team bluewhat i expected, would be that, because your technically killed by the blue team, it would increase the score, but no :x
duplicates
When a mob is added to a Team and the team has a color, the scoreboard teamkill works when a player kill the mob.
Maybe this intended, but this don't have sense if this bug is marked intended: MC-88743
In this bug mobs don't increases the score by killing a player.
Mobs should not interact with any type of scoreboard according to the previous bug.
How to reproduce
/team add test /team modify test color blue /summon minecraft:creeper /team join test @e[type=minecraft:creeper] /scoreboard objectives add teamkill teamkill.blue /scoreboard objectives setdisplay sidebar teamkill
Kill the creeper
->
The scorebord does increase, contradicting WAI of MC-88743 / MC-46956




Can no one confirm?
Can confirm.
This isnt a duplicate. This isnt about team rules or anything. This is that your technically get killed by a team and it doesnt count
The point is that mobs are not expected to work with teams.
Is weird that certain things like the scoreboard teamkill works with mobs and others no, is possible to reopen this bug?
If not, maybe I open another bug report for the scoreboard teamkill and mark this inconsistencies...
I open another bugtrack for the inconsistence with this scoreboard: #MC-122109
If the score.teamkill works with mobs, why the score killedbyteam no?