{
    "name": "Thefty",
    "description": "Whenever you kill a villager (Why would you) you can steal some emeralds.",
    "type": "origins:self_action_on_kill",
    "target_condition": {
        "type": "origins:entity_type",
        "entity_type": "minecraft:villager"
    },
    "entity_action": {
        "type": "origins:give",
        "stack": {
            "item": "minecraft:emerald",
            "amount": 3
        },
        "preferred_slot": "offhand"
    },
    "cooldown": 2000,
    "hud_render": {
        "should_render": true,
        "sprite_location": "origins:textures/gui/community/spiderkolo/resource_bar_01.png",
        "bar_index": 1
    }
}