{
  "criteria": {
    "item_update": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
            {
                "predicates": {
                    "custom_data": {
                        "or_item_has_weight": true,
                        "or_item_weight_type": "percent",
                        "or_item_weight_value": 20
                    }
                }
            }
        ]
      }
    }
  },
  "requirements": [
    [
      "item_update"
    ]
  ],
  "rewards": {
    "function": "overly_realistic:players/items/item_weight/percent/item_update_percent_20"
  }
}