Minecraft Command command?

Fe
6

There's a command command where certain mobs don't attack me e.g. The pillier or skeletons

Du

I don't think I only know that you can make damage like the creeper

Un

What are pillier?

Be

Yes, with the help of teams

First you have to execute these commands:

/ team add friendly_mobs
/ team modify freundliche_mobs friendlyFire false

Then you only have to take all the mobs that don't attack you into the team and of course yourself.

You take yourself into the team with this command:

/ team join friendly_mobs

The other mobs on the team take this way:

/ team join friendly_mobs @e [sort = nearest, limit = 1, type =! Minecraft: player]

With this command, the next mob is always added to the team

Un

Ahso thanks

Fe

Thanks there's also a command where certain mobs follow me