My mobs have too much attack range.

Started by TotalBlacksmith on

Topic category: Help with Minecraft modding (Java Edition)

Active 10 months ago
Joined May 2016
Points:
783

User statistics:

  • Modifications: 2
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 29
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

Active 3 years ago
Joined Nov 2020
Points:
593

User statistics:

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

Just decrease the marked number.mark

Active 10 months ago
Joined May 2016
Points:
783

User statistics:

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

That is there "tracking distance" not attack range.

 

Active 3 years ago
Joined Nov 2020
Points:
593

User statistics:

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

oh, sorry. I'm not that experienced

Active 10 months ago
Joined May 2016
Points:
783

User statistics:

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

Haha, no worries.

 

Active 3 years ago
Joined Jun 2021
Points:
510

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 7
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.