{
  "format_version": "1.16.0",
  "minecraft:entity": {
    "description": {
      "identifier": "numberblocks:zero",
      "spawn_category": "creature",
      "is_spawnable": true,
      "is_summonable": true,
      "properties": {
        "minecraft:nature_spawn": {
          "type": "bool", 
          "default": false,
          "client_sync": true
        }
      }
    },
    
    "component_groups": {
      "nature_spawn": {
        "minecraft:loot": {
          "table": "loot_tables/entities/numberblocks/zero.json"
        },
        "minecraft:despawn": {
          "despawn_from_distance": {}
        }
      }
    },
    "components": {
      "minecraft:is_hidden_when_invisible": {
      },

      "minecraft:type_family": {
        "family": [
          "zero",
          "numberblock",
          "numberblocks",
          "mob",
          "lightweight",
          "even",
          "female"
        ]
      },
      "minecraft:breathable": {
        "total_supply": 15,
        "suffocate_time": 0
      },
      "minecraft:nameable": {
      },
      "minecraft:health": {
        "value": 6,
        "max": 6
      },
      "minecraft:hurt_on_condition": {
        "damage_conditions": [
          {
            "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true },
            "cause": "lava",
            "damage_per_tick": 4
          }
        ]
      },
      "minecraft:movement": {
        "value": 0.25
      },
      "minecraft:navigation.fly": {
        "can_path_over_water": true,
        "can_path_from_air": true
      },
      "minecraft:movement.fly": {
      },
      "minecraft:jump.static": {
      },
      "minecraft:can_climb": {
      },
      "minecraft:collision_box": {
        "width": 0.3,
        "height": 0.2
      },
      "minecraft:damage_sensor": {
        "triggers": {
          "cause": "fall",
          "deals_damage": false
        }
      },
      "minecraft:can_fly": {
      },
      "minecraft:behavior.float": {
        "priority": 0
      },
      "minecraft:behavior.random_hover": {
        "priority": 1,
        "xz_dist": 8,
        "y_dist": 8,
        "y_offset": -1,
        "interval": 120,
        "hover_height": [
          1,
          4
        ]
      },
      "minecraft:behavior.look_at_player": {
        "priority": 2,
        "look_distance": 6.0,
        "probability": 0.02
      },
      "minecraft:behavior.random_look_around": {
        "priority": 3
      },
	  "minecraft:physics": {
        "has_gravity": false
      },
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:conditional_bandwidth_optimization": {
      }
    },
    "events": {
      "minecraft:nature_spawn": {
        "set_property": {
          "minecraft:nature_spawn": true
        },
        "add": {
          "component_groups": [
            "nature_spawn"
          ]
        }
      }
    }
  }
}
