{
  "format_version": "1.16.0",
  "minecraft:entity": {
    "description": {
      "identifier": "hoh_bht:biome_tester",
      "is_spawnable": false,
      "is_summonable": true,
      "is_experimental": false
    },
    "component_groups": {
      "hoh_bht:is_forest": {
        "minecraft:mark_variant": {
          "value": 1
        }
      },
      "hoh_bht:is_frozen": {
        "minecraft:mark_variant": {
          "value": 2
        }
      },
      "hoh_bht:is_ocean": {
        "minecraft:mark_variant": {
          "value": 2
        }
      },
      "hoh_bht:is_swamp": {
        "minecraft:mark_variant": {
          "value": 4
        }
      },
      "hoh_bht:is_beach": {
        "minecraft:mark_variant": {
          "value": 5
        }
      },
      "hoh_bht:is_dark_forest": {
        "minecraft:mark_variant": {
          "value": 6
        }
      },
      "hoh_bht:is_desert": {
        "minecraft:mark_variant": {
          "value": 7
        }
      },
      "hoh_bht:is_mountain": {
        "minecraft:mark_variant": {
          "value": 8
        }
      },
      "hoh_bht:is_lush_cave": {
        "minecraft:mark_variant": {
          "value": 9
        }
      },
      "hoh_bht:is_jungle": {
        "minecraft:mark_variant": {
          "value": 10
        }
      },
      "hoh_bht:is_warm_ocean": {
        "minecraft:mark_variant": {
          "value": 11
        }
      },
      "hoh_bht:is_badlands": {
        "minecraft:mark_variant": {
          "value": 12
        }
      },
      "hoh_bht:is_cherry_grove": {
        "minecraft:mark_variant": {
          "value": 13
        }
      }
    },
    "components": {
      "minecraft:scale": {
        "value": 1.0
      },
      "minecraft:type_family": {
        "family": ["biome_tester"]
      },
      "minecraft:mark_variant": {
        "value": -1
      },
      "minecraft:fire_immune": {},
      "minecraft:breathable": {
        "total_supply": 15,
        "suffocate_time": 0,
        "breathes_water": true,
        "breathes_air": true,
        "generates_bubbles": false
      },
      "minecraft:health": {
        "value": 20,
        "max": 20
      },
      "minecraft:collision_box": {
        "width": 0.6,
        "height": 2.0
      },
      "minecraft:damage_sensor": {
        "triggers": [
          {
            "on_damage": {},
            "deals_damage": false
          }
        ]
      },
      "minecraft:persistent": {},
      "minecraft:pushable": {
        "is_pushable": false,
        "is_pushable_by_piston": false
      },
      "minecraft:conditional_bandwidth_optimization": {}
    },
    "events": {
      "minecraft:entity_spawned": {
        "sequence": [
          {
            "filters": {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "forest"
            },
            "add": {
              "component_groups": ["hoh_bht:is_forest"]
            }
          },
          {
            "filters": {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "ocean"
            },
            "add": {
              "component_groups": ["hoh_bht:is_ocean"]
            }
          },
          {
            "filters": {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "frozen"
            },
            "add": {
              "component_groups": ["hoh_bht:is_frozen"]
            }
          },
          {
            "filters": {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "swamp"
            },
            "add": {
              "component_groups": ["hoh_bht:is_swamp"]
            }
          },
          {
            "filters": {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "beach"
            },
            "add": {
              "component_groups": ["hoh_bht:is_beach"]
            }
          },
          {
            "filters": [
              {
                "test": "has_biome_tag",
                "operator": "==",
                "value": "forest"
              },
              {
                "test": "has_biome_tag",
                "operator": "==",
                "value": "roofed"
              }
            ],
            "add": {
              "component_groups": ["hoh_bht:is_dark_forest"]
            }
          },
          {
            "filters": {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "desert"
            },
            "add": {
              "component_groups": ["hoh_bht:is_desert"]
            }
          },
          {
            "filters": {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "mountains"
            },
            "add": {
              "component_groups": ["hoh_bht:is_mountain"]
            }
          },
          {
            "filters": {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "lush_caves"
            },
            "add": {
              "component_groups": ["hoh_bht:is_lush_cave"]
            }
          },
          {
            "filters": {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "jungle"
            },
            "add": {
              "component_groups": ["hoh_bht:is_jungle"]
            }
          },
          {
            "filters": [
              {
                "test": "has_biome_tag",
                "operator": "==",
                "value": "ocean"
              },
              {
                "test": "has_biome_tag",
                "operator": "==",
                "value": "warm"
              }
            ],
            "add": {
              "component_groups": ["hoh_bht:is_warm_ocean"]
            }
          },
          {
            "filters": {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "mesa"
            },
            "add": {
              "component_groups": ["hoh_bht:is_badlands"]
            }
          },
          {
            "filters": {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "cherry_grove"
            },
            "add": {
              "component_groups": ["hoh_bht:is_cherry_grove"]
            }
          }
        ]
      }
    }
  }
}
