Deal damage to item does not work

Started by Idaccio on

Topic category: Help with MCreator software

Last seen on 11:19, 2. Nov 2021
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Deal damage to item does not work

I have Item named hammer and I want it to damage itself when item created from that (hammer stay in crafting grid). I do it this way:

I make procedure in whitch is "Deal 1 damage to item in slot 1 of block at x y z if it has inventory"

I make Item "Copper plate" and its recipe.

Hammer in this recipe is there:

hammer is in slot 1

copper is in slot 4

That procedure is in Copper plates event "On block created" and it does not function.

Do You know how to repare it?

Last seen on 14:52, 1. Oct 2020
Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is designed for custom…
Wed, 05/15/2019 - 16:25

This is designed for custom GUIs. It won't damage an item in the crafting table GUI.

Last seen on 11:19, 2. Nov 2021
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thx, but do you know how to…
Fri, 05/17/2019 - 13:29

Thx, but do you know how to do that other way?