{
    "namespace": "mastery_tab",
    "mastery_tab_panel": {
        "type": "panel",
        "size": [
            "100%",
            "100%"
        ],
        "controls": [
            {
                "background_panel": {
                    "type": "panel",
                    "controls": [
                        {
                            "alpha_overlay": {
                                "type": "image",
                                "texture": "textures/ui/Black",
                                "layer": 2,
                                "alpha": 0.5,
                                "size": [
                                    "100%",
                                    "100%"
                                ]
                            }
                        },
                        {
                            "stone_background": {
                                "type": "image",
                                "texture": "textures/blocks/stone",
                                "tiled": true,
                                "layer": 1,
                                "size": [
                                    "100%",
                                    "100%"
                                ],
                                "tiled_scale": [
                                    1.25,
                                    1.25
                                ]
                            }
                        }
                    ]
                }
            },
            {
                "scrolling_panel@common.scrolling_panel": {
                    "anchor_to": "top_left",
                    "anchor_from": "top_left",
                    "$show_background": false,
                    "size": [
                        "100%",
                        "100%"
                    ],
                    "$scroll_size": [
                        0,
                        0
                    ],
                    "$scrolling_content": "mastery_tab.quests_panel"
                }
            },
            {
                "claim_all_rewards@quest_book_utils.claim_rewards_button": {
                    "$button_index": 20,
                    "anchor_to": "bottom_middle",
                    "anchor_from": "bottom_middle",
                    "offset": [
                        0,
                        35
                    ]
                }
            }
        ]
    },
    "quests_panel": {
        "type": "stack_panel",
        "orientation": "vertical",
        "size": [
            "100%",
            "100%c"
        ],
        "controls": [
            {
                "offset_padding": {
                    "type": "panel",
                    "size": [
                        0,
                        8
                    ],
                    "bindings": [
                        {
                            "binding_name": "#form_text"
                        },
                        {
                            "binding_type": "view",
                            "source_property_name": "(#form_text * 1)",
                            "target_property_name": "#converted_number"
                        },
                        {
                            "binding_type": "view",
                            "source_property_name": "(not (#converted_number < 6))",
                            "target_property_name": "#visible"
                        }
                    ]
                }
            },
            {
                "no_quests_available": {
                    "type": "panel",
                    "size": [
                        "100%",
                        100
                    ],
                    "controls": [
                        {
                            "image": {
                                "type": "image",
                                "texture": "textures/ui/effect_background",
                                "anchor_to": "center",
                                "anchor_from": "center",
                                "size": [
                                    "100%c + 16px",
                                    "100%c + 16px"
                                ],
                                "controls": [
                                    {
                                        "label": {
                                            "type": "label",
                                            "text": "questBook.subheader.no_quests_available",
                                            "text_alignment": "left",
                                            "anchor_to": "center",
                                            "anchor_from": "center"
                                        }
                                    }
                                ]
                            }
                        }
                    ],
                    "bindings": [
                        {
                            "binding_name": "#form_text"
                        },
                        {
                            "binding_type": "view",
                            "source_property_name": "(#form_text * 1)",
                            "target_property_name": "#converted_number"
                        },
                        {
                            "binding_type": "view",
                            "source_property_name": "(#converted_number < 6)",
                            "target_property_name": "#visible"
                        }
                    ]
                }
            },
            {
                "row_1": {
                    "type": "panel",
                    "size": [
                        "100%",
                        24
                    ],
                    "controls": [
                        {
                            "stack_panel": {
                                "type": "stack_panel",
                                "orientation": "horizontal",
                                "anchor_to": "top_middle",
                                "anchor_from": "top_middle",
                                "size": [
                                    "100%c",
                                    "100%c"
                                ],
                                "controls": [
                                    {
                                        "mythical_farmer@quest_book_utils.quest_button_panel": {
                                            "$button_index": 5,
                                            "$button_icon_texture": "textures/quest_book/icons/mythical_fertilizer_icon"
                                        }
                                    },
                                    {
                                        "padding@quest_book_utils.horizontal_padding": {}
                                    },
                                    {
                                        "gapple_hoard@quest_book_utils.quest_button_panel": {
                                            "$button_index": 6,
                                            "$button_icon_texture": "textures/items/apple_golden"
                                        }
                                    },
                                    {
                                        "padding@quest_book_utils.horizontal_padding": {}
                                    },
                                    {
                                        "how_did_i_get_here@quest_book_utils.quest_button_panel": {
                                            "$button_index": 7,
                                            "$button_icon": "mastery_tab.dragon_egg_icon"
                                        }
                                    },
                                    {
                                        "padding@quest_book_utils.horizontal_padding": {}
                                    },
                                    {
                                        "this_wouldve_helped_for_the_dragon_fight@quest_book_utils.quest_button_panel": {
                                            "$button_index": 8,
                                            "$button_icon_texture": "textures/items/elytra"
                                        }
                                    }
                                ]
                            }
                        }
                    ],
                    "bindings": [
                        {
                            "binding_name": "#form_text"
                        },
                        {
                            "binding_type": "view",
                            "source_property_name": "(#form_text * 1)",
                            "target_property_name": "#converted_number"
                        },
                        {
                            "binding_type": "view",
                            "source_property_name": "((#form_text = 'None') or (#converted_number > 5))",
                            "target_property_name": "#visible"
                        }
                    ]
                }
            },
            {
                "padding@quest_book_utils.vertical_padding": {
                    "bindings": [
                        {
                            "binding_name": "#form_text"
                        },
                        {
                            "binding_type": "view",
                            "source_property_name": "(#form_text * 1)",
                            "target_property_name": "#converted_number"
                        },
                        {
                            "binding_type": "view",
                            "source_property_name": "((#form_text = 'None') or (#converted_number > 5))",
                            "target_property_name": "#visible"
                        }
                    ]
                }
            },
            {
                "row_2": {
                    "type": "panel",
                    "size": [
                        "100%",
                        24
                    ],
                    "controls": [
                        {
                            "stack_panel": {
                                "type": "stack_panel",
                                "orientation": "horizontal",
                                "anchor_to": "top_middle",
                                "anchor_from": "top_middle",
                                "size": [
                                    "100%c",
                                    "100%c"
                                ],
                                "offset": [
                                    28.5,
                                    0
                                ],
                                "controls": [
                                    {
                                        "looking_the_part@quest_book_utils.quest_button_panel": {
                                            "$button_index": 9,
                                            "$button_icon_texture": "textures/mythical/items/armors/mythical_chestplate",
                                            "$connection_type": 1
                                        }
                                    },
                                    {
                                        "padding@quest_book_utils.horizontal_padding": {}
                                    },
                                    {
                                        "you_have_come_so_far@quest_book_utils.quest_button_panel": {
                                            "$button_index": 10,
                                            "$button_icon_texture": "textures/ultimate_crafting/ultimate_chestplate",
                                            "$connection_type": 6,
                                            "$right_connection_type": 1
                                        }
                                    },
                                    {
                                        "padding@quest_book_utils.horizontal_padding": {}
                                    },
                                    {
                                        "deforestation@quest_book_utils.quest_button_panel": {
                                            "$button_index": 11,
                                            "$button_icon_texture": "textures/ultimate_crafting/ultimate_axe",
                                            "$connection_type": 7,
                                            "$right_connection_type": 1
                                        }
                                    },
                                    {
                                        "padding@quest_book_utils.horizontal_padding": {}
                                    },
                                    {
                                        "agricultural_maniac@quest_book_utils.quest_button_panel": {
                                            "$button_index": 12,
                                            "$button_icon_texture": "textures/ultimate_crafting/ultimate_hoe",
                                            "$connection_type": 4,
                                            "$right_connection_type": 1
                                        }
                                    },
                                    {
                                        "padding@quest_book_utils.horizontal_padding": {}
                                    },
                                    {
                                        "yearn_for_the_mines@quest_book_utils.quest_button_panel": {
                                            "$button_index": 13,
                                            "$button_icon_texture": "textures/ultimate_crafting/ultimate_pickaxe",
                                            "$connection_type": 7,
                                            "$right_connection_type": 1
                                        }
                                    },
                                    {
                                        "padding@quest_book_utils.horizontal_padding": {}
                                    },
                                    {
                                        "diggy_diggy_hole@quest_book_utils.quest_button_panel": {
                                            "$button_index": 14,
                                            "$button_icon_texture": "textures/ultimate_crafting/ultimate_shovel",
                                            "$connection_type": 5
                                        }
                                    }
                                ]
                            }
                        }
                    ],
                    "bindings": [
                        {
                            "binding_name": "#form_text"
                        },
                        {
                            "binding_type": "view",
                            "source_property_name": "(#form_text * 1)",
                            "target_property_name": "#converted_number"
                        },
                        {
                            "binding_type": "view",
                            "source_property_name": "((#form_text = 'None') or (#converted_number > 5))",
                            "target_property_name": "#visible"
                        }
                    ]
                }
            },
            {
                "padding@quest_book_utils.vertical_padding": {
                    "bindings": [
                        {
                            "binding_name": "#form_text"
                        },
                        {
                            "binding_type": "view",
                            "source_property_name": "(#form_text * 1)",
                            "target_property_name": "#converted_number"
                        },
                        {
                            "binding_type": "view",
                            "source_property_name": "((#form_text = 'None') or (#converted_number > 5))",
                            "target_property_name": "#visible"
                        }
                    ]
                }
            },
            {
                "row_2": {
                    "type": "panel",
                    "size": [
                        "100%",
                        24
                    ],
                    "controls": [
                        {
                            "stack_panel": {
                                "type": "stack_panel",
                                "orientation": "horizontal",
                                "anchor_to": "top_middle",
                                "anchor_from": "top_middle",
                                "size": [
                                    "100%c",
                                    "100%c"
                                ],
                                "offset": [
                                    43,
                                    0
                                ],
                                "controls": [
                                    {
                                        "oh_mutants_i_got_something_for_ya@quest_book_utils.quest_button_panel": {
                                            "$button_index": 15,
                                            "$button_icon_texture": "textures/ultimate_crafting/ultimate_sword",
                                            "$connection_type": 3
                                        }
                                    },
                                    {
                                        "padding@quest_book_utils.padding_connection": {}
                                    },
                                    {
                                        "i_can_build_anything@quest_book_utils.quest_button_panel": {
                                            "$button_index": 16,
                                            "$button_icon_texture": "textures/ultimate_crafting/ultimate_builder_wand",
                                            "$connection_type": 4
                                        }
                                    },
                                    {
                                        "padding@quest_book_utils.padding_connection": {}
                                    },
                                    {
                                        "master_of_mutants@quest_book_utils.quest_button_panel": {
                                            "$button_index": 17,
                                            "$button_icon_texture": "textures/mutants/spawn_eggs/egg_mutant_enderman",
                                            "$connection_type": 4
                                        }
                                    },
                                    {
                                        "padding@quest_book_utils.padding_connection": {}
                                    },
                                    {
                                        "i_cant_even_read_this_number@quest_book_utils.quest_button_panel": {
                                            "$button_index": 18,
                                            "$button_icon_texture": "textures/sf/heart_container",
                                            "$connection_type": 4
                                        }
                                    },
                                    {
                                        "padding@quest_book_utils.padding_connection": {}
                                    },
                                    {
                                        "good_now_19_more@quest_book_utils.quest_button_panel": {
                                            "$button_index": 19,
                                            "$button_icon": "mastery_tab.dragon_head_icon",
                                            "$connection_type": 2
                                        }
                                    }
                                ]
                            }
                        }
                    ],
                    "bindings": [
                        {
                            "binding_name": "#form_text"
                        },
                        {
                            "binding_type": "view",
                            "source_property_name": "(#form_text * 1)",
                            "target_property_name": "#converted_number"
                        },
                        {
                            "binding_type": "view",
                            "source_property_name": "((#form_text = 'None') or (#converted_number > 10))",
                            "target_property_name": "#visible"
                        }
                    ]
                }
            },
            {
                "offset_padding": {
                    "type": "panel",
                    "size": [
                        0,
                        8
                    ]
                }
            }
        ]
    },
    "dragon_egg_icon@beacon.item_renderer": {
        "anchor_to": "center",
        "anchor_from": "center",
        "layer": 2,
        "property_bag": {
            "#item_id_aux": 7995392
        }
    },
    "dragon_head_icon@beacon.item_renderer": {
        "anchor_to": "center",
        "anchor_from": "center",
        "layer": 2,
        "property_bag": {
            "#item_id_aux": -63504384
        }
    }
}