Updated to MC 1.21.x.
Due to Mojang changing enchantments to be datapack-driven now, this mod now checks if the enchantments applied to the bow/crossbow have a minecraft:ammo_use
effect that reduces its value to 0
, instead of directly asking if Infinity is applied. This should have the same effect by default, but now this mod should more easily work with other mods/datapacks (for example, if the stock Infinity enchantment is replaced with some other one, or a new enchantment is made that has infinity-like effects).
Updated to MC 1.20.5+. Now that Mojang supports Infinity for Crossbows, this mod provides the same "fix" to Crossbows as well.
First NeoForge version. Compatible with MC 1.20.2 - 1.20.4
NOTE:
This version also works with NeoForge 1.20.1 (but NOT later versions). There's not really a way for me to tag that in Modrinth, so I'm just leaving this note.
Updated to MC 1.20.1 - 1.20.4.
ALSO NOTE: This is the last version that supports the original Forge.
Updated to MC 1.20.0 - 1.20.4