{
  "format_version": "1.26.0",
  "minecraft:entity": {
    "description": {
      "identifier": "minecraft:snow_golem",
      "is_experimental": false,
      "is_summonable": true,
      "is_spawnable": true,
      "spawn_category": "misc"
    },
    "components": {
      "minecraft:attack": {
        "damage": 2
      },
      "minecraft:balloonable": {},
      "minecraft:behavior.look_at_player": {
        "look_time": {
          "min": 1,
          "max": 2
        },
        "look_distance": 6,
        "priority": 3
      },
      "minecraft:behavior.nearest_attackable_target": {
        "entity_types": [
          {
            "filters": {
              "AND": [
                {
                  "test": "is_family",
                  "subject": 1,
                  "operator": 0,
                  "value": "monster"
                }
              ]
            }
          }
        ],
        "priority": 1
      },
      "minecraft:behavior.random_look_around": {
        "priority": 4
      },
      "minecraft:behavior.random_stroll": {
        "priority": 2,
        "speed_multiplier": 1
      },
      "minecraft:behavior.ranged_attack": {
        "attack_interval": 1,
        "attack_radius": 10,
        "priority": 1,
        "speed_multiplier": 1.25
      },
      "minecraft:breathable": {
        "suffocate_time": 0,
        "total_supply": 15
      },
      "minecraft:can_climb": {},
      "minecraft:collision_box": {
        "height": 1.8,
        "width": 0.4
      },
      "minecraft:conditional_bandwidth_optimization": {},
      "minecraft:damage_sensor": {
        "triggers": {
          "cause": "fall",
          "deals_damage": "no"
        }
      },
      "minecraft:health": {
        "max": 4,
        "value": 4
      },
      "minecraft:hurt_on_condition": {
        "damage_conditions": [
          {
            "cause": "lava",
            "damage_per_tick": 4,
            "filters": {
              "operator": "==",
              "test": "in_lava",
              "subject": "self",
              "value": true
            }
          },
          {
            "cause": "temperature",
            "damage_per_tick": 1,
            "filters": {
              "operator": ">",
              "test": "is_temperature_value",
              "value": 1.0
            }
          },
          {
            "cause": "drowning",
            "damage_per_tick": 1,
            "filters": {
              "operator": "==",
              "test": "in_contact_with_water",
              "value": true
            }
          }
        ]
      },
      "minecraft:interact": {
        "interactions": [
          {
            "play_sounds": "shear",
            "cooldown": 2.5,
            "hurt_item": 1,
            "spawn_items": {
              "table": "loot_tables/entities/snow_golem_shear.json"
            },
            "on_interact": {
              "event": "minecraft:on_sheared",
              "filters": {
                "all_of": [
                  {
                    "domain": "hand",
                    "subject": "other",
                    "test": "has_equipment",
                    "value": "shears"
                  },
                  {
                    "subject": "other",
                    "test": "is_family",
                    "value": "player"
                  },
                  {
                    "operator": "!=",
                    "test": "has_component",
                    "value": "minecraft:is_sheared"
                  }
                ]
              },
              "target": "self"
            },
            "interact_text": "action.interact.shear",
            "swing": false,
            "vibration": "shear",
            "use_item": false
          }
        ]
      },
      "minecraft:is_hidden_when_invisible": {},
      "minecraft:jump.static": {},
      "minecraft:leashable": {
        "can_be_cut": false,
        "can_be_stolen": false,
        "on_unleash_interact_only": true,
        "presets": [
          {
            "hard_distance": 6.0,
            "max_distance": 10.0,
            "spring_type": "bouncy",
            "soft_distance": 4.0
          }
        ]
      },
      "minecraft:loot": {
        "table": "loot_tables/entities/snowman.json"
      },
      "minecraft:movement": {
        "value": 0.2
      },
      "minecraft:movement.basic": {},
      "minecraft:nameable": {},
      "minecraft:navigation.walk": {
        "avoid_water": true,
        "using_door_annotation": true
      },
      "minecraft:persistent": {},
      "minecraft:physics": {},
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:shooter": {
        "def": "minecraft:snowball"
      },
      "minecraft:trail": {
        "block_type": "minecraft:snow_layer",
        "spawn_filter": {
          "operator": "<",
          "test": "is_temperature_value",
          "value": 0.81
        }
      },
      "minecraft:type_family": {
        "family": [
          "snowgolem",
          "mob"
        ]
      }
    },
    "component_groups": {
      "minecraft:snowman_sheared": {
        "minecraft:is_sheared": {}
      }
    },
    "events": {
      "minecraft:on_sheared": {
        "add": {
          "component_groups": [
            "minecraft:snowman_sheared"
          ]
        },
        "remove": {}
      }
    }
  }
}