itemstack dependency issue with damage enchantment

Started by Snöiller Fitzroy on

Topic category: Help with modding (Java Edition)

Last seen on 13:10, 3. Feb 2024
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
itemstack dependency issue with damage enchantment

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 13:10, 3. Feb 2024
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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…