Mojira Archive
MC-229013

Lava lake decorator config is unused

The lava_lake decorator uses a chance configuration, but it never uses this chance.

Code snippet uses Mojang mappings, showing that the LakeLavaPlacementDecorator doesn't use the config.

protected int count(Random random, ChanceDecoratorConfiguration config, BlockPos blockPos) {
    return blockPos.getY() < 63 || random.nextInt(10) == 0;
}

When using this decorator the chance is required.

{
    "type": "minecraft:lava_lake",
    "config": {
        "chance": 80
    }
}

Fixed

[Helper] Misode

[Mojang] slicedlime

2021-06-14, 06:21 PM

2021-11-10, 04:06 PM

2021-11-10, 04:06 PM

9

6

Plausible

Normal

World generation

1.17, 1.17.1 Pre-release 1

1.18 Pre-release 1