{
    "condition": {
        "type": "origins:resource",
        "resource": "*:energy_resource",
        "comparison": ">",
        "compare_to": 0
    },
    "type": "origins:active_self",
    "entity_action": {
        "type": "origins:and",
        "actions": [
            {
                "type": "origins:execute_command",
                "command": "playsound minecraft:entity.parrot.fly master @a[distance=0..10] ~ ~ ~ 0.6 1"
            },
            {
                "type": "origins:add_velocity",
                "z": 0.4,
                "space": "local"
            },
            {
                "type": "origins:add_velocity",
                "y": 0.5,
                "space": "world"
            },
            {
                "type": "origins:exhaust",
                "amount": 0.6
            },
            {
                "type": "origins:change_resource",
                "resource": "*:energy_resource",
                "change": -1,
                "operation": "add"
            }
        ]
    },
    "cooldown": 20,
    "hud_render": {
        "should_render": false
    },
    
"key": "key.origins.primary_active",
"name": "Feathered creature",
"description": "After all you are still part bird meaning that your wings do most of the work for you"
}