TeamLapen / Vampirism

A Minecraft mod called Vampirism
https://vampirism.dev
Other
193 stars 55 forks source link

[Bug] Semi Auto Crossbows And Infinity Enchantments Do Not Work Together #482

Closed PendragonII closed 5 years ago

PendragonII commented 5 years ago

Versions

Issue Description

The enchantment: enchantment.arrow_infinite on a Semi Automatic Crossbow (Normal or Enhanced) does not currently benefit from the infinity enchantment. When a player uses the Semi Automatic Crossbow with the enchantment.arrow_infinite enchantment, the Semi Automatic Crossbow will request for a reload after 12 shots regardless.

Reproduce Steps

Additional Information

Also you may notice that the mending enchantment will work fine with the enchantment.arrow_infinite enchantment. Please continue the compatibility between these two enchantments. They are very good together as a Hunter.

maxanier commented 5 years ago

I will have to look into this, maybe it does not work for balancing reasons. It if it should be intentional, the crossbow shouldn't be enchant-able with infinity in the first place

maxanier commented 5 years ago

This is intentional. The crossbow would be very overpowered otherwise. The infinity enchantment is never applied to the crossbow at an enchantment table. Unfortunately there is no way to prevent this from being done with a book.