Make mobs not attack if i wear specific armor

Started by Lord Makishi on Tue, 04/19/2022 - 15:02

Topic category: Help with modding (Java Edition)

Last seen on 17:01, 16. May 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Make mobs not attack if i wear specific armor
Tue, 04/19/2022 - 15:02

Hello everyone,

on my recent mod i tried to make a procedure so that when i wear an specific armor, a certain mob doesn't target me as an enemy anymore. I tried multiple things, but nothing really seems to come to an working result. Does anyone have ideas?

Thanks in advance.

Last seen on 10:14, 24. Jun 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I made a tutorial for this…
Tue, 04/19/2022 - 18:09

I made a tutorial for this few weeks ago

The same question has been asked tons of time just check through the forum

 

Last seen on 01:05, 18. Jun 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
for the skeleton i did : i…
Sat, 06/04/2022 - 13:50

for the skeleton i did : i made a ranged item that has no damage and is invis and then I made a procedure so if the entity is type skeleton and the player wearing a specific armor it does so the invisible ranged item I made comes into thew main hand of the skeletono

I didn't do anything for the other mobs cuz I need only the skellys to be passive

Last seen on 01:05, 18. Jun 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
i didnt test it though but u…
Sat, 06/04/2022 - 13:50

i didnt test it though but u can test it

Last seen on 01:05, 18. Jun 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
it doesnt work
Sat, 06/18/2022 - 00:30

it doesnt work