itemstack dependency issue with damage enchantment

Started by Snöiller Fitzroy on Thu, 08/26/2021 - 19:37

Topic category: Help with modding (Java Edition)

Last seen on 23:27, 2. Sep 2021
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
itemstack dependency issue with damage enchantment
Thu, 08/26/2021 - 19:37

I'm trying to make an enchantment which is essentially a second Sharpness that applies additional damage on a critical hit, but I keep getting the  required dependencies error for itemstack?

This is what I have so far:

https://cdn.discordapp.com/attachments/595959457905901589/8805364055651…

Last seen on 23:27, 2. Sep 2021
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Update: I found out how to …
Thu, 08/26/2021 - 19:47

Update: I found out how to *replace* provided item with "item in main hand" by *searching* for the main hand procedure block and this cleared the error. I heard this referred to in other threads I found about this but no information on how to actually do it was included. Here's another screenshot:

https://cdn.discordapp.com/attachments/595959457905901589/8805385195572…