Tool Damaging by Procedure Does Not Break the Tool

Issue description

Using procedures to damage tools can't break them. This is a problem, because I am making a mod which uses a writing table, and I added an 'Ink Bottle' tool which runs down on durability as you use it. However, when it reaches 0 durability, it doesn't break, instead carrying on taking damage into the negatives. I don't know if this is explicitly an Mcreator issue, but you could still change the block to break the item if it reaches or surpasses 0. This issue means that the deal damage to item block doesn't do much, and has little purpose.

Issue comments

Submitted by Klemen on Thu, 01/10/2019 - 18:28

I can confirm this bug. I have fixed this bug so the itemstackĀ size decreases when the item is damaged. This bug will be fixed in MCreator 1.8.2.

I would like this bug is kept, because it's useful for magic things that can be repaired

Submitted by Klemen on Sun, 01/20/2019 - 14:51

You will still be able to do this using set provided items damage to block as this one will not verify minimal damage.