Items that deactivate potion doesn't work

Published by addaon on Wed, 04/08/2020 - 08:49
Status
Resolved
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

I am not English speaking, so I apologize in advance for possible mistakes.

Selected items in the panel "items that deactivate this potion" do not affect the potion in the game.
if you remove the bucket of milk, it will still have an effect of deactivaton.
if you want add another item to remove the effect of the potion, it will not work either.

mod for 1.14.4

Attachment Size
test_potion_workspace.zip16.35 KB 16.35 KB

Issue comments

Attach your MCreator workspace (or even better a minimal example workspace required to reproduce the bug) please

I can confirm this parameter is set in the code but does not actually control if the item can cure this potion by the design of Forge and MC code.

I will remove this field as it seems that this field no longer serves its purpose and I did not find a good solution to overcome this limit in the code.

I might, trust me I spent over two hours yesterday trying to find a fix, but only real fix is to make custom item that removes potions, you can not add function to existing item if it is not even edible to heal potions.

Making an item deactivate the effect of a potion is really not difficult. For me, the function was important because it forbade to remove the custom potion effect with using a bucket of milk. Although, I found another way to do this.

Thanks for answers!



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.