Why are custom mob ranged attacks inaccurate? + how to make accurate

Started by Sajevius on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Why are custom mob ranged attacks inaccurate? + how to make accurate
Mon, 09/28/2020 - 06:20 (edited)

so in my case, i've noticed for a good while that when custom entities are given a ranged attack goal, their targeting system is very... inaccurate? or is it just me? like, they literally miss their targets about 70% of the time; it's as if the trajectory of the ranged item bullets they fire are random at most and aren't even accurately shot towards the defined targets, and idk if that happens to anyone else. can i make a targeting system similar to that of a skeleton, accurate but only without the charge-up? i need it for a boss i'm currently working on.

Edited by Sajevius on Mon, 09/28/2020 - 06:20
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
any luck, anyone? if none,…
Sun, 10/11/2020 - 13:44

any luck, anyone? if none, it's ok; i'll try to learn the hard, steep, and tedious way...

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know, I'm trying to…
Fri, 10/22/2021 - 14:08

I don't know, I'm trying to make an entity that goes in a staright line to the player and acts as a projectile, because i also want it to be a special attack that only triggers sometimes