Started by Starliner418 on Tue, 10/03/2017 - 12:40
Topic category: Troubleshooting, bugs, and solutions
Hi, I have problems with my new mob. So, I made a mob with custom AI and everything works fine, but there are some problems. The first one is that, opening and closing doors AI doesn't work and Tend go to hpuse AI doesn't work too. The second one is that, when I move away from the mob for some time, then when I come back this mob is gone. These are minor problems, but they may adversely affect my modification :( . Oh, and if anyone can solve my another problem, there is the link: https://mcreator.pylo.co/forum/39118/mcreator-173-inventory-block-probl…
There you can see the code of my mob: https://www.dropbox.com/s/odf2m1qt6dmvrye/mcreator_spongebob.java?dl=0
It's a vanilla behavior mob despawning and it's absolutely normal
Really? But when I spawned pigs, moved away, a came back they didn't disapper. I think it's a missing thing in mob's code.
@#2 Pigs are passive mobs and they don't despawn. Try putting mobs like Zombies(under shade) and move away. The should disappear if you are away for long enough.
I have a similar issue but it's worse. When I spawn one of my custom mobs, it istantly crashes minecraft. It might be a ticking error but I don't know and even if it is I don't know how to fix it. I need it to be fixed ASAP for my new mod "Craft Of Empires".