{
    "criteria": {
        "use_samsung_portal": {
            "trigger": "minecraft:using_item",
            "conditions": {
                "item": {
                    "predicates": {
                        "custom_data": {
                            "shelf_1": true
                        }
                    }
                },
                   "player": {
                    "location": {
                        "dimension": "samsung:samsung_store"
                    }
                }
            }
        }
    },
    "rewards": {
        "function": "samsung:right_click/shelf/1"
    }
}