mojira.dev
MC-239290

Slimes and Magma Cubes still deal damage to "teammates" when on a team with friendly fire disabled

Mobs don't deal damage or even chase/"target" to other players/mobs on their team if friendly fire is disabled, regardless of normal aggressive behavior. But slimes and magma cubes still do damage on contact. They will not go after teammates directly, however they will still deal damage. Iron golems on the same team will sometimes retaliate when getting damaged by a slime/magma cube on the same team as well (but the iron golem will usually "forget" about it right after. It actually targeted and attacked a zombie on the team in question once, but I couldn't replicate it).

Steps To Reproduce:

  1. Create a new world with cheats on and a non-peaceful difficulty(Creative,Β Superflat, mob spawning off, non-peaceful works best)

  2. Create a new team and disable friendly fire, and add yourself to it

  3. Spawn a slime or magma cube

  4. Add it to the team created earlier

  5. If you are in creative mode, switch to survival mode. Then bump into the slime/magma cube. It will still deal damage.

Linked issues

Comments 1

anthony cicinelli

Thank you for your report!
We're tracking this issue in MC-46956, so this ticket is being resolved and linked as a duplicate.

That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
πŸ““ Bug Tracker Guidelines – πŸ’¬ Community Support – πŸ“§ Mojang Support
πŸ““ Project Summary – ✍️ Feedback and Suggestions – πŸ“– Game Wiki

SuperPupperDoggo

(Unassigned)

Unconfirmed

(Unassigned)

friendly-fire, magma_cube, mob, slime, teams

1.17.1, 21w41a, 21w43a

Retrieved