Tool Damaging by Procedure Does Not Break the Tool

Upvotes: 0
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

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

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



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.