'If beds will explode in this dimension' option?

Upvotes: 1
Issue description

So I think this is a basic feature, requiring minimal amount of code. This can be useful in boss fight dimensions etc. because it would be too easy to just chuck 5 golden apples and place a bunch of beds and ignite them.

Issue comments

This can be controlled by this code in the WorldProvider:

public WorldSleepResult canSleepAt(net.minecraft.entity.player.EntityPlayer player, BlockPos pos){
        return WorldSleepResult.BED_EXPLODES;

Merging with this ticket: https://mcreator.net/tracker/issue/47600

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.