[SOLVED] How can i make pillagers not agressive?

Started by Igggosha on

Topic category: Help with modding (Java Edition)

Last seen on 16:20, 15. Mar 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[SOLVED] How can i make pillagers not agressive?
Wed, 03/02/2022 - 18:23 (edited)

Basically, what I need is that when there is a certain item in player's inventory, pillagers, vindicators, ravagers, evokers and illusioners become non-agressive to the player. And I could not come out with any kind of a decision, so I think I need someone's help.

Edited by Igggosha on Wed, 03/02/2022 - 18:23
Last seen on 16:28, 17. May 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can insert the player…
Fri, 02/18/2022 - 23:04

You can insert the player using function / commands in a team with pillagers. When two entities are in the same team they cant hurt. If you ask "teams" are how minecraft name tags given to a group of entities that work as a ... team

Last seen on 16:20, 15. Mar 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wow, this, surprisingly,…
Wed, 03/02/2022 - 18:11

Wow, this, surprisingly, works! Thank you very much!