Started by
Igggosha
on
Topic category: Help with Minecraft modding (Java Edition)
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
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
Wow, this, surprisingly, works! Thank you very much!