Disable Mob Dispawn

Issue description

You can disable Mob Dispawn in next updates?

Because Imagine you are in a Dungeon, you summon a Boss with an Altar, and when you die, you come back and the boss is gone, and you need to found another dungeon, Worst is that we need to re-do the fight from start... that's pretty annoying!

Issue comments

Submitted by Klemen on Sun, 12/16/2018 - 10:23

We will add this in the future updates. You basically need to call

entity.enablePersistence()

You can also give entity some equipment and it will automatically be made persistent as a workaround for now.

Submitted by Klemen on Thu, 01/10/2019 - 16:19

Another parameter that controls this is:

protected boolean canDespawn(){
        return false;
}

 

Submitted by Klemen on Thu, 01/10/2019 - 17:17

This feature will be added in MCreator 1.8.2. I am closing this ticket.