Started by
retroPacifist
on
Topic category: Help with Minecraft modding (Java Edition)
Hello, I am trying to code a mob which, upon being fed 5 nether wart, becomes a cocoon. I thought I coded it correctly, but it doesn't seem to be functioning as intended. Any help is greatly appreciated!
Item in "entity's" main hand might be your problem. What is entity pointing to here? The mob or the player? I think it's the mob if this is a procedure called from the mob procedure calls.
There's an issue open about this:
https://mcreator.net/tracker/issue/45976
Is there a way (within the code) to clarify? Or at least get around it? Thanks for the quick response!