Started by
tictuctoe
on
Topic category: Help with Minecraft modding (Java Edition)
Hi, I am looking to create an enchantment for crossbows called "sniping" that causes an arrow to fly perfectly straight. I was also hoping I could create a trade-off to balance this enchantment where the crossbow takes longer to load, but has more accuracy and power. I have been doing research on how to create a similar effect, but have found nothing. The closest thing that I have found though is to create a custom crossbow that has more power and flies farther, but this will only go so far, and I do not like the extra weapon. Can I have some help?
Edited by tictuctoe on Sat, 08/06/2022 - 05:29
I think you could do this by checking whether you have the enchantment and then turning the arrow entity gravity off through procedures and see it go straight.