[SOLVED] How can i make pillagers not agressive?

Started by Igggosha on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 years ago
Joined Feb 2022
Points:
418

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 13
[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
Active 1 hour ago
Joined Sep 2020
Points:
1202

User statistics:

  • Modifications: 7
  • Forum topics: 17
  • Wiki pages: 4
  • MCreator plugins: 0
  • Comments: 776
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

Active 3 years ago
Joined Feb 2022
Points:
418

User statistics:

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

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