How to make a certain mob not be able to attack me when holding an item?

Started by Vadam1023 on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Feb 2021
Points:
589

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
How to make a certain mob not be able to attack me when holding an item?

I made my own custom hostile mob, and I want to make an item that, when held, makes it where they don't attack you or can't see you. Is this possible? I am new to MCreator so my knowledge of the tools available is very not good. Any help would be GREATLY appreciated! Thanks!

Active 1 month ago
Joined Sep 2020
Points:
1232

User statistics:

  • Modifications: 7
  • Forum topics: 17
  • Wiki pages: 4
  • MCreator plugins: 0
  • Comments: 774
Use condition in the mod AI…
Wed, 09/15/2021 - 13:37

Use condition in the mod AI editor