mojira.dev
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
    }
}

Comments 0

No comments.

Misode

slicedlime

Plausible

Normal

World generation

1.17, 1.17.1 Pre-release 1

1.18 Pre-release 1

Retrieved