Topic category: Bugs and solutions
I discovered today that the Open/Close/Break door AI events do not work in MCreator. The mobs simply act as if the doors are any other block.
Luckily I managed to fix this issue. Go into the Code Tab and open the mob class. Anywhere at the top of your page with the import lines add:
Then go down until you find the area containing your AI tasks. Above the AI tasks add the following line/s:
For breaking doors:
For opening doors:
This will work! :D
Dear MCreator devs - In the next version please fix this issue by causing the respective AI tasks to add these lines of code.
Mobs in Minecraft have a path navigator separate from their AI. MCreator only tells the mob's AI to break doors. The navigator doesn't know about this, so it just ignores the doors. However doing this tells the navigator to treat doors as not being there.
Hope this helped!