i cant make a procedure that damages an item

Started by Cremolo on

Topic category: Help with modding (Java Edition)

Last seen on 11:45, 17. Nov 2023
Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i cant make a procedure that damages an item
Fri, 09/01/2023 - 13:03 (edited)

hi,

i am creating a magic mod where there is a wand where you can put spells, and when put the spell in the slot and press the button ''cast'' it should give you back the item, but damaged. i tried with the ''deal x damage to provided itemstack'' block replaicing the block ''provided itemstack'' with a block that contains the spell item but when i try it in-game it wont work.

can someone please help me?

thanks

Edited by Cremolo on Fri, 09/01/2023 - 13:03