{ "type": "origins:active_self", "entity_action": { "type": "origins:raycast", "distance": 16, "block": true, "entity": true, "shape_type": "visual", "fluid_handling": "any", "bientity_action": { "type": "origins:target_action", "action":{ "type":"origins:damage", "amount": 2, "source": { "name": "lightningBolt", "bypasses_armor": true } } }, "command_at_hit": "function aspects:lightning_bolt", "command_step": 1 }, "cooldown": 200, "hud_render": { "should_render": true, "sprite_location": "origins:textures/gui/resource_bar.png", "bar_index":2, "inverted":true }, "key":"key.origins.quaternary_active", "name":"Lightning Bolt", "description":"When pressing the [Quaternary] key, you will summon a lightning bolt at the block or entity you are looking at, doing damage and setting nearby blocks on fire as well." }