{
    "parent": "niknok:minecraft/diamonds",
    "display":
    {
        "icon":
        {
            "item": "minecraft:diamond"
        },
        "title":
        {
            "translate": "Diamonds to you!"
        },
        "description":
        {
            "translate": "§7Throw diamonds at another player."
        },
        "frame": "task",
        "show_toast": true,
        "announce_to_chat": true,
        "hidden": false
    },

    "criteria":
    {
        "skeleton":
        {
            "trigger": "minecraft:thrown_item_picked_up_by_entity",
            "conditions": {"entity": {"type": "minecraft:skeleton"}}
        },
        "wither_skeleton":
        {
            "trigger": "minecraft:thrown_item_picked_up_by_entity",
            "conditions": {"entity": {"type": "minecraft:wither_skeleton"}}
        },
        "zombie":
        {
            "trigger": "minecraft:thrown_item_picked_up_by_entity",
            "conditions": {"entity": {"type": "minecraft:zombie"}}
        },
        "zombie_villager":
        {
            "trigger": "minecraft:thrown_item_picked_up_by_entity",
            "conditions": {"entity": {"type": "minecraft:zombie_villager"}}
        },
        "zombified_piglin":
        {
            "trigger": "minecraft:thrown_item_picked_up_by_entity",
            "conditions": {"entity": {"type": "minecraft:zombified_piglin"}}
        }
    },

    "requirements":
    [
        [
            "skeleton",
            "wither_skeleton",
            "zombie",
            "zombie_villager",
            "zombified_piglin"
        ]
    ]
}