Attack range/Aggro Range Tutorial 1.12/1.16

Started by chewdog on

Topic category: User side tutorials

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Attack range/Aggro Range Tutorial 1.12/1.16

MCreator - EASY Zombie Siege in 1min - YouTube

ammma = ammma.createMutableAttribute(Attributes.FOLLOW_RANGE, 120.0D);

Add the line above for 1.16. The number is the range.

this.getAttribute(SharedMonsterAttributes.FOLLOW_RANGE).setBaseValue(40.0D);

Add the line above for 1.12.

 

Found this method in the forums. Changes everything for me. BIG THANKS to ahznb!

Link

Extending entity view and aggro range | MCreator

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thanks man, have been…
Sun, 01/30/2022 - 01:34

thanks man, have been looking for this for weeks

 

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
does this still work in the…
Wed, 06/29/2022 - 12:39

does this still work in the latest version as of june 2022?