I want to make an item that makes the mobs stay peaceful

Started by miguel2065 on

Topic category: Help with modding (Java Edition)

Last seen on 22:59, 8. Dec 2023
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I want to make an item that makes the mobs stay peaceful

as the name says, i want an item that when i right click leaves all mobs 10 blocks away, stop attacking me for 60 seconds

my english is bad i am not american

Last seen on 00:59, 19. Oct 2022
Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm not quite sure but I'm…
Mon, 05/03/2021 - 01:34

I'm not quite sure but I'm pretty sure you'll use the procedure
"get nearest entity"