mojira.dev
MC-188560

Custom dimension option "disable_mob_generation" does not appear to work

Setting the custom dimension option "disable_mob_generation" to false in a custom dimension does not appear to stop mobs from spawning, both passive and hostiles still spawn.

This option should be respected, better yet, there should be options for different groups of mobs or the ability to disable on a per mob basis. Cod and other such mobs cause a lot of lag but don't provide much additional gameplay, it would be good to be able to disable them in certain dimensions.

 

.../custom/void.json

{
    "generator": {
    "settings": {
        "disable_mob_generation": true,
        "structures": {
            "structures": {}
        },
        "layers": [{
            "height": 1,
            "block": "minecraft:air"
        }],
        "biome": "minecraft:the_void"
        },
        "type": "minecraft:flat"
    },
    "type": "minecraft:overworld"
}

 

Comments 6

"Mob generation" and "Mob spawning" could technically be two different things - some structures, bastion remnants for examples, generate with mobs upon generation, this option could mean that it disables this - mob spawning can be disabled by changing the gamerule.

If that is the case, the relevant documentation should be updated to clarify the difference. I understand the reason behind the setting, however, individual control over mobs per dimension would be more useful.

As Alex says being able to turn off mobs spawns completely in a dimension is much more useful. The biggest generator of lag on vanilla servers is controlling mob numbers, in particular in areas where you wish players to be safe and in general with excessive numbers of mobs like cod when players choose to base in ocean biomes.

Since there doesn't seem to be a way of setting different gamerules for different dimensions apart from time cycling and has raids this being what we believed it to be would be enormously useful

"disable_mob_generation" prevents mob generation at world generation, not mob spawning.

So is there a way you can put in mob spawning per dimension then. I was honestly so excited to see mob generation rule now that it's I guess sorta clarified it's not all that useful.

 

Please add in an option for hostile mob generation per dimension or the ability to disable certain mob spawns per dimension. Please also clarify mob generation in the patch notes I know alot of people who got really excited about that and who'll now be disappointed. 

Alex

(Unassigned)

Plausible

Custom Worlds, Mob spawning

1.16 Pre-release 3

Retrieved