Ranged item maths

Started by lt.wret on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ranged item maths
Mon, 02/22/2021 - 18:44 (edited)

im a bit confused about the maths behind the ranged items
 

screenshot

https://imgur.com/a/XGpThIu

Red - Bullet power (speed of projectile therefore effecting arc & effectively range)

Blue - Bullet damage

But its not this simple it appears there seems to be some sort of calculation for the final damage
With the shown screen shot the output damage of the item is 8
 

 

screenshot 2

https://imgur.com/a/bqHnOJI

 

Yet once I input this the final damage output of the item is 33

Is there an easy way to work out this so i can determine the damage before hand?

Edited by lt.wret on Mon, 02/22/2021 - 18:44
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i'm having the same problem  
Wed, 09/15/2021 - 00:34

i'm having the same problem