Adding Enchantments to items

Started by PappaWassen on Thu, 04/02/2020 - 10:50

Topic category: Help with modding

Last seen on 17:14, 18. May 2020
Joined Jun 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Adding Enchantments to items
Thu, 04/02/2020 - 10:50

I'm trying to make an item where if its in your off hand and you right click,it would delete the item and add efficiency 10 to the item in your main hand. I know the blocks to do this exist, i just can figure it out. I'm making the mod for 1.14.4 on version 2020.2, if that helps.

Last seen on 16:01, 26. May 2020
Joined Jun 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
The bloc to add an…
Thu, 04/02/2020 - 13:12

The bloc to add an enchantment to the item is in "Item procedures" and among the ones at the top "add enhantment..." you can choose the level of the enchantment too

Last seen on 17:14, 18. May 2020
Joined Jun 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Ive tried using the add…
Thu, 04/02/2020 - 17:45

Ive tried using the add enchantment block but it adds the enchantment to the item and not the pickaxe/axe/shovel/etc. Is there a way around this?

Last seen on 16:01, 26. May 2020
Joined Jun 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Only tools can have…
Thu, 04/02/2020 - 17:53

Only tools can have enchantments so... sorry but it's not possible...