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

Spawner custom light limit rules does not support multiple spawn potentials

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.18.1
    • Unconfirmed
    • Creative
    • (Unassigned)

      Command to reproduce in a command block with light: 

      /setblock ~ ~1 ~ spawner{SpawnData:{entity:{id:"minecraft:creeper"},custom_spawn_rules:{sky_light_limit:{min_inclusive:0,max_inclusive:15},block_light_limit:{min_inclusive:0,max_inclusive:15}}},SpawnPotentials:[{weight:1,custom_spawn_rules:{sky_light_limit:{min_inclusive:0,max_inclusive:15},block_light_limit:{min_inclusive:0,max_inclusive:15}},data:{entity:{id:"minecraft:creeper"}}},{weight:1,custom_spawn_rules:{sky_light_limit:{min_inclusive:0,max_inclusive:15},block_light_limit:{min_inclusive:0,max_inclusive:15}},data:{entity:{id:"minecraft:husk"}}}]} replace

       

      Expected outcome: spawn both of those mobs with light rules

            Unassigned Unassigned
            willninjagamer William
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: