Endermen can attack players in the same team
Affected mobs:
Skeleton- Enderman
possibly some others
I am making a map in which I need to create a skeleton in each team.
So i set the friendlyfire to false and join me and the skeleton in the same time.
example:
/summon enderman /scoreboard teams join red_team @e[r=10]
And nothing changes, he shoots me arrows.
I have searched for this bug and i didn't saw any reports, sorry if its repeated.
Some other mobs do not attack team mates:
do
/summon zombie ~ ~ ~ {Team:teamname}
zombie will not attack players on team teamname (checks for uppercase letters too)
Code analysis by Marcono1234 in this comment
Linked Issues
is duplicated by7
Created Issue:
Mobs can atack players in the same team.
I am making a map in which I need to create a skeleton in each team.
So i set the friendlyfire to false and join me and the skeleton in the same time.
example:
/summon Skeleton
/scoreboard teams join red_team @e[r=10]And nothing changes, he shoots me arrows.
I have searched for this bug and i didn't saw any reports, sorry if its repeated.
is duplicated by
relates to
I am making a map in which I need to create a skeleton in each team.
So i set the friendlyfire to false and join me and the skeleton in the same time.
example:
/summon Skeleton
/scoreboard teams join red_team @e[r=10]And nothing changes, he shoots me arrows.
I have searched for this bug and i didn't saw any reports, sorry if its repeated.
Some other mobs do not attack team mates:
do
/summon Zombie ~ ~ ~ {Team:teamname}zombie will not attack players on team teamname (checks for uppercase letters too)
A comment with security level 'global-moderators' was removed.
is duplicated by
Mobs can attack players in the same team.
is duplicated by
is duplicated by
is duplicated by
I am making a map in which I need to create a skeleton in each team.
So i set the friendlyfire to false and join me and the skeleton in the same time.
example:
/summon Skeleton
/scoreboard teams join red_team @e[r=10]And nothing changes, he shoots me arrows.
I have searched for this bug and i didn't saw any reports, sorry if its repeated.
Some other mobs do not attack team mates:
do
/summon Zombie ~ ~ ~ {Team:teamname}zombie will not attack players on team teamname (checks for uppercase letters too)
Affected mobs:
- Skeleton
- Enderman
- possibly some others
is duplicated by
I am making a map in which I need to create a skeleton in each team.
So i set the friendlyfire to false and join me and the skeleton in the same time.
example:
/summon Skeleton
/scoreboard teams join red_team @e[r=10]And nothing changes, he shoots me arrows.
I have searched for this bug and i didn't saw any reports, sorry if its repeated.
Some other mobs do not attack team mates:
do
/summon Zombie ~ ~ ~ {Team:teamname}zombie will not attack players on team teamname (checks for uppercase letters too)
Affected mobs:
- Skeleton
- Enderman
- possibly some others
I am making a map in which I need to create a skeleton in each team.
So i set the friendlyfire to false and join me and the skeleton in the same time.
example:
/summon Skeleton
/scoreboard teams join red_team @e[r=10]And nothing changes, he shoots me arrows.
I have searched for this bug and i didn't saw any reports, sorry if its repeated.
Some other mobs do not attack team mates:
do
/summon Zombie ~ ~ ~ {Team:teamname}zombie will not attack players on team teamname (checks for uppercase letters too)
Affected mobs:
Skeleton- Enderman
possibly some others
Mobscan attack players in the same team.Enderman can attack players in the same team.
I am making a map in which I need to create a skeleton in each team.
So i set the friendlyfire to false and join me and the skeleton in the same time.
example:
/summon Skeleton
/scoreboard teams join red_team @e[r=10]And nothing changes, he shoots me arrows.
I have searched for this bug and i didn't saw any reports, sorry if its repeated.
Some other mobs do not attack team mates:
do
/summon Zombie ~ ~ ~ {Team:teamname}zombie will not attack players on team teamname (checks for uppercase letters too)
Affected mobs:
Skeleton- Enderman
possibly some others
Affected mobs:
Skeleton- Enderman
possibly some others
I am making a map in which I need to create a skeleton in each team.
So i set the friendlyfire to false and join me and the skeleton in the same time.
example:
/summon Skeleton
/scoreboard teams join red_team @e[r=10]And nothing changes, he shoots me arrows.
I have searched for this bug and i didn't saw any reports, sorry if its repeated.
Some other mobs do not attack team mates:
do
/summon Zombie ~ ~ ~ {Team:teamname}zombie will not attack players on team teamname (checks for uppercase letters too)
Affected mobs:
Skeleton- Enderman
possibly some others
I am making a map in which I need to create a skeleton in each team.
So i set the friendlyfire to false and join me and the skeleton in the same time.
example:
/summon Skeleton
/scoreboard teams join red_team @e[r=10]And nothing changes, he shoots me arrows.
I have searched for this bug and i didn't saw any reports, sorry if its repeated.
Some other mobs do not attack team mates:
do
/summon Zombie ~ ~ ~ {Team:teamname}zombie will not attack players on team teamname (checks for uppercase letters too)
Code analysis by Marcono1234 in this comment
is duplicated by
Affected mobs:
Skeleton- Enderman
possibly some others
I am making a map in which I need to create a skeleton in each team.
So i set the friendlyfire to false and join me and the skeleton in the same time.
example:
/summon Skeleton
/scoreboard teams join red_team @e[r=10]And nothing changes, he shoots me arrows.
I have searched for this bug and i didn't saw any reports, sorry if its repeated.
Some other mobs do not attack team mates:
do
/summon Zombie ~ ~ ~ {Team:teamname}zombie will not attack players on team teamname (checks for uppercase letters too)
Code analysis by Marcono1234 in this comment
Affected mobs:
Skeleton- Enderman
possibly some others
I am making a map in which I need to create a skeleton in each team.
So i set the friendlyfire to false and join me and the skeleton in the same time.
example:/summon enderman /scoreboard teams join red_team @e[r=10]And nothing changes, he shoots me arrows.
I have searched for this bug and i didn't saw any reports, sorry if its repeated.
Some other mobs do not attack team mates:
do
/summon Zombie ~ ~ ~ {Team:teamname}zombie will not attack players on team teamname (checks for uppercase letters too)
Code analysis by Marcono1234 in this comment
Affected mobs:
Skeleton- Enderman
possibly some others
I am making a map in which I need to create a skeleton in each team.
So i set the friendlyfire to false and join me and the skeleton in the same time.
example:/summon enderman /scoreboard teams join red_team @e[r=10]And nothing changes, he shoots me arrows.
I have searched for this bug and i didn't saw any reports, sorry if its repeated.
Some other mobs do not attack team mates:
do
/summonZombie ~ ~ ~ {Team:teamname}zombie will not attack players on team teamname (checks for uppercase letters too)
Code analysis by Marcono1234 in this comment
Affected mobs:
Skeleton- Enderman
possibly some others
I am making a map in which I need to create a skeleton in each team.
So i set the friendlyfire to false and join me and the skeleton in the same time.
example:/summon enderman /scoreboard teams join red_team @e[r=10]And nothing changes, he shoots me arrows.
I have searched for this bug and i didn't saw any reports, sorry if its repeated.
Some other mobs do not attack team mates:
do
/summon zombie ~ ~ ~ {Team:teamname}zombie will not attack players on team teamname (checks for uppercase letters too)
Code analysis by Marcono1234 in this comment
Endermancan attack players in the same team.Mobs can attack players in the same team.
is duplicated by
is duplicated by
Mobscan attack players in the same team.Endermen can attack players in the same team.
relates to
Cannot reproduce in 1.16.1. Enderman wont attack the player after looking or attacking it.
![]()
Endermen can attack players in the same team.
relates to
Duplicates MC-88001 please write it there if you think the moderator did a wrong decission (
remember moderators are also humans and might make mistakes
)
Dupe of MC-88001
Duplicate of MC-88001.
MC-88001 states that only enderman have this behaviour, follow the steps in that ticket, I can only confirm this for enderman.
This is by design; friendly fire controls whether damage can be dealt,not the hostility. Teammates are supposed to have your back, no matter what.
In fact, any instances of the team being ignored is considered a bug:
hmm, try using @e[type=!Player], and look if it gives an error,
else maybe you should use data tags :s
Nope, it dosn't give error, if i list the team players it shows the skeleton id and the testfor @e[team=red_team,type=!Player].
This works in the 1.8 and i remeber that it worked in the 15w35e (I just tested).
mobs ignore all team rules, this is the behaviour that mojang assigned to them, and they resolved similar reports to this, shulkers are the only exception that attack other teams by default
This site is for bug reports only. For feature suggestions or changes please see: Minecraft Suggestions on Reddit.
is not true
{Team:teamname}do /summon Zombie ~ ~ ~
zombie will not attack players on team teamname
(checks for uppercase letters too)
then the skeleton attacked you before you were in the team, and remains seing you as an enemy
thats...actually not a bad of an idea, i would bet thats indeed the problem yeah,
try doing it your way, and then get out of the skeleton range/toggle gamemode to creative and back to survival
minecraft 1.8: Mobs don't atack team mates.
minecraft 15w35e: Mobs don't atack team mates.
minecraft 15w36c Mobs atack team mates.
It's a bug.
And i was in creative when i summoned the first skeleton and joined the team, when i turn in to survival he started shooting.
cannot confirm, it gets the hostile animation for ~0.1 seconds, but doesn't harm meEdit: o that was without bow, with bow he indeed attacks, confirmed
I made a private video showing it, when i add him to the team you can see that his name tag turns red, so that confirms he is in red team.
https://www.youtube.com/watch?v=bdgurDsQsE8&feature=youtu.be
Why this report is invalid?
i tested the skeletons on my own server aswell, it seems like each time the skeleton tries to target a player of the same team, it quickly removes said target,
if you walk close enough, the skeleton is able to fire its arrow at you before his target is cleared, thus, a bug, :x
at least, thats what i see on my server
oh and its invalid because a mod a few messages above thinks this is a suggestion
Confirmed for
The behavior is pretty strange. The Skeletons without bow move very (very) slowly to you and their arms go up for some frame even if they are not near to you. And eventually when they are near you they damage you. Skeletons with bows walk to you and act if they were shooting but cancel it as soon as they are next to you
as i said, a skeleton on a team still targets that team, the game just lazly removes the target from the skeleton if its in the same team, just not fast enough
why its only for skeletons i have no idea, zombies and creepers work fine
In the future if there is a report that needs attention, please leave a post on the subreddit instead of making a new report.
Likely relating / duplicating
MC-87871WAI per
MC-46956. Mobs are not affected by team rules.No, they are affected by teams, just not friendly fire etc
and this bug report isnt because mobs dont follow team rules, its because skeletons fire at allies on the same team
15w36d still has this bug while the iron golem one is fixed, so it was not a dublicate
At least using the team datatag, they still attack their allies sometimes, and not only with skeletons anymore, zombies attack, creepers explode...
Should i note, that when i discovered it, i was summoning the mob directly at the players location?
why isnt it confirmed yet?
I can confirm, all mobs try to cancle the attack if the target is a team mate, but skeletons with bows will keep fireing
Not only skeletons, creepers sometimes get enough time to blow up, zombies can sometime hit if your at the same block as the zombie, i think its a general AI thing
I said try didn't I
True, but still, just to make sure mods understand aswell
Confirmed for 15w37a as well.
It might have to be noted, that when there are 2 players, each on different teams, and you spawn a mob that belongs to one of them, they indeed target the other team, its just when they have no other targets, that they start to attack their own team
There's only one mob that I can get to attack me when we're on the same team (in 15w51b) and that's the reinforcement zombies that spawn sometimes when you hit 'leader' zombies. Not sure if that qualifies for its own ticket.
@Paint, ya just make a new report for it.
This is no longer a bug, or seems to be working as of 1.9.2. (at least the skeleton part) Some of the related issues also now seem to work - iron golems don't attack you. The only monster on the same team that still attacks you from what I can tell are endermen. Please update this issue to enderman and have 1.9.2 as the affected version, or re-open
MC-101671.Please link to this comment in the description
The following is based on a decompiled version of Minecraft 1.9 using MCP 9.24 beta.
It looks like the reason for this is that the method net.minecraft.entity.monster.EntityEnderman.shouldAttackPlayer(EntityPlayer) does not test if the Enderman is in the same team the player is in and if the team option friendlyfire is set to false.
Note: This method should probably test as well if the player is already dead.
Duplicate of
MC-46956?MC-46956is outdated. Now all mobs (beside endermen) respect their teammates and don't attack them.I beg to differ, but zombies attack me without a problem, being in my team or not.
Apparently, it only works if they have the tag "team", and not physically be in the team by /scoreboard teams join... My bad.
@MaitreDesBlocs Both Team and /scoreboard teams join work fine for zombies in 1.10.2. Team is essentially just a read-only alias of /scoreboard teams join.
Confirmed for 1.11.2 and 1.12-pre3.
Affects 18w22c
Is this still a issue in the latest version of the game(currently 1.13.1)?
If so, please add it to the affected versions, thanks!
Affects version 1.15.2
Affects snapshot 20w21a
In 1.16.1, after seeing the newly updated info by u/Ozone, I did a test. Can confirm all mobs except for the ones named later will not interact with each other if they under the same team. However, piglins, hoglins, and zoglins will still trigger the bug.
Cannot reproduce. Tested the following interactions:
1.16 mobs have their own ticket.
I would say this specific ticket is fixed?
Is anyone still experiencing this issue specifically with endermen?
I cannot reproduce, Using the team tag and looking at it or hitting it, it stays passive and does not attack the player when hit/looked at.