Disable Mob Dispawn

Upvotes: 0
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

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.

Another parameter that controls this is:

protected boolean canDespawn(){
        return false;
}

 

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



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.