{
  "format_version": "1.13.0",
  "minecraft:entity": {
    "description": {
      "identifier": "addon:dirtist",
      "runtime_identifier": "minecraft:piglin",
      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false
    },
    "components": {
      "minecraft:experience_reward": {
          "on_death": "query.last_hit_by_player ? 2 + (query.equipment_count * Math.Random(1,3)) : 0"
        },
      "minecraft:loot": {
        "table": "loot_tables/entities/zombie.json"
      },
      "minecraft:damage_sensor": {
        "triggers": {
          "on_damage": {
            "filters": {
              "test": "is_family",
              "subject": "other",
              "value": "zombie"
            }
          },
          "deals_damage": false
        }
      },
      "minecraft:break_blocks": {
                "breakable_blocks": [
                    "glass",
                    "glass_pane",
                    "stained_glass",
                    "stained_glass_pane",
                    "wooden_door",
                    "spruce_door",
                    "birch_door",
                    "jungle_door",
                    "acacia_door",
                    "dark_oak_door",
                    "crimson_door",
                    "warped_door"
         ]
      },
      "minecraft:collision_box": {
        "width": 0.6,
        "height": 1.8
      },
      "minecraft:attack": {
        "damage": 6
      },
      "minecraft:movement": {
        "value": 0.25
      },
      "minecraft:knockback_resistance": {
        "value": 0.4
      },
      "minecraft:navigation.walk": {
        "can_path_over_water": true,
        "can_open_doors": true,
        "avoid_water": true
      },
      "minecraft:annotation.open_door":{
      },
      "minecraft:movement.basic": {
      },
      "minecraft:jump.static": {
      },
      "minecraft:can_climb": {
      },
      "minecraft:health": {
        "value": 20,
        "max": 20
      },
      "minecraft:follow_range": {
        "value": 64,
        "max": 64
      },
      "minecraft:nameable": {
      },
      "minecraft:behavior.float": {
        "priority": 0
      },
      "minecraft:behavior.hurt_by_target": {
        "priority": 1,
        "entity_types": {
          "filters": {
            "test": "is_family",
            "subject": "other",
            "operator": "!=",
            "value": "zombie"
          },
          "max_dist": 64
        }
      },
      "minecraft:behavior.nearest_attackable_target": {
        "priority": 2,
        "entity_types": [
          {
            "filters": {
              "test": "is_family",
              "subject": "other",
              "value": "player"
            },
            "max_dist": 64
          },
          {
            "filters": {
              "test": "is_family",
              "subject": "other",
              "value": "villager"
            },
            "max_dist": 64
          },
          {
            "filters": {
              "test": "is_family",
              "subject": "other",
              "value": "irongolem"
            },
            "max_dist": 64
          },
          {
            "filters": {
              "test": "is_family",
              "subject": "other",
              "value": "snowgolem"
            },
            "max_dist": 64
          }
        ],
        "must_see": true
      },
      "minecraft:behavior.melee_attack": {
        "priority": 0,
        "max_dist": 1,
        "speed_multiplier": 1,
        "random_stop_interval": 0,
        "track_target": true
      },
      "minecraft:behavior.random_stroll": {
        "priority": 5,
        "speed_multiplier": 1
      },
      "minecraft:behavior.random_look_around": {
        "priority": 6
      },
      "minecraft:type_family": {
        "family": [ "walker", "monster", "zombie" ]
      },
      "minecraft:physics": {
      },
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      }
    },
    "events": {
    }
  }
}
