{ "t": { "type": "label", "text": "#text", "anchor_from": "center", "anchor_to": "center", "bindings": [ { "binding_name": "#player_score_sidebar", "binding_type": "collection", "binding_collection_name": "scoreboard_scores" }, { "binding_type": "view", "source_property_name": "(#player_score_sidebar * 1)", // convert score from string to number "target_property_name": "#score" }, { "binding_type": "view", "source_property_name": "('§z' + '--String: ' + #player_score_sidebar + ' Number: ' + #score + '--')", "target_property_name": "#text" } ] }, "root_panel": { "modifications": [ { "array_name": "controls", "operation": "insert_front", "value": [{ "t@hud.t": {} }] } ] } }