Jump to content

[1.7.10] Adding both weapon AND tool enchantments to a custom tool


Recommended Posts

Posted

Hi all,

 

I am attempting to create a custom tool with Forge (version 10.13.0.1180) in MC 1.7.10. Was wondering if anyone knows of any way to bypass EnumEnchantmentType's canEnchantItem method so that the tool (inherits ItemTool) can accept weapon enchantments in addition to standard tool enchantments? I don't believe my code would help answer this question, however, I am willing to provide it if necessary. Thank you!

Posted

I feel like we already had this question only weeks ago.. The answer is, poor you, you cant.

I know that the solution the asking person used was to take all the vanilla enchantments from the weapons and create them again so that they can be used for his bow.

 

Think about the problems that a tool that can have all enchantments will bring. A tool with infinity? Whats that..

Posted

I feel like we already had this question only weeks ago.. The answer is, poor you, you cant.

I know that the solution the asking person used was to take all the vanilla enchantments from the weapons and create them again so that they can be used for his bow.

 

Think about the problems that a tool that can have all enchantments will bring. A tool with infinity? Whats that..

 

That's what I figured. Was just curious to see if anyone had any thoughts. I wasn't talking about bow enchantments, more about sword enchantments. I agree, recreating vanilla enchantments seems silly. I'll stick with what I have now. Thanks for your reply.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.