2

Me and my friend are building some type of a RPG game in Minecraft: Education Edition and we were trying to figure out how to make mobs nonhostile while in survival and in normal mode.

I searched up commands and stuff like that but nothing worked.

I had tried the /scoreboard teams command as well, but yet, it didnt work either cause you cant use the team part in edu

any help here?

3
  • DO you mind using Peaceful Mode? That would make mobs not attack you.
    – Nailington
    Commented Feb 25, 2021 at 3:31
  • @Potterton I cant use peaceful mode cause we just want one person to not get attacked due to the rules of the game we are making. So If we use peaceful mode, it will get rid of all the hostile mobs in the server. We want to keep them in if that explains it more. We just dont want them to attack one certain person. Commented Feb 25, 2021 at 20:51
  • Identical question for Java Edition: How to make your player invincible / undetectable by zombies?
    – pppery
    Commented Dec 18, 2022 at 17:25

1 Answer 1

-1

If you use the command /effect |player name| resistance |period of time| 5 true you can make that person invincible.

2
  • They mentioned that they needed mobs to be non-hostile, not simply that they didn't want to die.
    – Diehe
    Commented Nov 23, 2021 at 14:33
  • I didn't say that it was a perfect solution.
    – AwesomeT43
    Commented Dec 8, 2022 at 16:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.