#include "/lib/common.glsl"
#include "/lib/shaderSettings/materials.glsl"

#define PH_TORCH_ID `*10496`
#define PH_JACK_O_LANTERN_ID `*10396`
#define PH_CANDLE_ID `*10900`
#define PH_RED_CANDLE_ID `*10902`
#define PH_ORANGE_CANDLE_ID `*10904`
#define PH_YELLOW_CANDLE_ID `*10906`
#define PH_LIME_CANDLE_ID `*10908`
#define PH_GREEN_CANDLE_ID `*10910`
#define PH_CYAN_CANDLE_ID `*10912`
#define PH_LIGHT_BLUE_CANDLE_ID `*10914`
#define PH_BLUE_CANDLE_ID `*10916`
#define PH_PURPLE_CANDLE_ID `*10918`
#define PH_MAGENTA_CANDLE_ID `*10920`
#define PH_PINK_CANDLE_ID `*10922`
#define PH_LANTERN_ID `*10560`, `*10562`
#define PH_CAMPFIRE_ID `*10652`
#define PH_SOUL_TORCH_ID `*10528`
#define PH_SOUL_LANTERN_ID `*10564`
#define PH_SOUL_CAMPFIRE_ID `*10656`
#define PH_COPPER_TORCH_ID `*10984`
#define PH_COPPER_LANTERN_ID `*10988`
#define PH_REDSTONE_LAMP_ID `*10640`
#define PH_COPPER_BULB_NORMAL_ID `*10852`
#define PH_COPPER_BULB_EXPOSED_ID `*10853`
#define PH_COPPER_BULB_WEATHERED_ID `*10856`
#define PH_COPPER_BULB_OXIDIZED_ID `*10857`
#define PH_REDSTONE_TORCH_ID `*10604`
#define PH_REPEATER_COMPARATOR_ID `*10644`
#define PH_REDSTONE_ORE_LIT_ID `*10616`, `*10624`
#define PH_REDSTONE_ORE_UNLIT_ID `*10612`, `*10620`
#define PH_REDSTONE_BLOCK_ID `*10608`
#define PH_AMETHYST_BLOCK_ID `*10328`, `*10329`, `*10332`
#define PH_CAVE_VINES_ID `*10632`
#define PH_FIRE_ID `*10072`
#define PH_SOUL_FIRE_ID `*10076`
#define PH_LAVA_ID `*10068`, `*10070`
#define PH_MAGMA_BLOCK_ID `*10452`
#define PH_CRYING_OBSIDIAN_ID `*10476`
#define PH_NETHER_PORTAL_ID `*30020`
#define PH_RESPAWN_ANCHOR_NO_CHARGE_ID `*10588`
#define PH_RESPAWN_ANCHOR_ID `*10592`
#define PH_SCULK_ID `*10696`, `*10700`, `*10704`, `*10788`
#define PH_END_GATEWAY_ID `*5024`
#define PH_END_PORTAL_FRAME_ID `*10556`
#define PH_END_PORTAL_FRAME_INACTIVE_ID `*10554`
#define PH_END_ROD_ID `*10500`
#define PH_OCHRE_FROGLIGHT_ID `*10680`
#define PH_VERDANT_FROGLIGHT_ID `*10684`
#define PH_PEARLESCENT_FROGLIGHT_ID `*10688`
#define PH_SEA_LANTERN_ID `*10448`
#define PH_BEACON_ID `*32016`
#define PH_SHROOMLIGHT_ID `*10648`, `*10649`
#define PH_LAVA_CAULDRON_ID `*10056`
#define PH_LIT_FURNACE_ID `*10516`, `*10576`, `*10580`
#define PH_GLOWSTONE_ID `*10412`
#define PH_GLOW_LICHEN_ID `*10544`
#define PH_ENCHANTING_TABLE_ID `*10548`
#define PH_BREWING_STAND_ID `*10836`


