RubixDev / EnchantedShulkers

Adds some helpful enchantments for Shulker Boxes
https://modrinth.com/mod/enchantedshulkers
GNU General Public License v3.0
8 stars 6 forks source link

[FEATURE REQUEST] Allow Shulker boxes with refill enchantments to refill arrows inside inventory. #43

Closed RashidFTW closed 7 months ago

RashidFTW commented 8 months ago

Lets say you have a shulker box with arrows inside, and it's enchanted with the refill enchantment. Currently the arrows only refill if they are in your offhand. However, it's not really common practice to hold them there, usually they are either in your hotbar or your inventory. I would like the refill enchantment to refill arrows as they deplete when I shoot with a bow.

I believe this exception should be made because bows/crossbows are the only items (that I can think of) that deplete something other than themselves (unlike blocks, items, ender pearls, food, snowballs, buckets, etc..). Currently the refill enchantment technically doesn't have any effect on the bow.

RubixDev commented 8 months ago

That's a great idea! The same goes for firework rockets which can also be shot by crossbows.

RashidFTW commented 7 months ago

I am impressed by how quick this got implemented! At first, was going to wait until the next mod version release, but was too thrilled to try it, so I did in the latest dev build. Works great and functions as expected, Love It!. Thanks again for your great work on this mod :D