{
  "format_version": "1.18.10",
  "minecraft:entity": {
    "description": {
      "identifier": "wesl3y:fly_ride",
      "is_spawnable": false,
      "is_summonable": true,
      "is_experimental": false,
      "scripts": {
        "animate": [
          "1"
        ]
      },
      "animations": {
        "1": "controller.animation.fly_ride",
        "fly": "animation.fly_sneak",
        "fly2": "animation.fly_move"
      }
    },
    "component_groups": {
      "wesl3y:despawn":{"minecraft:instant_despawn":{}},
      "wesl3y:asta": {
        "minecraft:variant": {
          "value": 1
        },
        "minecraft:rideable": {
          "family_types": [
            "player"
          ],
          "seat_count": 1,
          "rider_can_interact": false,
          "crouching_skip_interact": true,
          "pull_in_entities": false,
          "seats": [
            {
              "position": [0, 0.3, 0],
              "min_rider_count": 0,
              "max_rider_count": 0
            }
          ]
        }
      }
    },

    "components": {
      "minecraft:type_family": {
        "family": [
          "ship",
          "fly",
          "attack"
        ]
      },
      "minecraft:collision_box": {
        "width": 0.0,
        "height": 0.0
      },
      "minecraft:health": {
        "value": 1,
        "max": 1
      },
      "minecraft:damage_sensor": {
        "triggers": {
          "cause": "all",
          "deals_damage": false
        }
      },
      "minecraft:scale": {
        "value": 1.0
      },
      "minecraft:knockback_resistance": {
        "value": 0.0
      },
      "minecraft:rideable": {
        "family_types": [
          "player"
        ],
        "seat_count": 1,
        "rider_can_interact": false,
        "crouching_skip_interact": true,
        "pull_in_entities": false,
        "seats": [
          {
            "position": [0, 0, 0],
            "min_rider_count": 0,
            "max_rider_count": 0
          }
        ]
      },
      "minecraft:despawn": {
        "filters": {
          "any_of": [
            { "test": "rider_count", "operator": "==", "value": 0},
            { "test": "on_ground", "operator": "==", "value": true}
          ]
        }
      },
      "minecraft:horse.jump_strength": {
        "value": {
          "range_min": 0.0,
          "range_max": 0.0
        }
      },
      "minecraft:can_power_jump": {},
      "minecraft:input_ground_controlled": {},
      "minecraft:is_stackable": true,
      "minecraft:balloonable": {},
      "minecraft:behavior.float": {
        "priority": 0
      },
      "minecraft:on_target_acquired": {},
      "minecraft:navigation.walk": {
        "is_amphibious": true
      },
      "minecraft:flying_speed": {
        "value": 2
      },
      "minecraft:pushable": {
        "is_pushable": false,
        "is_pushable_by_piston": false
      },
      "minecraft:physics": {}
    },

    "events": {
      "wesl3y:despawn":{"add":{"component_groups":["wesl3y:despawn"]}},
      "wesl3y:asta":{"add":{"component_groups":["wesl3y:asta"]}}
    }
  }
}