more realistic bows

Started by a23709g3 on

Topic category: Help with modding (Java Edition)

Last seen on 08:57, 17. Jul 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
more realistic bows

there is already bow pull guides but i would like to know how to add things such as "better bow pull more damage", using effect arrows for modded bows

Last seen on 18:36, 16. Jul 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There isn't really an easy…
Thu, 01/18/2024 - 22:19

There isn't really an easy or straightforward way to do this. It's not impossible, but you'd need pretty extensive knowledge of ranged item mechanics, item states for different use durations, and some procedures to determine the accuracy/velocity of the resulting arrow based on the use duration. (As well as the inherent difficulties of creating a ranged item capable of using custom arrows.) For anything involving arrows, there will also be situations where you need to lock and manually alter the code of various mod elements to get certain stuff to work properly.

...And if you are replacing the vanilla bow, (which is still easier than changing the vanilla bow's behavior), it'll cause a host of other problems with vanilla loot tables, bow wielding mobs, crafting recipes, etc. If you do want to go through with this, I'd recommend making a new item, (call it a 'longbow,' or something), that uses your custom mechanics, distinct enough to be unique compared to the original bow.