Pre Renders Bow #4765
Type of change
- [ ] Bug fix
- [x] New feature
Description
Adds option to Pre renders the projectile of arrow from bow.
Related issues
#4765
How Has This Been Tested?
Checklist:
- [x] My code follows the style guidelines of this project.
- [x] I have added comments to my code in more complex areas.
- [x] I have tested the code in both development and production environments.
I was wondering whether #4773 can be fixed too while I am working on this module. I tested and I am able to fetch the nbt tag of flight duration of rocket present in the crossbow.
But as per https://minecraft.fandom.com/wiki/Crossbow
the distance travelled by the rocket is random in a range.
I reckon we can make render it such that the render line till minimum (of range) will be same as now (a solid line) and the distance of range will have a dotted line and at end something that represents a explosion.
Is it worth working over? I wanted opinions...
I dont believe meteor client has the capabilities to render dotted lines, though we could render a full line up until the minimum, and then fade out the opacity as it reaches the maximum.