{
  "fields": [
    {
      "id": "triggers",
      "title": "Triggers",
      "description": "The list of triggers that fire when the environment conditions match the given filter criteria.",
      "dataType": 17,
      "samples": {
        "/vanilla/behavior_pack/entities/armadillo.json": [
          {
            "path": "/minecraft:entity/component_groups/minecraft:rolled_up/minecraft:environment_sensor/",
            "content": [
              {
                "filters": {
                  "any_of": [
                    {
                      "test": "on_fire"
                    },
                    {
                      "test": "in_water"
                    },
                    {
                      "test": "is_panicking"
                    },
                    {
                      "test": "is_leashed"
                    },
                    {
                      "test": "is_riding"
                    }
                  ]
                },
                "event": "minecraft:unroll"
              }
            ]
          }
        ],
        "/vanilla/behavior_pack/entities/axolotl.json": [
          {
            "path": "/minecraft:entity/component_groups/axolotl_in_water/minecraft:environment_sensor/",
            "content": [
              {
                "filters": {
                  "test": "in_water",
                  "operator": "!=",
                  "value": true
                },
                "event": "start_drying_out"
              }
            ]
          },
          {
            "path": "/minecraft:entity/component_groups/axolotl_on_land_in_rain/minecraft:environment_sensor/",
            "content": [
              {
                "filters": {
                  "test": "in_water_or_rain",
                  "operator": "!=",
                  "value": true
                },
                "event": "start_drying_out"
              },
              {
                "filters": {
                  "test": "in_water",
                  "operator": "==",
                  "value": true
                },
                "event": "enter_water"
              }
            ]
          }
        ],
        "/vanilla/behavior_pack/entities/bee.json": [
          {
            "path": "/minecraft:entity/component_groups/shelter_detection/minecraft:environment_sensor/",
            "content": [
              {
                "event": "seek_shelter",
                "filters": {
                  "all_of": [
                    {
                      "any_of": [
                        {
                          "test": "is_daytime",
                          "value": false
                        },
                        {
                          "test": "weather",
                          "operator": "==",
                          "value": "precipitation"
                        }
                      ]
                    },
                    {
                      "test": "bool_property",
                      "domain": "minecraft:has_nectar",
                      "operator": "!="
                    },
                    {
                      "test": "has_biome_tag",
                      "value": "overworld"
                    }
                  ]
                }
              }
            ]
          },
          {
            "path": "/minecraft:entity/component_groups/abort_shelter_detection/minecraft:environment_sensor/",
            "content": [
              {
                "event": "abort_sheltering",
                "filters": {
                  "all_of": [
                    {
                      "test": "weather",
                      "operator": "==",
                      "value": "clear"
                    },
                    {
                      "test": "is_daytime",
                      "value": true
                    }
                  ]
                }
              }
            ]
          }
        ],
        "/vanilla/behavior_pack/entities/breeze.json": [
          {
            "path": "/minecraft:entity/components/minecraft:environment_sensor/",
            "content": [
              {
                "filters": {
                  "all_of": [
                    {
                      "test": "on_ground",
                      "subject": "self",
                      "value": true
                    },
                    {
                      "test": "has_target",
                      "subject": "self",
                      "value": true
                    },
                    {
                      "test": "bool_property",
                      "operator": "==",
                      "domain": "minecraft:is_playing_idle_ground_sound"
                    }
                  ]
                },
                "event": "minecraft:stop_playing_idle_ground_sound"
              },
              {
                "filters": {
                  "all_of": [
                    {
                      "test": "bool_property",
                      "operator": "!=",
                      "domain": "minecraft:is_playing_idle_ground_sound"
                    },
                    {
                      "any_of": [
                        {
                          "test": "on_ground",
                          "subject": "self",
                          "value": false
                        },
                        {
                          "test": "has_target",
                          "subject": "self",
                          "value": false
                        }
                      ]
                    }
                  ]
                },
                "event": "minecraft:start_playing_idle_ground_sound"
              }
            ]
          }
        ],
        "/vanilla/behavior_pack/entities/cave_spider.json": [
          {
            "path": "/minecraft:entity/component_groups/minecraft:spider_neutral/minecraft:environment_sensor/",
            "content": {
              "filters": {
                "test": "is_brightness",
                "operator": "<",
                "value": 0.49
              },
              "event": "minecraft:become_hostile"
            }
          },
          {
            "path": "/minecraft:entity/component_groups/minecraft:spider_hostile/minecraft:environment_sensor/",
            "content": {
              "filters": {
                "test": "is_brightness",
                "operator": ">",
                "value": 0.49
              },
              "event": "minecraft:become_neutral"
            }
          }
        ],
        "/vanilla/behavior_pack/entities/creaking.json": [
          {
            "path": "/minecraft:entity/component_groups/minecraft:spawned_by_player/minecraft:environment_sensor/",
            "content": [
              {
                "filters": {
                  "all_of": [
                    {
                      "any_of": [
                        {
                          "test": "enum_property",
                          "domain": "minecraft:creaking_state",
                          "value": "hostile_observed"
                        },
                        {
                          "test": "enum_property",
                          "domain": "minecraft:creaking_state",
                          "value": "hostile_unobserved"
                        }
                      ]
                    },
                    {
                      "any_of": [
                        {
                          "test": "has_target",
                          "value": false
                        },
                        {
                          "test": "actor_health",
                          "subject": "target",
                          "value": 0
                        },
                        {
                          "test": "target_distance",
                          "operator": ">",
                          "value": 24
                        }
                      ]
                    }
                  ]
                },
                "event": "minecraft:become_neutral"
              }
            ]
          },
          {
            "path": "/minecraft:entity/component_groups/minecraft:spawned_by_creaking_heart/minecraft:environment_sensor/",
            "content": [
              {
                "filters": {
                  "all_of": [
                    {
                      "any_of": [
                        {
                          "test": "enum_property",
                          "domain": "minecraft:creaking_state",
                          "value": "hostile_observed"
                        },
                        {
                          "test": "enum_property",
                          "domain": "minecraft:creaking_state",
                          "value": "hostile_unobserved"
                        }
                      ]
                    },
                    {
                      "any_of": [
                        {
                          "test": "has_target",
                          "value": false
                        },
                        {
                          "test": "actor_health",
                          "subject": "target",
                          "value": 0
                        },
                        {
                          "test": "target_distance",
                          "operator": ">",
                          "value": 24
                        }
                      ]
                    }
                  ]
                },
                "event": "minecraft:become_neutral"
              },
              {
                "filters": {
                  "all_of": [
                    {
                      "none_of": [
                        {
                          "test": "enum_property",
                          "domain": "minecraft:creaking_state",
                          "value": "twitching"
                        },
                        {
                          "test": "has_nametag"
                        }
                      ]
                    },
                    {
                      "any_of": [
                        {
                          "test": "home_distance",
                          "operator": ">",
                          "value": 34
                        },
                        {
                          "test": "hourly_clock_time",
                          "operator": ">",
                          "value": 23400
                        },
                        {
                          "test": "hourly_clock_time",
                          "operator": "<=",
                          "value": 12600
                        }
                      ]
                    }
                  ]
                },
                "event": "minecraft:crumble_and_notify_creaking_heart"
              },
              {
                "filters": {
                  "all_of": [
                    {
                      "test": "enum_property",
                      "domain": "minecraft:creaking_state",
                      "operator": "not",
                      "value": "twitching"
                    },
                    {
                      "test": "enum_property",
                      "domain": "minecraft:creaking_state",
                      "operator": "not",
                      "value": "crumbling"
                    },
                    {
                      "test": "is_bound_to_creaking_heart",
                      "value": false
                    }
                  ]
                },
                "event": "minecraft:crumble"
              },
              {
                "filters": {
                  "all_of": [
                    {
                      "test": "int_property",
                      "domain": "minecraft:creaking_swaying_ticks",
                      "operator": ">",
                      "value": 0
                    },
                    {
                      "test": "int_property",
                      "domain": "minecraft:creaking_swaying_ticks",
                      "operator": "<=",
                      "value": 5
                    }
                  ]
                },
                "event": "minecraft:increment_swaying_ticks"
              },
              {
                "filters": {
                  "test": "int_property",
                  "domain": "minecraft:creaking_swaying_ticks",
                  "operator": ">",
                  "value": 5
                },
                "event": "minecraft:reset_swaying_ticks"
              }
            ]
          }
        ],
        "/vanilla/behavior_pack/entities/dolphin.json": [
          {
            "path": "/minecraft:entity/component_groups/dolphin_swimming_navigation/minecraft:environment_sensor/",
            "content": [
              {
                "filters": {
                  "all_of": [
                    {
                      "test": "on_ground",
                      "operator": "==",
                      "value": true
                    },
                    {
                      "test": "in_water",
                      "operator": "!=",
                      "value": true
                    }
                  ]
                },
                "event": "navigation_on_land"
              }
            ]
          },
          {
            "path": "/minecraft:entity/component_groups/dolphin_on_land_in_rain/minecraft:environment_sensor/",
            "content": [
              {
                "filters": {
                  "test": "in_water",
                  "operator": "==",
                  "value": true
                },
                "event": "navigation_off_land"
              },
              {
                "filters": {
                  "test": "in_water_or_rain",
                  "operator": "!=",
                  "value": true
                },
                "event": "start_dryingout"
              }
            ]
          }
        ],
        "/vanilla/behavior_pack/entities/enderman.json": [
          {
            "path": "/minecraft:entity/component_groups/minecraft:riding/minecraft:environment_sensor/",
            "content": {
              "filters": {
                "test": "is_riding",
                "subject": "self",
                "operator": "==",
                "value": false
              },
              "event": "minecraft:stopped_riding"
            }
          },
          {
            "path": "/minecraft:entity/component_groups/minecraft:not_riding/minecraft:environment_sensor/",
            "content": {
              "filters": {
                "test": "is_riding",
                "subject": "self",
                "operator": "==",
                "value": true
              },
              "event": "minecraft:started_riding"
            }
          }
        ],
        "/vanilla/behavior_pack/entities/hoglin.json": [
          {
            "path": "/minecraft:entity/component_groups/zombification_sensor/minecraft:environment_sensor/",
            "content": {
              "filters": {
                "test": "in_nether",
                "subject": "self",
                "operator": "==",
                "value": false
              },
              "event": "start_zombification_event"
            }
          },
          {
            "path": "/minecraft:entity/component_groups/start_zombification/minecraft:environment_sensor/",
            "content": {
              "filters": {
                "test": "in_nether",
                "subject": "self",
                "operator": "==",
                "value": true
              },
              "event": "stop_zombification_event"
            }
          }
        ],
        "/vanilla/behavior_pack/entities/piglin_brute.json": [
          {
            "path": "/minecraft:entity/component_groups/zombification_sensor/minecraft:environment_sensor/",
            "content": {
              "filters": {
                "test": "in_nether",
                "subject": "self",
                "operator": "==",
                "value": false
              },
              "event": "start_zombification_event"
            }
          },
          {
            "path": "/minecraft:entity/component_groups/start_zombification/minecraft:environment_sensor/",
            "content": {
              "filters": {
                "test": "in_nether",
                "subject": "self",
                "operator": "==",
                "value": true
              },
              "event": "stop_zombification_event"
            }
          }
        ],
        "/vanilla/behavior_pack/entities/pillager.json": [
          {
            "path": "/minecraft:entity/component_groups/minecraft:ranged_attack/minecraft:environment_sensor/",
            "content": {
              "filters": {
                "test": "is_underwater",
                "subject": "self",
                "operator": "==",
                "value": true
              },
              "event": "minecraft:melee_mode"
            }
          },
          {
            "path": "/minecraft:entity/component_groups/minecraft:melee_attack/minecraft:environment_sensor/",
            "content": {
              "filters": {
                "test": "in_water",
                "subject": "self",
                "operator": "==",
                "value": false
              },
              "event": "minecraft:ranged_mode"
            }
          }
        ],
        "/vanilla/behavior_pack/entities/player.json": [
          {
            "path": "/minecraft:entity/components/minecraft:environment_sensor/",
            "content": {
              "filters": {
                "all_of": [
                  {
                    "test": "has_mob_effect",
                    "subject": "self",
                    "value": "bad_omen"
                  },
                  {
                    "test": "is_in_village",
                    "subject": "self",
                    "value": true
                  }
                ]
              },
              "event": "minecraft:gain_raid_omen"
            }
          }
        ],
        "/vanilla/behavior_pack/entities/spider.json": [
          {
            "path": "/minecraft:entity/component_groups/minecraft:spider_neutral/minecraft:environment_sensor/",
            "content": {
              "filters": {
                "test": "is_brightness",
                "operator": "<",
                "value": 0.49
              },
              "event": "minecraft:become_hostile"
            }
          },
          {
            "path": "/minecraft:entity/component_groups/minecraft:spider_hostile/minecraft:environment_sensor/",
            "content": {
              "filters": {
                "test": "is_brightness",
                "operator": ">",
                "value": 0.49
              },
              "event": "minecraft:become_neutral"
            }
          }
        ],
        "/vanilla/behavior_pack/entities/strider.json": [
          {
            "path": "/minecraft:entity/component_groups/minecraft:start_suffocating/minecraft:environment_sensor/",
            "content": [
              {
                "filters": {
                  "any_of": [
                    {
                      "test": "in_lava",
                      "subject": "self",
                      "operator": "==",
                      "value": true
                    },
                    {
                      "test": "in_lava",
                      "subject": "other",
                      "operator": "==",
                      "value": true
                    }
                  ]
                },
                "event": "stop_suffocating"
              },
              {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_riding",
                      "subject": "self",
                      "operator": "equals",
                      "value": false
                    },
                    {
                      "test": "has_component",
                      "subject": "self",
                      "operator": "not",
                      "value": "minecraft:behavior.move_to_liquid"
                    }
                  ]
                },
                "event": "on_not_riding_parent"
              }
            ]
          },
          {
            "path": "/minecraft:entity/component_groups/minecraft:detect_suffocating/minecraft:environment_sensor/",
            "content": [
              {
                "filters": {
                  "all_of": [
                    {
                      "test": "in_lava",
                      "subject": "self",
                      "operator": "==",
                      "value": false
                    },
                    {
                      "any_of": [
                        {
                          "test": "is_riding",
                          "subject": "self",
                          "operator": "==",
                          "value": false
                        },
                        {
                          "test": "in_lava",
                          "subject": "other",
                          "operator": "==",
                          "value": false
                        }
                      ]
                    }
                  ]
                },
                "event": "start_suffocating"
              },
              {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_riding",
                      "subject": "self",
                      "operator": "equals",
                      "value": false
                    },
                    {
                      "test": "has_component",
                      "subject": "self",
                      "operator": "not",
                      "value": "minecraft:behavior.move_to_liquid"
                    }
                  ]
                },
                "event": "on_not_riding_parent"
              }
            ]
          }
        ],
        "/vanilla/behavior_pack/entities/trader_llama.json": [
          {
            "path": "/minecraft:entity/component_groups/minecraft:llama_wandering_trader/minecraft:environment_sensor/",
            "content": [
              {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_leashed",
                      "subject": "self",
                      "value": false
                    },
                    {
                      "test": "has_component",
                      "subject": "self",
                      "operator": "!=",
                      "value": "minecraft:is_tamed"
                    }
                  ]
                },
                "event": "minecraft:on_tame"
              },
              {
                "filters": {
                  "all_of": [
                    {
                      "test": "is_leashed",
                      "subject": "self",
                      "value": false
                    },
                    {
                      "test": "has_component",
                      "subject": "self",
                      "operator": "==",
                      "value": "minecraft:persistent"
                    }
                  ]
                },
                "event": "minecraft:remove_persistence"
              }
            ]
          }
        ],
        "/vanilla/behavior_pack/entities/wolf.json": [
          {
            "path": "/minecraft:entity/components/minecraft:environment_sensor/",
            "content": [
              {
                "filters": {
                  "all_of": [
                    {
                      "test": "bool_property",
                      "operator": "!=",
                      "domain": "minecraft:has_increased_max_health"
                    },
                    {
                      "test": "has_component",
                      "value": "minecraft:is_tamed"
                    }
                  ]
                },
                "event": "minecraft:increase_max_health"
              },
              {
                "filters": {
                  "all_of": [
                    {
                      "test": "bool_property",
                      "operator": "!=",
                      "domain": "minecraft:is_armorable"
                    },
                    {
                      "test": "has_component",
                      "operator": "!=",
                      "value": "minecraft:is_baby"
                    },
                    {
                      "test": "has_component",
                      "value": "minecraft:is_tamed"
                    }
                  ]
                },
                "event": "minecraft:become_armorable"
              }
            ]
          }
        ],
        "/samples/addon_starter/2_entities/behavior_packs/aop_mobs/entities/frost_moose.behavior.json": [
          {
            "path": "/minecraft:entity/component_groups/minecraft:llama_wandering_trader/minecraft:environment_sensor/",
            "content": {
              "filters": {
                "all_of": [
                  {
                    "test": "is_leashed",
                    "subject": "self",
                    "value": false
                  },
                  {
                    "test": "has_component",
                    "subject": "self",
                    "operator": "!=",
                    "value": "minecraft:is_tamed"
                  }
                ]
              },
              "event": "minecraft:on_tame"
            }
          }
        ],
        "/samples/addon_starter/complete/behavior_packs/aop_mobs/entities/frost_moose.behavior.json": [
          {
            "path": "/minecraft:entity/component_groups/minecraft:llama_wandering_trader/minecraft:environment_sensor/",
            "content": {
              "filters": {
                "all_of": [
                  {
                    "test": "is_leashed",
                    "subject": "self",
                    "value": false
                  },
                  {
                    "test": "has_component",
                    "subject": "self",
                    "operator": "!=",
                    "value": "minecraft:is_tamed"
                  }
                ]
              },
              "event": "minecraft:on_tame"
            }
          }
        ]
      }
    }
  ],
  "description": "Creates a trigger based on environment conditions.",
  "title": "Environment Sensor",
  "samples": {
    "/vanilla/behavior_pack/entities/armadillo.json": [
      {
        "path": "/minecraft:entity/component_groups/minecraft:rolled_up/minecraft:environment_sensor/",
        "content": {
          "triggers": [
            {
              "filters": {
                "any_of": [
                  {
                    "test": "on_fire"
                  },
                  {
                    "test": "in_water"
                  },
                  {
                    "test": "is_panicking"
                  },
                  {
                    "test": "is_leashed"
                  },
                  {
                    "test": "is_riding"
                  }
                ]
              },
              "event": "minecraft:unroll"
            }
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/entities/axolotl.json": [
      {
        "path": "/minecraft:entity/component_groups/axolotl_in_water/minecraft:environment_sensor/",
        "content": {
          "triggers": [
            {
              "filters": {
                "test": "in_water",
                "operator": "!=",
                "value": true
              },
              "event": "start_drying_out"
            }
          ]
        }
      },
      {
        "path": "/minecraft:entity/component_groups/axolotl_on_land_in_rain/minecraft:environment_sensor/",
        "content": {
          "triggers": [
            {
              "filters": {
                "test": "in_water_or_rain",
                "operator": "!=",
                "value": true
              },
              "event": "start_drying_out"
            },
            {
              "filters": {
                "test": "in_water",
                "operator": "==",
                "value": true
              },
              "event": "enter_water"
            }
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/entities/bee.json": [
      {
        "path": "/minecraft:entity/component_groups/shelter_detection/minecraft:environment_sensor/",
        "content": {
          "triggers": [
            {
              "event": "seek_shelter",
              "filters": {
                "all_of": [
                  {
                    "any_of": [
                      {
                        "test": "is_daytime",
                        "value": false
                      },
                      {
                        "test": "weather",
                        "operator": "==",
                        "value": "precipitation"
                      }
                    ]
                  },
                  {
                    "test": "bool_property",
                    "domain": "minecraft:has_nectar",
                    "operator": "!="
                  },
                  {
                    "test": "has_biome_tag",
                    "value": "overworld"
                  }
                ]
              }
            }
          ]
        }
      },
      {
        "path": "/minecraft:entity/component_groups/abort_shelter_detection/minecraft:environment_sensor/",
        "content": {
          "triggers": [
            {
              "event": "abort_sheltering",
              "filters": {
                "all_of": [
                  {
                    "test": "weather",
                    "operator": "==",
                    "value": "clear"
                  },
                  {
                    "test": "is_daytime",
                    "value": true
                  }
                ]
              }
            }
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/entities/breeze.json": [
      {
        "path": "/minecraft:entity/components/minecraft:environment_sensor/",
        "content": {
          "triggers": [
            {
              "filters": {
                "all_of": [
                  {
                    "test": "on_ground",
                    "subject": "self",
                    "value": true
                  },
                  {
                    "test": "has_target",
                    "subject": "self",
                    "value": true
                  },
                  {
                    "test": "bool_property",
                    "operator": "==",
                    "domain": "minecraft:is_playing_idle_ground_sound"
                  }
                ]
              },
              "event": "minecraft:stop_playing_idle_ground_sound"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "bool_property",
                    "operator": "!=",
                    "domain": "minecraft:is_playing_idle_ground_sound"
                  },
                  {
                    "any_of": [
                      {
                        "test": "on_ground",
                        "subject": "self",
                        "value": false
                      },
                      {
                        "test": "has_target",
                        "subject": "self",
                        "value": false
                      }
                    ]
                  }
                ]
              },
              "event": "minecraft:start_playing_idle_ground_sound"
            }
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/entities/cave_spider.json": [
      {
        "path": "/minecraft:entity/component_groups/minecraft:spider_neutral/minecraft:environment_sensor/",
        "content": {
          "triggers": {
            "filters": {
              "test": "is_brightness",
              "operator": "<",
              "value": 0.49
            },
            "event": "minecraft:become_hostile"
          }
        }
      },
      {
        "path": "/minecraft:entity/component_groups/minecraft:spider_hostile/minecraft:environment_sensor/",
        "content": {
          "triggers": {
            "filters": {
              "test": "is_brightness",
              "operator": ">",
              "value": 0.49
            },
            "event": "minecraft:become_neutral"
          }
        }
      }
    ],
    "/vanilla/behavior_pack/entities/creaking.json": [
      {
        "path": "/minecraft:entity/component_groups/minecraft:spawned_by_player/minecraft:environment_sensor/",
        "content": {
          "triggers": [
            {
              "filters": {
                "all_of": [
                  {
                    "any_of": [
                      {
                        "test": "enum_property",
                        "domain": "minecraft:creaking_state",
                        "value": "hostile_observed"
                      },
                      {
                        "test": "enum_property",
                        "domain": "minecraft:creaking_state",
                        "value": "hostile_unobserved"
                      }
                    ]
                  },
                  {
                    "any_of": [
                      {
                        "test": "has_target",
                        "value": false
                      },
                      {
                        "test": "actor_health",
                        "subject": "target",
                        "value": 0
                      },
                      {
                        "test": "target_distance",
                        "operator": ">",
                        "value": 24
                      }
                    ]
                  }
                ]
              },
              "event": "minecraft:become_neutral"
            }
          ]
        }
      },
      {
        "path": "/minecraft:entity/component_groups/minecraft:spawned_by_creaking_heart/minecraft:environment_sensor/",
        "content": {
          "triggers": [
            {
              "filters": {
                "all_of": [
                  {
                    "any_of": [
                      {
                        "test": "enum_property",
                        "domain": "minecraft:creaking_state",
                        "value": "hostile_observed"
                      },
                      {
                        "test": "enum_property",
                        "domain": "minecraft:creaking_state",
                        "value": "hostile_unobserved"
                      }
                    ]
                  },
                  {
                    "any_of": [
                      {
                        "test": "has_target",
                        "value": false
                      },
                      {
                        "test": "actor_health",
                        "subject": "target",
                        "value": 0
                      },
                      {
                        "test": "target_distance",
                        "operator": ">",
                        "value": 24
                      }
                    ]
                  }
                ]
              },
              "event": "minecraft:become_neutral"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "none_of": [
                      {
                        "test": "enum_property",
                        "domain": "minecraft:creaking_state",
                        "value": "twitching"
                      },
                      {
                        "test": "has_nametag"
                      }
                    ]
                  },
                  {
                    "any_of": [
                      {
                        "test": "home_distance",
                        "operator": ">",
                        "value": 34
                      },
                      {
                        "test": "hourly_clock_time",
                        "operator": ">",
                        "value": 23400
                      },
                      {
                        "test": "hourly_clock_time",
                        "operator": "<=",
                        "value": 12600
                      }
                    ]
                  }
                ]
              },
              "event": "minecraft:crumble_and_notify_creaking_heart"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "enum_property",
                    "domain": "minecraft:creaking_state",
                    "operator": "not",
                    "value": "twitching"
                  },
                  {
                    "test": "enum_property",
                    "domain": "minecraft:creaking_state",
                    "operator": "not",
                    "value": "crumbling"
                  },
                  {
                    "test": "is_bound_to_creaking_heart",
                    "value": false
                  }
                ]
              },
              "event": "minecraft:crumble"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "int_property",
                    "domain": "minecraft:creaking_swaying_ticks",
                    "operator": ">",
                    "value": 0
                  },
                  {
                    "test": "int_property",
                    "domain": "minecraft:creaking_swaying_ticks",
                    "operator": "<=",
                    "value": 5
                  }
                ]
              },
              "event": "minecraft:increment_swaying_ticks"
            },
            {
              "filters": {
                "test": "int_property",
                "domain": "minecraft:creaking_swaying_ticks",
                "operator": ">",
                "value": 5
              },
              "event": "minecraft:reset_swaying_ticks"
            }
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/entities/dolphin.json": [
      {
        "path": "/minecraft:entity/component_groups/dolphin_swimming_navigation/minecraft:environment_sensor/",
        "content": {
          "triggers": [
            {
              "filters": {
                "all_of": [
                  {
                    "test": "on_ground",
                    "operator": "==",
                    "value": true
                  },
                  {
                    "test": "in_water",
                    "operator": "!=",
                    "value": true
                  }
                ]
              },
              "event": "navigation_on_land"
            }
          ]
        }
      },
      {
        "path": "/minecraft:entity/component_groups/dolphin_on_land_in_rain/minecraft:environment_sensor/",
        "content": {
          "triggers": [
            {
              "filters": {
                "test": "in_water",
                "operator": "==",
                "value": true
              },
              "event": "navigation_off_land"
            },
            {
              "filters": {
                "test": "in_water_or_rain",
                "operator": "!=",
                "value": true
              },
              "event": "start_dryingout"
            }
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/entities/enderman.json": [
      {
        "path": "/minecraft:entity/component_groups/minecraft:riding/minecraft:environment_sensor/",
        "content": {
          "triggers": {
            "filters": {
              "test": "is_riding",
              "subject": "self",
              "operator": "==",
              "value": false
            },
            "event": "minecraft:stopped_riding"
          }
        }
      },
      {
        "path": "/minecraft:entity/component_groups/minecraft:not_riding/minecraft:environment_sensor/",
        "content": {
          "triggers": {
            "filters": {
              "test": "is_riding",
              "subject": "self",
              "operator": "==",
              "value": true
            },
            "event": "minecraft:started_riding"
          }
        }
      }
    ],
    "/vanilla/behavior_pack/entities/hoglin.json": [
      {
        "path": "/minecraft:entity/component_groups/zombification_sensor/minecraft:environment_sensor/",
        "content": {
          "triggers": {
            "filters": {
              "test": "in_nether",
              "subject": "self",
              "operator": "==",
              "value": false
            },
            "event": "start_zombification_event"
          }
        }
      },
      {
        "path": "/minecraft:entity/component_groups/start_zombification/minecraft:environment_sensor/",
        "content": {
          "triggers": {
            "filters": {
              "test": "in_nether",
              "subject": "self",
              "operator": "==",
              "value": true
            },
            "event": "stop_zombification_event"
          }
        }
      }
    ],
    "/vanilla/behavior_pack/entities/piglin_brute.json": [
      {
        "path": "/minecraft:entity/component_groups/zombification_sensor/minecraft:environment_sensor/",
        "content": {
          "triggers": {
            "filters": {
              "test": "in_nether",
              "subject": "self",
              "operator": "==",
              "value": false
            },
            "event": "start_zombification_event"
          }
        }
      },
      {
        "path": "/minecraft:entity/component_groups/start_zombification/minecraft:environment_sensor/",
        "content": {
          "triggers": {
            "filters": {
              "test": "in_nether",
              "subject": "self",
              "operator": "==",
              "value": true
            },
            "event": "stop_zombification_event"
          }
        }
      }
    ],
    "/vanilla/behavior_pack/entities/piglin.json": [
      {
        "path": "/minecraft:entity/component_groups/zombification_sensor/minecraft:environment_sensor/",
        "content": {
          "triggers": {
            "filters": {
              "test": "in_nether",
              "subject": "self",
              "operator": "==",
              "value": false
            },
            "event": "start_zombification_event"
          }
        }
      },
      {
        "path": "/minecraft:entity/component_groups/start_zombification/minecraft:environment_sensor/",
        "content": {
          "triggers": {
            "filters": {
              "test": "in_nether",
              "subject": "self",
              "operator": "==",
              "value": true
            },
            "event": "stop_zombification_event"
          }
        }
      }
    ],
    "/vanilla/behavior_pack/entities/pillager.json": [
      {
        "path": "/minecraft:entity/component_groups/minecraft:ranged_attack/minecraft:environment_sensor/",
        "content": {
          "triggers": {
            "filters": {
              "test": "is_underwater",
              "subject": "self",
              "operator": "==",
              "value": true
            },
            "event": "minecraft:melee_mode"
          }
        }
      },
      {
        "path": "/minecraft:entity/component_groups/minecraft:melee_attack/minecraft:environment_sensor/",
        "content": {
          "triggers": {
            "filters": {
              "test": "in_water",
              "subject": "self",
              "operator": "==",
              "value": false
            },
            "event": "minecraft:ranged_mode"
          }
        }
      }
    ],
    "/vanilla/behavior_pack/entities/player.json": [
      {
        "path": "/minecraft:entity/components/minecraft:environment_sensor/",
        "content": {
          "triggers": {
            "filters": {
              "all_of": [
                {
                  "test": "has_mob_effect",
                  "subject": "self",
                  "value": "bad_omen"
                },
                {
                  "test": "is_in_village",
                  "subject": "self",
                  "value": true
                }
              ]
            },
            "event": "minecraft:gain_raid_omen"
          }
        }
      }
    ],
    "/vanilla/behavior_pack/entities/spider.json": [
      {
        "path": "/minecraft:entity/component_groups/minecraft:spider_neutral/minecraft:environment_sensor/",
        "content": {
          "triggers": {
            "filters": {
              "test": "is_brightness",
              "operator": "<",
              "value": 0.49
            },
            "event": "minecraft:become_hostile"
          }
        }
      },
      {
        "path": "/minecraft:entity/component_groups/minecraft:spider_hostile/minecraft:environment_sensor/",
        "content": {
          "triggers": {
            "filters": {
              "test": "is_brightness",
              "operator": ">",
              "value": 0.49
            },
            "event": "minecraft:become_neutral"
          }
        }
      }
    ],
    "/vanilla/behavior_pack/entities/strider.json": [
      {
        "path": "/minecraft:entity/component_groups/minecraft:start_suffocating/minecraft:environment_sensor/",
        "content": {
          "triggers": [
            {
              "filters": {
                "any_of": [
                  {
                    "test": "in_lava",
                    "subject": "self",
                    "operator": "==",
                    "value": true
                  },
                  {
                    "test": "in_lava",
                    "subject": "other",
                    "operator": "==",
                    "value": true
                  }
                ]
              },
              "event": "stop_suffocating"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "is_riding",
                    "subject": "self",
                    "operator": "equals",
                    "value": false
                  },
                  {
                    "test": "has_component",
                    "subject": "self",
                    "operator": "not",
                    "value": "minecraft:behavior.move_to_liquid"
                  }
                ]
              },
              "event": "on_not_riding_parent"
            }
          ]
        }
      },
      {
        "path": "/minecraft:entity/component_groups/minecraft:detect_suffocating/minecraft:environment_sensor/",
        "content": {
          "triggers": [
            {
              "filters": {
                "all_of": [
                  {
                    "test": "in_lava",
                    "subject": "self",
                    "operator": "==",
                    "value": false
                  },
                  {
                    "any_of": [
                      {
                        "test": "is_riding",
                        "subject": "self",
                        "operator": "==",
                        "value": false
                      },
                      {
                        "test": "in_lava",
                        "subject": "other",
                        "operator": "==",
                        "value": false
                      }
                    ]
                  }
                ]
              },
              "event": "start_suffocating"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "is_riding",
                    "subject": "self",
                    "operator": "equals",
                    "value": false
                  },
                  {
                    "test": "has_component",
                    "subject": "self",
                    "operator": "not",
                    "value": "minecraft:behavior.move_to_liquid"
                  }
                ]
              },
              "event": "on_not_riding_parent"
            }
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/entities/trader_llama.json": [
      {
        "path": "/minecraft:entity/component_groups/minecraft:llama_wandering_trader/minecraft:environment_sensor/",
        "content": {
          "triggers": [
            {
              "filters": {
                "all_of": [
                  {
                    "test": "is_leashed",
                    "subject": "self",
                    "value": false
                  },
                  {
                    "test": "has_component",
                    "subject": "self",
                    "operator": "!=",
                    "value": "minecraft:is_tamed"
                  }
                ]
              },
              "event": "minecraft:on_tame"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "is_leashed",
                    "subject": "self",
                    "value": false
                  },
                  {
                    "test": "has_component",
                    "subject": "self",
                    "operator": "==",
                    "value": "minecraft:persistent"
                  }
                ]
              },
              "event": "minecraft:remove_persistence"
            }
          ]
        }
      }
    ],
    "/vanilla/behavior_pack/entities/wolf.json": [
      {
        "path": "/minecraft:entity/components/minecraft:environment_sensor/",
        "content": {
          "triggers": [
            {
              "filters": {
                "all_of": [
                  {
                    "test": "bool_property",
                    "operator": "!=",
                    "domain": "minecraft:has_increased_max_health"
                  },
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  }
                ]
              },
              "event": "minecraft:increase_max_health"
            },
            {
              "filters": {
                "all_of": [
                  {
                    "test": "bool_property",
                    "operator": "!=",
                    "domain": "minecraft:is_armorable"
                  },
                  {
                    "test": "has_component",
                    "operator": "!=",
                    "value": "minecraft:is_baby"
                  },
                  {
                    "test": "has_component",
                    "value": "minecraft:is_tamed"
                  }
                ]
              },
              "event": "minecraft:become_armorable"
            }
          ]
        }
      }
    ],
    "/samples/addon_starter/2_entities/behavior_packs/aop_mobs/entities/frost_moose.behavior.json": [
      {
        "path": "/minecraft:entity/component_groups/minecraft:llama_wandering_trader/minecraft:environment_sensor/",
        "content": {
          "triggers": {
            "filters": {
              "all_of": [
                {
                  "test": "is_leashed",
                  "subject": "self",
                  "value": false
                },
                {
                  "test": "has_component",
                  "subject": "self",
                  "operator": "!=",
                  "value": "minecraft:is_tamed"
                }
              ]
            },
            "event": "minecraft:on_tame"
          }
        }
      }
    ],
    "/samples/addon_starter/complete/behavior_packs/aop_mobs/entities/frost_moose.behavior.json": [
      {
        "path": "/minecraft:entity/component_groups/minecraft:llama_wandering_trader/minecraft:environment_sensor/",
        "content": {
          "triggers": {
            "filters": {
              "all_of": [
                {
                  "test": "is_leashed",
                  "subject": "self",
                  "value": false
                },
                {
                  "test": "has_component",
                  "subject": "self",
                  "operator": "!=",
                  "value": "minecraft:is_tamed"
                }
              ]
            },
            "event": "minecraft:on_tame"
          }
        }
      }
    ]
  },
  "id": "minecraft:environment_sensor"
}