mojira.dev
MC-96807

Slimes and Magma Cubes damage Players in the same team

I created a team simply named "Team" with

/scoreboard teams add Team

I spawned several mobs with Spawn eggs to summon them "naturally"

I added the all entities (including me) to the team "Team" with

/scoreboard teams join Team @e

I walked into the mobs and hit them before and after they were in the Team with me and
created the following list:

Creeper -> doesn't attack you anymore
Skeleton -> doesn't attack you anymore
Spider -> doesn't attack you anymore
Zombie -> doesn't attack you anymore
Slime -> doesn't attack you anymore, but deals damage if touch the Slime
Ghast -> doesn't attack you anymore
Zombie Pigman -> doesn't attack you anymore
Zombie -> doesn't attack you anymore
Enderman -> doesn't get angry at you
Cave Spider -> doesn't attack you anymore
Silverfish -> doesn't attack you anymore
Blaze -> doesn't attack you anymore
Magma Cube -> doesn't attack you anymore, but deals damage if touch the Magma Cube
Witch -> doesn't attack you anymore
Endermite -> doesn't attack you anymore
Guardian -> doesn't attack you anymore
Shulker -> doesn't attack you anymore
Angry Wolf -> isn't at you angry anymore
Zombies wering thorns armor -> You get damage if you hit them

As you can see just two mobs seem to be wrong - and here we come to the bug.
If you run into the Slime or the Magma Cube they still can damage you, even if they don't directly
attack you. (They just jump in random directions.)
Also i don't think the thing with the Thorn Armor was a bug, because its quite logical.

I think the reason could be the same as at
"MC-88099 Slimes with NoAI-Tag cab still damage the Player"

Find mistakes and send them to me to Germany 😃
~froggyman

Linked issues

Attachments

Comments 6

no! this is actually no dublicate. If you are in the same team as a Zombie, the Zombie can't Damage you. if you are in the same team as a Slime the Slime can Damage you but doesn't attack you. You just get damaged if you run into the Slime.

[Mod] redstonehelper

The fact that it works for zombies is nice but it doesn't make it a bug for slimes.

It works for every mob except slime

Updated the Thread, hope you can better understand it now

If they are not deliberately attacking players when on the same team, then it's probably working as intended. As per MC-46956, mobs do not respect team options like friendlyfire, and slimes damage on contact even when not deliberately attacking. You're correct in that the underlying cause is the same as in MC-88099.

froggy man

(Unassigned)

Unconfirmed

Minecraft 16w05b

Retrieved