{
  "defines": {
    "colors": {
      "torch": "#ffa95b",
      "campfire": "#ff9732",
      "white_candle": "#ffffff",
      "gray_candle": "#6b6b6b",
      "black_candle": "#6b6b6b",
      "red_candle": "#ff5555",
      "orange_candle": "#fc7f18",
      "yellow_candle": "#ffff55",
      "lime_candle": "#55ff55",
      "green_candle": "#00aa00",
      "cyan_candle": "#00aaaa",
      "light_blue_candle": "#55ffff",
      "blue_candle": "#5555ff",
      "purple_candle": "#812bb2",
      "magenta_candle": "#bb3bb2",
      "pink_candle": "#f387aa",
      "soul_fire": "#33ccff",
      "copper": "#75b37a",
      "redstone": "#ff3333",
      "amethyst": "#7a5bb5",
      "cave_vines": "#ffa757",
      "2500k": "#ff9f46",
      "magma": "#FF6600",
      "lava": "#B14700",
      "obsidian": "#8308e4",
      "sculk": "#278591",
      "end": "#aaaaaa",
      "generic": "#646464"
    },
    "intensities": {
      "dim": 8,
      "default": 14,
      "full_block": 17.6,
      "candle": 10.4,
      "lantern": 16,
      "campfire": 24,
      "lamp": 10.4,
      "exposed_lamp": 12,
      "weathered_lamp": 10.4,
      "oxidized_lamp": 28,
      "redstone": 7,
      "redstone_block": 16,
      "small_amethyst_bud": 10.4,
      "medium_amethyst_bud": 13.6,
      "large_amethyst_bud": 16,
      "amethyst_cluster": 21.6,
      "cave_vines": 5.6,
      "fire": 13.6,
      "lava": 6.7,
      "nether_portal": 6.7,
      "sculk_vein": 20,
      "end_rod": 6.8,
      "glowstone": 9.69
    },
    "radii": {
      "small": 1,
      "default": 4.5,
      "full_block": 6,
      "candle": 2,
      "lantern": 6,
      "campfire": 7,
      "lamp": 9,
      "exposed_lamp": 7,
      "weathered_lamp": 5,
      "oxidized_lamp": 1,
      "redstone": 1,
      "cave_vines": 4,
      "fire": 6,
      "lava": 7.3,
      "nether_portal": 15,
      "end_rod": 6,
      "glowstone": 7
    },
    "falloffs": {
      "fast": 1,
      "default": 0.2,
      "full_block": 0.15,
      "candle": 0.15,
      "lantern": 0.17,
      "campfire": 0.1,
      "lamp": 0.1,
      "exposed_lamp": 0.15,
      "weathered_lamp": 0.15,
      "oxidized_lamp": 0.15,
      "cave_vines": 0.1,
      "fire": 0.34,
      "lava": 0.17,
      "nether_portal": 0.15,
      "end_rod": 0.21,
      "glowstone": 0.5
    }
  },
  "lights": {
    "light_sources": {
      "intensity": "*default",
      "radius": "*default",
      "falloff": "*default",
      "is_traced": true,
      "overrides": {
        "torch": {
          "color": "*torch",
          "blocks": [
            "minecraft:torch",
            "minecraft:wall_torch",
            "minecraft:jack_o_lantern",
            PH_TORCH_ID,
            PH_JACK_O_LANTERN_ID
          ],
          "overrides": {
            "candle": {
              "intensity": "*candle",
              "radius": "*candle",
              "falloff": "*candle",
              #ifndef COLORED_CANDLE_LIGHT
              "blocks": [
                "minecraft:candle[lit=true]",
                "minecraft:candle_cake[lit=true]",
                "minecraft:brown_candle[lit=true]",
                "minecraft:brown_candle_cake[lit=true]",
                "minecraft:white_candle[lit=true]",
                "minecraft:white_candle_cake[lit=true]",
                PH_CANDLE_ID,
                "minecraft:gray_candle[lit=true]",
                "minecraft:gray_candle_cake[lit=true]",
                "minecraft:gray_candle[lit=true]",
                "minecraft:gray_candle_cake[lit=true]",
                "minecraft:black_candle[lit=true]",
                "minecraft:black_candle_cake[lit=true]",
                "minecraft:red_candle[lit=true]",
                "minecraft:red_candle_cake[lit=true]",
                PH_RED_CANDLE_ID,
                "minecraft:orange_candle[lit=true]",
                "minecraft:orange_candle_cake[lit=true]",
                PH_ORANGE_CANDLE_ID,
                "minecraft:yellow_candle[lit=true]",
                "minecraft:yellow_candle_cake[lit=true]",
                PH_YELLOW_CANDLE_ID,
                "minecraft:lime_candle[lit=true]",
                "minecraft:lime_candle_cake[lit=true]",
                PH_LIME_CANDLE_ID,
                "minecraft:green_candle[lit=true]",
                "minecraft:green_candle_cake[lit=true]",
                PH_GREEN_CANDLE_ID,
                "minecraft:cyan_candle[lit=true]",
                "minecraft:cyan_candle_cake[lit=true]",
                PH_CYAN_CANDLE_ID,
                "minecraft:light_blue_candle[lit=true]",
                "minecraft:light_blue_candle_cake[lit=true]",
                PH_LIGHT_BLUE_CANDLE_ID,
                "minecraft:blue_candle[lit=true]",
                "minecraft:blue_candle_cake[lit=true]",
                PH_BLUE_CANDLE_ID,
                "minecraft:purple_candle[lit=true]",
                "minecraft:purple_candle_cake[lit=true]",
                PH_PURPLE_CANDLE_ID,
                "minecraft:magenta_candle[lit=true]",
                "minecraft:magenta_candle_cake[lit=true]",
                PH_MAGENTA_CANDLE_ID,
                "minecraft:pink_candle[lit=true]",
                "minecraft:pink_candle_cake[lit=true]",
                PH_PINK_CANDLE_ID
              ]
              #else
              "blocks": [
                "minecraft:candle[lit=true]",
                "minecraft:candle_cake[lit=true]",
                "minecraft:brown_candle[lit=true]",
                "minecraft:brown_candle_cake[lit=true]"
              ],
              "overrides": {
                "white_candle": {
                  "color": "*white_candle",
                  "blocks": [
                    "minecraft:white_candle[lit=true]",
                    "minecraft:white_candle_cake[lit=true]",
                    PH_CANDLE_ID
                  ]
                },
                "gray_candle": {
                  "color": "*gray_candle",
                  "blocks": [
                    "minecraft:gray_candle[lit=true]",
                    "minecraft:gray_candle_cake[lit=true]",
                    PH_CANDLE_ID
                  ]
                },
                "black_candle": {
                  "color": "*black_candle",
                  "blocks": [
                    "minecraft:black_candle[lit=true]",
                    "minecraft:black_candle_cake[lit=true]",
                    PH_CANDLE_ID
                  ]
                },
                "red_candle": {
                  "color": "*red_candle",
                  "blocks": [
                    "minecraft:red_candle[lit=true]",
                    "minecraft:red_candle_cake[lit=true]",
                    PH_RED_CANDLE_ID
                  ]
                },
                "orange_candle": {
                  "color": "*orange_candle",
                  "blocks": [
                    "minecraft:orange_candle[lit=true]",
                    "minecraft:orange_candle_cake[lit=true]",
                    PH_ORANGE_CANDLE_ID
                  ]
                },
                "yellow_candle": {
                  "color": "*yellow_candle",
                  "blocks": [
                    "minecraft:yellow_candle[lit=true]",
                    "minecraft:yellow_candle_cake[lit=true]",
                    PH_YELLOW_CANDLE_ID
                  ]
                },
                "lime_candle": {
                  "color": "*lime_candle",
                  "blocks": [
                    "minecraft:lime_candle[lit=true]",
                    "minecraft:lime_candle_cake[lit=true]",
                    PH_LIME_CANDLE_ID
                  ]
                },
                "green_candle": {
                  "color": "*green_candle",
                  "blocks": [
                    "minecraft:green_candle[lit=true]",
                    "minecraft:green_candle_cake[lit=true]",
                    PH_GREEN_CANDLE_ID
                  ]
                },
                "cyan_candle": {
                  "color": "*cyan_candle",
                  "blocks": [
                    "minecraft:cyan_candle[lit=true]",
                    "minecraft:cyan_candle_cake[lit=true]",
                    PH_CYAN_CANDLE_ID
                  ]
                },
                "light_blue_candle": {
                  "color": "*light_blue_candle",
                  "blocks": [
                    "minecraft:light_blue_candle[lit=true]",
                    "minecraft:light_blue_candle_cake[lit=true]",
                    PH_LIGHT_BLUE_CANDLE_ID
                  ]
                },
                "blue_candle": {
                  "color": "*blue_candle",
                  "blocks": [
                    "minecraft:blue_candle[lit=true]",
                    "minecraft:blue_candle_cake[lit=true]",
                    PH_BLUE_CANDLE_ID
                  ]
                },
                "purple_candle": {
                  "color": "*purple_candle",
                  "blocks": [
                    "minecraft:purple_candle[lit=true]",
                    "minecraft:purple_candle_cake[lit=true]",
                    PH_PURPLE_CANDLE_ID
                  ]
                },
                "magenta_candle": {
                  "color": "*magenta_candle",
                  "blocks": [
                    "minecraft:magenta_candle[lit=true]",
                    "minecraft:magenta_candle_cake[lit=true]",
                    PH_MAGENTA_CANDLE_ID
                  ]
                },
                "pink_candle": {
                  "color": "*pink_candle",
                  "blocks": [
                    "minecraft:pink_candle[lit=true]",
                    "minecraft:pink_candle_cake[lit=true]",
                    PH_PINK_CANDLE_ID
                  ]
                }
              }
              #endif
            },
            "lantern": {
              "intensity": "*lantern",
              "radius": "*lantern",
              "falloff": "*lantern",
              "blocks": ["minecraft:lantern", PH_LANTERN_ID]
            },
            "campfire": {
              "color": "*campfire",
              "intensity": "*campfire",
              "radius": "*campfire",
              "falloff": "*campfire",
              "blocks": ["minecraft:campfire[lit=true]", PH_CAMPFIRE_ID]
            }
          }
        },
        "soul_torch": {
          "color": "*soul_fire",
          "intensity": 11,
          "blocks": ["minecraft:soul_torch", "minecraft:soul_wall_torch", PH_SOUL_TORCH_ID],
          "overrides": {
            "lantern": {
              "radius": "*lantern",
              "falloff": "*lantern",
              "blocks": ["minecraft:soul_lantern", PH_SOUL_LANTERN_ID]
            },
            "campfire": {
              "radius": "*campfire",
              "falloff": "*campfire",
              "blocks": ["minecraft:soul_campfire[lit=true]", PH_SOUL_CAMPFIRE_ID]
            }
          }
        },
        "copper_torch": {
          "color": "*copper",
          "blocks": ["minecraft:copper_torch", "minecraft:copper_wall_torch", PH_COPPER_TORCH_ID],
          "overrides": {
            "lantern": {
              "intensity": "*lantern",
              "radius": "*lantern",
              "falloff": "*lantern",
              "blocks": [
                "minecraft:copper_lantern",
                "minecraft:exposed_copper_lantern",
                "minecraft:weathered_copper_lantern",
                "minecraft:oxidized_copper_lantern",
                "minecraft:waxed_copper_lantern",
                "minecraft:waxed_exposed_copper_lantern",
                "minecraft:waxed_weathered_copper_lantern",
                "minecraft:waxed_oxidized_copper_lantern",
                PH_COPPER_LANTERN_ID
              ]
            }
          }
        },
        "lamps": {
          "color": "*torch",
          "intensity": "*lamp",
          "radius": "*lamp",
          "falloff": "*lamp",
          "blocks": [
            "minecraft:redstone_lamp[lit=true]",
            "minecraft:copper_bulb[lit=true]",
            "minecraft:waxed_copper_bulb[lit=true]",
            PH_REDSTONE_LAMP_ID,
            PH_COPPER_BULB_NORMAL_ID
          ],
          "overrides": {
            "exposed_bulb": {
              "intensity": "*exposed_lamp",
              "radius": "*exposed_lamp",
              "falloff": "*exposed_lamp",
              "blocks": [
                "minecraft:exposed_copper_bulb[lit=true]",
                "minecraft:waxed_exposed_copper_bulb[lit=true]",
                PH_COPPER_BULB_EXPOSED_ID
              ]
            },
            "weathered_bulb": {
              "intensity": "*weathered_lamp",
              "radius": "*weathered_lamp",
              "falloff": "*weathered_lamp",
              "blocks": [
                "minecraft:weathered_copper_bulb[lit=true]",
                "minecraft:waxed_weathered_copper_bulb[lit=true]",
                PH_COPPER_BULB_WEATHERED_ID
              ]
            },
            "oxidized_bulb": {
              "intensity": "*oxidized_lamp",
              "radius": "*oxidized_lamp",
              "falloff": "*oxidized_lamp",
              "is_traced": false,
              "blocks": [
                "minecraft:oxidized_copper_bulb[lit=true]",
                "minecraft:waxed_weathered_copper_bulb[lit=true]",
                PH_COPPER_BULB_OXIDIZED_ID
              ]
            },
            "light_block": {
              "color": "*generic",
              "blocks": [
                "minecraft:light[level=1]",
                "minecraft:light[level=2]",
                "minecraft:light[level=3]",
                "minecraft:light[level=4]",
                "minecraft:light[level=5]",
                "minecraft:light[level=6]",
                "minecraft:light[level=7]",
                "minecraft:light[level=8]",
                "minecraft:light[level=9]",
                "minecraft:light[level=10]",
                "minecraft:light[level=11]",
                "minecraft:light[level=12]",
                "minecraft:light[level=13]",
                "minecraft:light[level=14]",
                "minecraft:light[level=15]"
              ]
            }
          }
        },
        "redstone": {
          "color": "*redstone",
          "blocks": [
            "minecraft:redstone_torch[lit=true]",
            "minecraft:redstone_wall_torch[lit=true]",
            PH_REDSTONE_TORCH_ID
          ],
          "overrides": {
            "ore": {
              "intensity": 16,
              "radius": "*redstone",
              "blocks": [
                "minecraft:redstone_ore[lit=true]",
                "minecraft:deepslate_redstone_ore[lit=true]",
                PH_REDSTONE_ORE_LIT_ID
              ],
              "overrides": {
                "unlit_ore": {
                  "intensity": 0,
                  "blocks": [
                    "minecraft:redstone_ore[lit=false]",
                    "minecraft:deepslate_redstone_ore[lit=false]",
                    PH_REDSTONE_ORE_UNLIT_ID
                  ]
                }
              }
            },
            "repeater_comparator":{
              "intensity": "*redstone",
              "radius": "*redstone",
              "blocks": [
                "minecraft:repeater[powered=true]",
                "minecraft:comparator[powered=true]",
                PH_REPEATER_COMPARATOR_ID
              ]
            },
            "dust": {
              "intensity": "*redstone",
              "radius": "*redstone",
              "is_traced": false,
              "blocks": [
                "minecraft:redstone_wire[power=1]",
                "minecraft:redstone_wire[power=2]",
                "minecraft:redstone_wire[power=3]",
                "minecraft:redstone_wire[power=4]",
                "minecraft:redstone_wire[power=5]",
                "minecraft:redstone_wire[power=6]",
                "minecraft:redstone_wire[power=7]",
                "minecraft:redstone_wire[power=8]",
                "minecraft:redstone_wire[power=9]",
                "minecraft:redstone_wire[power=10]",
                "minecraft:redstone_wire[power=11]",
                "minecraft:redstone_wire[power=12]",
                "minecraft:redstone_wire[power=13]",
                "minecraft:redstone_wire[power=14]",
                "minecraft:redstone_wire[power=15]"
              ]
            },
            "block": {
              "intensity": "*full_block",
              "radius": "*full_block",
              #ifndef EMISSIVE_REDSTONE_BLOCK
              "intensity": 0,
              #endif
              "falloff": "*full_block",
              "blocks": ["minecraft:redstone_block", PH_REDSTONE_BLOCK_ID]
            }
          }
        },
        "amethyst": {
          "color": "*amethyst",
          "blocks": [
            "minecraft:budding_amethyst", "minecraft:amethyst_block",
            PH_AMETHYST_BLOCK_ID
            ],
          "overrides": {
            "small_bud": {
              "intensity": "*small_amethyst_bud",
              "blocks": [{ value: "minecraft:small_amethyst_bud", "priority": 1 }]
            },
            "medium_bud": {
              "intensity": "*medium_amethyst_bud",
              "blocks": [{ value: "minecraft:medium_amethyst_bud", "priority": 1 }]
            },
            "large_bud": {
              "intensity": "*large_amethyst_bud",
              "blocks": [{ value: "minecraft:large_amethyst_bud", "priority": 1 }]
            },
            "cluster": {
              "intensity": "*amethyst_cluster",
              "blocks": [{ value: "minecraft:amethyst_cluster", "priority": 1 }]
            }
          }
        },
        "cave_vines": {
          "color": "*cave_vines",
          "intensity": "*cave_vines",
          "radius": "*cave_vines",
          "falloff": "*cave_vines",
          "blocks": [
            "minecraft:cave_vines[berries=true]",
            "minecraft:cave_vines_plant[berries=true]",
            PH_CAVE_VINES_ID
          ]
        },
        "fire": {
          "intensity": "*fire",
          "radius": "*fire",
          "falloff": "*fire",
          "overrides": {
            "regular": {
              "color": "*magma",
              "blocks": ["minecraft:fire", PH_FIRE_ID]
            },
            "soul": {
              "color": "*soul_fire",
              "blocks": ["minecraft:soul_fire", PH_SOUL_FIRE_ID]
            }
          }
        },
        "lava": {
          "color": "*lava",
          "intensity": "*lava",
          "radius": "*lava",
          "falloff": "*lava",
          "blocks": ["minecraft:lava", PH_LAVA_ID],
          "overrides": {
            "magma_block": {
              "color": "*magma",
              "intensity": "*full_block",
              "radius": "*full_block",
              "falloff": "*full_block",
              "blocks": ["minecraft:magma_block", PH_MAGMA_BLOCK_ID]
            }
          }
        },
        "obsidian": {
          "color": "*obsidian",
          "intensity": "*full_block",
          "radius": "*full_block",
          "falloff": "*full_block",
          "blocks": ["minecraft:crying_obsidian", PH_CRYING_OBSIDIAN_ID],
          "overrides": {
            "nether_portal": {
              "intensity": "*nether_portal",
              "radius": "*nether_portal",
              "falloff": "*nether_portal",
              "blocks": ["minecraft:nether_portal", PH_NETHER_PORTAL_ID]
            },
            "respawn_anchor": {
              "intensity": "*default",
              "radius": "*default",
              "falloff": "*default",
              "blocks": ["minecraft:respawn_anchor[charges=0]", PH_RESPAWN_ANCHOR_NO_CHARGE_ID],
              "overrides": {
                "charged": {
                  "color": "#b873ac",
                  "blocks": [
                    "minecraft:respawn_anchor[charges=1]",
                    "minecraft:respawn_anchor[charges=2]",
                    "minecraft:respawn_anchor[charges=3]",
                    "minecraft:respawn_anchor[charges=4]",
                    PH_RESPAWN_ANCHOR_ID
                  ]
                }
              }
            }
          }
        },
        "sculk": {
          "color": "*sculk",
          "intensity": 25,
          "radius": 1.5,
          "falloff": 0.7,
          "blocks": [
            "minecraft:sculk_sensor[sculk_sensor_phase=active]",
            "minecraft:calibrated_sculk_sensor[sculk_sensor_phase=active]",
            "minecraft:sculk_catalyst",
            "minecraft:sculk_shrieker",
            PH_SCULK_ID
          ],
          "overrides": {
            "vein": {
              "intensity": "*sculk_vein",
              "is_traced": false,
              "blocks": ["minecraft:sculk_vein"]
            },
            "deactivated_sculk_sensor": {
              "intensity": 0,
              "blocks": [
                { value: "minecraft:sculk_sensor[sculk_sensor_phase=inactive]", "priority": 1 },
                { value: "minecraft:sculk_sensor[sculk_sensor_phase=cooldown]", "priority": 1 },
                { value: "minecraft:calibrated_sculk_sensor[sculk_sensor_phase=inactive]", "priority": 1 },
                { value: "minecraft:calibrated_sculk_sensor[sculk_sensor_phase=cooldown]", "priority": 1 }
              ]
            }
          }
        },
        "end": {
          "color": "*end",
          "intensity": 3.75,
          "radius": 2.75,
          "blocks": ["minecraft:end_gateway", PH_END_GATEWAY_ID],
          "overrides": {
            "end_portal": {
              "color": "#41E0C6",
              "intensity": 4.75,
              "radius": 5,
              "blocks": [{ value: "minecraft:end_portal", "priority": 1 }]
            },
            "end_rod": {
              "color": "*end",
              "intensity": "*end_rod",
              "radius": "*end_rod",
              "falloff": "*end_rod",
              "blocks": ["minecraft:end_rod", PH_END_ROD_ID]
            },
            "end_portal_frame": {
              "color": "#51B35E",
              "intensity": 4,
              "radius": 2,
              "blocks": ["minecraft:end_portal_frame[eye=true]", PH_END_PORTAL_FRAME_ID]
            },
            "end_portal_frame_inactive": {
              "intensity": 0,
              "blocks": ["minecraft:end_portal_frame[eye=false]", PH_END_PORTAL_FRAME_INACTIVE_ID]
            }
          }
        },
        "froglight": {
          "intensity": "*full_block",
          "radius": "*full_block",
          "falloff": "*full_block",
          "overrides": {
            "pearlescent": {
              "color": "#b28abd",
              "blocks": ["minecraft:pearlescent_froglight", PH_PEARLESCENT_FROGLIGHT_ID]
            },
            "verdant": {
              "color": "#91c382",
              "blocks": ["minecraft:verdant_froglight", PH_VERDANT_FROGLIGHT_ID]
            },
            "ochre": {
              "color": "*2500k",
              "blocks": ["minecraft:ochre_froglight", PH_OCHRE_FROGLIGHT_ID]
            }
          }
        },
        "sea_lantern": {
          "intensity": 70,
          "radius": 4.5,
          "falloff": 0.4,
          "color": "rgb(0.553, 0.748, 0.859)",
          "blocks": ["minecraft:sea_lantern", PH_SEA_LANTERN_ID]
        },
        "beacon": {
          "intensity": 45,
          "radius": 4.5,
          "falloff": 0.5,
          "color": "rgb(0.55, 0.9, 1.0)",
          "blocks": ["minecraft:beacon", PH_BEACON_ID]
        },
        "other": {
          "color": "*torch",
          "overrides": {
            "blocks": {
              "intensity": "*full_block",
              "radius": "*full_block",
              "falloff": "*full_block",
              "overrides": {
                "2500k": {
                  "color": "*2500k",
                  "blocks": [
                    "minecraft:shroomlight",
                    "minecraft:lava_cauldron",
                    "minecraft:furnace[lit=true]",
                    "minecraft:blast_furnace[lit=true]",
                    "minecraft:smoker[lit=true]",
                    PH_SHROOMLIGHT_ID,
                    PH_LAVA_CAULDRON_ID,
                    PH_LIT_FURNACE_ID
                  ]
                },
                "generic": {
                  "color": "*generic",
                  "blocks": [
                    "minecraft:vault",
                    "minecraft:trial_spawner"
                  ]
                },
                "dragon_egg": {
                  "color": "#971E8D",
                  #ifndef EMISSIVE_DRAGON_EGG
                  "intensity": 0,
                  #endif
                  "blocks": ["minecraft:dragon_egg"]
                }
              }
            },
            "glowstone": {
              "intensity": "*glowstone",
              "radius": "*glowstone",
              "falloff": "*glowstone",
              "blocks": ["minecraft:glowstone", PH_GLOWSTONE_ID]
            },
            "glow_lichen": {
              "color": "#8ea499",
              "intensity": 6,
              "radius": 0.7,
              "falloff": 0.6,
              "blocks": ["minecraft:glow_lichen", PH_GLOW_LICHEN_ID]
            },
            "enchanting_table": {
              "color": "#77CBD1",
              "radius": 1,
              #ifndef EMISSIVE_ENCHANTING_TABLE
              "intensity": 0,
              #endif
              "blocks": ["minecraft:enchanting_table", PH_ENCHANTING_TABLE_ID]
            },
            "brewing_stand": {
              "color": "#efef7b",
              "radius": 1,
              "blocks": ["minecraft:brewing_stand", PH_BREWING_STAND_ID]
            }
          }
        },
        "glowing_metals": {
          "intensity": "*full_block",
          "radius": 1,
          "falloff": 0.5,
          "overrides": {
            "lapis": {
              #ifndef EMISSIVE_LAPIS_BLOCK
              "intensity": 0,
              #endif
              "color": "#1965B1",
              "blocks": ["minecraft:lapis_block"]
            },
            "emerald": {
              #ifndef GLOWING_EMERALD_BLOCK
              "intensity": 0,
              #endif
              "color": "#1ed760",
              "blocks": ["minecraft:emerald_block"]
            }
          }
        },
        "modded_lights":{
          "intensity": "*full_block",
          "radius": "*full_block",
          "falloff": "*full_block",
           "overrides": {
             "white": {
               "color": "#ffffff",
               "blocks": ["*21000"]
             },
             "brown": {
               "color": "#6b6b6b",
               "blocks": ["*21002"]
             },
              "red": {
                "color": "#ff5555",
                "blocks": ["*21004"]
              },
              "orange": {
                "color": "#fc7f18",
                "blocks": ["*21006"]
              },
              "yellow": {
                "color": "#ffff55",
                "blocks": ["*21008"]
              },
              "lime": {
                "color": "#46FD46",
                "blocks": ["*21010"]
              },
              "green": {
                "color": "#00aa00",
                "blocks": ["*21012"]
              },
              "cyan": {
                "color": "#00aaaa",
                "blocks": ["*21014"]
              },
              "light_blue": {
                "color": "#55ffff",
                "blocks": ["*21016"]
              },
              "blue": {
                "color": "#5555ff",
                "blocks": ["*21018"]
              },
              "purple": {
                "color": "#812bb2",
                "blocks": ["*21020"]
              },
              "magenta": {
                "color": "#bb3bb2",
                "blocks": ["*21022"]
              },
              "pink": {
                "color": "#f387aa",
                "blocks": ["*21024"]
              }
           }
        }
      }
    }
  }
}
