Started by
ImSeyo
on
Topic category: Help with Minecraft modding (Java Edition)
So. My idea is for my entity to attack the player with the check "RETURN if a certain global variable = true AND the player's command = red":
After that, I inserted this trigger into the AI entity to check the attack on the player:
I launch my world and as a result, after the entity finds the player, the game immediately crashes with an error.
I had to try a lot of options to fix this error and that's what I managed to find out. Some of them work and some don't (the game crashes):
In addition, I even had to resort to NBT tags, but still without success.
I have not found any information about this anywhere and I ask you to help.
Edited by ImSeyo on Sat, 01/06/2024 - 06:52
So, good. I had to resort to using custom potions. But I will not close this forum, because suddenly someone will face the same problem and in no case should he resort to the potion option. I'm waiting for an answer anyway.
Could you provide the crash log?
I tried to try sending a crash log using comments, but you can't insert too much text here. Here is a link to the Google drive with crash log:
https://drive.google.com/file/d/1cDgeB5RKgTD29q05MDljMDNLcMi3zFuv/view?…
Because it is not allowed. Please read General Publishing Guidelines.
It seems you are using entity procedure block that can return null value. Check out https://github.com/MCreator/MCreator/issues/4461
Okay, thanks, I kind of figured it out