'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

Developer Submitted by Klemen on Fri, 08/02/2019 - 07:52

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

Developer Submitted by Klemen on Sun, 09/01/2019 - 16:01

This feature will be added in MCreator 1.9.1.