Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-229013

Lava lake decorator config is unused

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 1.18 Pre-release 1
    • 1.17, 1.17.1 Pre-release 1
    • None
    • Plausible
    • World generation
    • Normal

    Description

      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
          }
      }
      

      Attachments

        Activity

          People

            slicedlime [Mojang] slicedlime
            Misoloo [Helper] Misode
            Votes:
            9 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              CHK: