Main hand off hand check for food doesn't work

Published by Kinyoshi on Tue, 08/11/2020 - 01:18
Status
Works as designed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

unless there is another way to do the procedure, I think I'm doing it right, it is the same procedure I have used for main hand and off hand check for on right click..

on right click works and gives you the item in the off hand and main hand.. but the on eaten doesn't give you the item..

This is related to my previous post.

Attachment Size
souptest.zip10.04 KB 10.04 KB

Issue comments

The source entity of this procedure is event entity, no need for source when there is only a target entity involved in the trigger.

I will do the testing on your provided example, though.

I suspect this is because on food eaten is called before the item is removed from the hand, causing this problem due to your new item being removed from your slot by food after your procedure is executed.

Unfortunately, it is as I suspected.

I suspect this is because on food eaten is called before the item is removed from the hand, causing this problem due to your new item being removed from your slot by food after your procedure is executed.

I suggest opening a feature request to be able to specify food eating result item.



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.