{
  "type": "minecraft:block",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:poisonous_potato",
          "functions": [
            {
              "function": "set_components",
              "components": {
                "!food": {},
                "!consumable": {},
                "enchantment_glint_override": false,
                "item_name": {
                  "translate": "item.overlyrealistic.tribal_mask",
                  "fallback": "Tribal Mask",
                  "color": "white"
                },
                "custom_data": {
                  "or_head_type": "armor",
                  "or_edited_item": true,
                  "IsTribalMask": true,
                  "or_armor_piece": "helmet",
                  "or_armor_type": "tribal",
                  "tribal_mask_type": "oak"
                },
                "custom_model_data": {
                  "strings": [
                    "tribal_mask_type_oak"
                  ]
                },
                "equippable": {
                  "slot":"head",
                  "allowed_entities":["player","zombie","villager","piglin"],
                  "damage_on_hurt":false,
                  "equip_on_interact":true
                },
                "minecraft:max_stack_size": 1,
                "minecraft:attribute_modifiers": [
                  {
                    "type": "minecraft:luck",
                    "id": "overly_realistic:tribal_mask_luck",
                    "amount": 0.65,
                    "operation": "add_value",
                    "slot": "head",
                    "display": {
                      "type": "hidden"
                    }
                  }
                ],
                "item_model": "overlyrealistic:items/tribal_mask"
              }
            }
          ]
        }
      ]
    }
  ]
}