Posted May 29, 201411 yr I have recently made a custom bow (ItemRubyBow) that is pretty much the ItemBow code copied but modified. So I was left clueless when, even though every other thing was working perfectly, the bow would only get the enchantment "Unbreaking", no matter how many times I enchanted it. They were different levels of Unbreaking, in case that is relevant. Also, this may be related to the answer: Is there any way to set the durability of a bow? Am I missing some sort of "BowMaterial"? Here is my code: http://pastebin.com/7EX5BFTk Developer of the WIP Rubies mod.
May 30, 201411 yr Bow enchantments look for ItemBow. Extend that class and you should be fine. *Hint* Copy-paste = Baaad . Durability is based on the item damage value.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.