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

Monster natural spawning problem with custom light levels

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.1
    • None
    • Community Consensus
    • Data Packs, Mob spawning
    • Important
    • Platform

      Monsters don't spawn in proper light levels when changing them via a datapack.

      How to reproduce:

      • Create a datapack and alter the "dimension_type" (for example: "overworld.json") to the following values:
      ...
      "monster_spawn_block_light_limit": 15,
      "monster_spawn_light_level": {
          "type": "minecraft:uniform",
          "max_inclusive": 15,
          "min_inclusive": 10
      },
      ...
      • Load into the game and set up a lit area with light level 10+ under the sky.

      Result: monsters don't spawn in that lit area

      Note: the monsters will still spawn in light levels below 7 or lower if the area isn't under the sky.

            Unassigned Unassigned
            DMan16 David Tsi
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: