Posted August 22, 201411 yr I am making a mod in which I have some tools. Without over-complicating things, I don't want them enchantable because I have a different upgrading mechanic and enchanting would ruin this. I have made it so that these tools cant be enchanted in an enchanting table by setting the enchantablility in the tool material to 0. Players can still use books in an anvil though. How can I remove this anvil enchanting on my tools only? I have tried this but it doesn't work : @Override public boolean getIsRepairable(ItemStack stack, ItemStack stack2) { return false; }
August 22, 201411 yr Author Is there a way to do this without using an event? I haven't learnt how to use them yet. If there isn't a method or anything, then I could learn it
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.