{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.bed_lamp_light_function": {
      "states": {
        "default": {
          "transitions": [
            { "off": "query.skin_id == 0" },
            { "on": "query.skin_id == 1" }
          ]
        },
		
        "on": {
          "on_entry": [ "/setblock ~~~ light_block 8" ],
          "transitions": [ { "default": "query.skin_id != 1"} ]
		},
        "off": {
          "on_entry": [ "/fill ~~~ ~~~ air 0 replace light_block" ],
          "transitions": [ { "default": "query.skin_id != 0"} ]
		}
	  }
	},
    "controller.animation.long_chinese_lantern_light_function": {
      "states": {
        "default": {
          "transitions": [
            { "off": "query.skin_id == 0" },
            { "on": "query.skin_id == 1" }
          ]
        },
		
        "on": {
          "on_entry": [ "/setblock ~~~ light_block 5" ],
          "transitions": [ { "default": "query.skin_id != 1"} ]
		},
        "off": {
          "on_entry": [ "/fill ~~~ ~~~ air 0 replace light_block" ],
          "transitions": [ { "default": "query.skin_id != 0"} ]
		}
	  }
	},
    "controller.animation.tall_lamp_light_function": {
      "states": {
        "default": {
          "transitions": [
            { "off": "query.skin_id == 0" },
            { "on": "query.skin_id == 1" }
          ]
        },
		
        "on": {
          "on_entry": [ "/setblock ~~~ light_block 12" ],
          "transitions": [ { "default": "query.skin_id != 1"} ]
		},
        "off": {
          "on_entry": [ "/fill ~~~ ~~~ air 0 replace light_block" ],
          "transitions": [ { "default": "query.skin_id != 0"} ]
		}
	  }
	},
    "controller.animation.modern_ceiling_light_light_function": {
      "states": {
        "default": {
          "transitions": [
            { "off": "query.skin_id == 0" },
            { "on": "query.skin_id == 1" }
          ]
        },
		
        "on": {
          "on_entry": [ "/setblock ~~~ light_block 15" ],
          "transitions": [ { "default": "query.skin_id != 1"} ]
		},
        "off": {
          "on_entry": [ "/fill ~~~ ~~~ air 0 replace light_block" ],
          "transitions": [ { "default": "query.skin_id != 0"} ]
		}
	  }
	},
    "controller.animation.candle_light_function": {
      "states": {
        "default": {
          "transitions": [
            { "off": "query.skin_id == 0" },
            { "on": "query.skin_id == 1" }
          ]
        },
		
        "on": {
          "on_entry": [ "/setblock ~~~ light_block 4" ],
          "transitions": [ { "default": "query.skin_id != 1"} ]
		},
        "off": {
          "on_entry": [ "/fill ~~~ ~~~ air 0 replace light_block" ],
          "transitions": [ { "default": "query.skin_id != 0"} ]
		}
	  }
	},
    "controller.animation.dyed_candles_light_function": {
      "states": {
        "default": {
          "transitions": [
            { "off": "query.skin_id == 0" },
            { "on": "query.skin_id == 1" }
          ]
        },
		
        "on": {
          "on_entry": [ "/setblock ~~~ light_block 7" ],
          "transitions": [ { "default": "query.skin_id != 1"} ]
		},
        "off": {
          "on_entry": [ "/fill ~~~ ~~~ air 0 replace light_block" ],
          "transitions": [ { "default": "query.skin_id != 0"} ]
		}
	  }
	},
    "controller.animation.fire_pot_light_function": {
      "states": {
        "default": {
          "transitions": [
            { "off": "query.skin_id == 0" },
            { "on": "query.skin_id == 1" }
          ]
        },
		
        "on": {
          "on_entry": [ "/setblock ~~~ light_block 15" ],
          "transitions": [ { "default": "query.skin_id != 1"} ]
		},
        "off": {
          "on_entry": [ "/fill ~~~ ~~~ air 0 replace light_block" ],
          "transitions": [ { "default": "query.skin_id != 0"} ]
		}
	  }
	},
    "controller.animation.remove_light": {
      "states": {
        "default": {
          "transitions": [
            { "off": "query.skin_id == 100" },
            { "off": "!query.is_alive" }
          ]
        },
		
        "off": {
          "on_entry": [ "/fill ~~~ ~~~ air 0 replace light_block" ]
		}
	  }
	}
  }
}