My mobs have too much attack range.

Started by TotalBlacksmith on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My mobs have too much attack range.

Hello again everyone,

In my mod The Arcaneum there are plenty of mobs that require a larger hitbox in order for them to have attack accurately hit them. However increasing the hitbox size of entities also increases their attack range. Because of this, certain mobs can hit you before you even have the opportunity for you to hit them back, making certain fights way more difficult than intended. 

So basically what I am asking is there any way to fix this problem, I am willing to do any type of custom code if necessary. Help would be appreciated!

Thank you,

TotalBlacksmith

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just decrease the marked…
Tue, 05/04/2021 - 11:46

Just decrease the marked number.mark

Joined May 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That is there "tracking…
Tue, 05/04/2021 - 17:16

That is there "tracking distance" not attack range.

 

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh, sorry. I'm not that…
Wed, 05/05/2021 - 12:56

oh, sorry. I'm not that experienced

Joined May 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Haha, no worries.  
Thu, 05/06/2021 - 06:08

Haha, no worries.

 

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I too would like to know…
Sun, 06/13/2021 - 17:11

I too would like to know this as I am having the same problem. Its surprising that they don't just have a value within the living entity element that changes attack range. I suppose a simple workaround would be to just make the bounding box as small as you can get it without it being too small to hit back.