disable range ai

Started by jeed_90 on

Topic category: Help with modding (Java Edition)

Last seen on 05:31, 19. Aug 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
disable range ai

hi, i find out that the range ai (the check box) has its own ai programming that has higher probability then anything else and cant be disable by procedure logic return.

 

i wanna disable the shooting ai with a logic return but i found out that checking that box my mob can move(follow target) and shoot.(that's why a flying shooting mob uses the follow target with speed stacks with range-mob ai which has his own follow speed)(removing the follow target ai in the ai menu can fix this, only leave the range ai built in follow target)

 

one approach i have is to manually add the normal melee ai and with 'trigger while existing' make the mob not walk and shoots with timers, raytrace and stuff(a more complicate approach) but capable of been disable, im not sure if i can replicate the exact same behavior as a normal range ai mob.(haven't try)

 

any ideas?