From a3e6f2854e8c254be303ace9a01f4c195adf3e16 Mon Sep 17 00:00:00 2001 From: msg-programs Date: Sat, 29 Jul 2023 19:15:35 +0200 Subject: Change resource dirs to not contain uppercase letters. --- .../tabhud/screenbuilder/ScreenMaster.java | 5 +- .../resources/assets/skyblocker/tabhud/readme.md | 6 +- .../assets/skyblocker/tabhud/screenA/default.json | 70 ---------------------- .../assets/skyblocker/tabhud/screenA/garden.json | 70 ---------------------- .../assets/skyblocker/tabhud/screenA/rift.json | 48 --------------- .../assets/skyblocker/tabhud/screenA/unknown.json | 17 ------ .../assets/skyblocker/tabhud/screenB/default.json | 17 ------ .../assets/skyblocker/tabhud/screenB/dungeon.json | 53 ---------------- .../assets/skyblocker/tabhud/screenB/garden.json | 29 --------- .../skyblocker/tabhud/screenB/guest_island.json | 29 --------- .../skyblocker/tabhud/screenB/home_island.json | 29 --------- .../assets/skyblocker/tabhud/screenB/unknown.json | 17 ------ .../assets/skyblocker/tabhud/screen_a/default.json | 70 ++++++++++++++++++++++ .../assets/skyblocker/tabhud/screen_a/garden.json | 70 ++++++++++++++++++++++ .../assets/skyblocker/tabhud/screen_a/rift.json | 48 +++++++++++++++ .../assets/skyblocker/tabhud/screen_a/unknown.json | 17 ++++++ .../assets/skyblocker/tabhud/screen_b/default.json | 17 ++++++ .../assets/skyblocker/tabhud/screen_b/dungeon.json | 53 ++++++++++++++++ .../assets/skyblocker/tabhud/screen_b/garden.json | 29 +++++++++ .../skyblocker/tabhud/screen_b/guest_island.json | 29 +++++++++ .../skyblocker/tabhud/screen_b/home_island.json | 29 +++++++++ .../assets/skyblocker/tabhud/screen_b/unknown.json | 17 ++++++ .../assets/skyblocker/tabhud/screenA/default.json | 70 ---------------------- .../assets/skyblocker/tabhud/screenA/garden.json | 70 ---------------------- .../assets/skyblocker/tabhud/screenA/rift.json | 48 --------------- .../assets/skyblocker/tabhud/screenA/unknown.json | 17 ------ .../assets/skyblocker/tabhud/screenB/default.json | 17 ------ .../assets/skyblocker/tabhud/screenB/dungeon.json | 53 ---------------- .../assets/skyblocker/tabhud/screenB/garden.json | 29 --------- .../skyblocker/tabhud/screenB/guest_island.json | 29 --------- .../skyblocker/tabhud/screenB/home_island.json | 29 --------- .../assets/skyblocker/tabhud/screenB/unknown.json | 17 ------ .../assets/skyblocker/tabhud/screen_a/default.json | 70 ++++++++++++++++++++++ .../assets/skyblocker/tabhud/screen_a/garden.json | 70 ++++++++++++++++++++++ .../assets/skyblocker/tabhud/screen_a/rift.json | 48 +++++++++++++++ .../assets/skyblocker/tabhud/screen_a/unknown.json | 17 ++++++ .../assets/skyblocker/tabhud/screen_b/default.json | 17 ++++++ .../assets/skyblocker/tabhud/screen_b/dungeon.json | 53 ++++++++++++++++ .../assets/skyblocker/tabhud/screen_b/garden.json | 29 +++++++++ .../skyblocker/tabhud/screen_b/guest_island.json | 29 +++++++++ .../skyblocker/tabhud/screen_b/home_island.json | 29 +++++++++ .../assets/skyblocker/tabhud/screen_b/unknown.json | 17 ++++++ 42 files changed, 764 insertions(+), 763 deletions(-) delete mode 100644 src/main/resources/assets/skyblocker/tabhud/screenA/default.json delete mode 100644 src/main/resources/assets/skyblocker/tabhud/screenA/garden.json delete mode 100644 src/main/resources/assets/skyblocker/tabhud/screenA/rift.json delete mode 100644 src/main/resources/assets/skyblocker/tabhud/screenA/unknown.json delete mode 100644 src/main/resources/assets/skyblocker/tabhud/screenB/default.json delete mode 100644 src/main/resources/assets/skyblocker/tabhud/screenB/dungeon.json delete mode 100644 src/main/resources/assets/skyblocker/tabhud/screenB/garden.json delete mode 100644 src/main/resources/assets/skyblocker/tabhud/screenB/guest_island.json delete mode 100644 src/main/resources/assets/skyblocker/tabhud/screenB/home_island.json delete mode 100644 src/main/resources/assets/skyblocker/tabhud/screenB/unknown.json create mode 100644 src/main/resources/assets/skyblocker/tabhud/screen_a/default.json create mode 100644 src/main/resources/assets/skyblocker/tabhud/screen_a/garden.json create mode 100644 src/main/resources/assets/skyblocker/tabhud/screen_a/rift.json create mode 100644 src/main/resources/assets/skyblocker/tabhud/screen_a/unknown.json create mode 100644 src/main/resources/assets/skyblocker/tabhud/screen_b/default.json create mode 100644 src/main/resources/assets/skyblocker/tabhud/screen_b/dungeon.json create mode 100644 src/main/resources/assets/skyblocker/tabhud/screen_b/garden.json create mode 100644 src/main/resources/assets/skyblocker/tabhud/screen_b/guest_island.json create mode 100644 src/main/resources/assets/skyblocker/tabhud/screen_b/home_island.json create mode 100644 src/main/resources/assets/skyblocker/tabhud/screen_b/unknown.json delete mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenA/default.json delete mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenA/garden.json delete mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenA/rift.json delete mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenA/unknown.json delete mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/default.json delete mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/dungeon.json delete mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/garden.json delete mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/guest_island.json delete mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/home_island.json delete mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/unknown.json create mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_a/default.json create mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_a/garden.json create mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_a/rift.json create mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_a/unknown.json create mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/default.json create mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/dungeon.json create mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/garden.json create mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/guest_island.json create mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/home_island.json create mode 100644 src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/unknown.json (limited to 'src') diff --git a/src/main/java/me/xmrvizzy/skyblocker/skyblock/tabhud/screenbuilder/ScreenMaster.java b/src/main/java/me/xmrvizzy/skyblocker/skyblock/tabhud/screenbuilder/ScreenMaster.java index 997bd5a9..114aa0cb 100644 --- a/src/main/java/me/xmrvizzy/skyblocker/skyblock/tabhud/screenbuilder/ScreenMaster.java +++ b/src/main/java/me/xmrvizzy/skyblocker/skyblock/tabhud/screenbuilder/ScreenMaster.java @@ -42,11 +42,12 @@ public class ScreenMaster { if (screenType.equals("standard")) { standardMap.put(location, new ScreenBuilder(ident)); - } else if (screenType.equals("screenA")) { + } else if (screenType.equals("screen_a")) { screenAMap.put(location, new ScreenBuilder(ident)); - } else if (screenType.equals("screenB")) { + } else if (screenType.equals("screen_b")) { screenBMap.put(location, new ScreenBuilder(ident)); } + } catch (IOException ioex) { LOGGER.error("Can't load screen definition from {}", path); } diff --git a/src/main/resources/assets/skyblocker/tabhud/readme.md b/src/main/resources/assets/skyblocker/tabhud/readme.md index 2d3dcf67..1f294cb4 100644 --- a/src/main/resources/assets/skyblocker/tabhud/readme.md +++ b/src/main/resources/assets/skyblocker/tabhud/readme.md @@ -6,11 +6,11 @@ my_pack └───assets └───skyblocker └───tabhud - ├───screenA - ├───screenB + ├───screen_a + ├───screen_b └───standard ``` -The three dirs `screenA`, `screenB` and `standard` contain the screen definition JSON files as described below. `standard` describes the screens shown when just the TAB key is pressed, while `screenA/B` describe the screens shown when using the modifier keys A and B (default binds: N and B). +The three dirs `screen_a`, `screen_b` and `standard` contain the screen definition JSON files as described below. `standard` describes the screens shown when just the TAB key is pressed, while `screen_a/b` describe the screens shown when using the modifier keys A and B (default binds: N and B). The file names are used to describe where a screen is shown. They are case sensitive. For a full list of possible names see Appendix A. While this scheme necessitates duplicate file contents and results in similar file names in different directories, it also allows for much control both when creating a complete layout or when only overriding specific screens. # Screen definition JSONs diff --git a/src/main/resources/assets/skyblocker/tabhud/screenA/default.json b/src/main/resources/assets/skyblocker/tabhud/screenA/default.json deleted file mode 100644 index dcfa5138..00000000 --- a/src/main/resources/assets/skyblocker/tabhud/screenA/default.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "widgets":[ - { - "name": "SkillsWidget", - "alias": "sw" - }, - { - "name": "EventWidget", - "alias": "evw", - "inGarden": false - }, - { - "name": "UpgradeWidget", - "alias": "uw" - }, - { - "name": "ProfileWidget", - "alias": "pw" - }, - { - "name": "EffectWidget", - "alias": "efw" - }, - { - "name": "ElectionWidget", - "alias": "elw" - }, - { - "name": "CookieWidget", - "alias": "cw" - } - ], - "layout": [ - { - "op": "stack", - "direction": "vertical", - "align": "center", - "apply_to": ["sw", "evw", "uw"] - }, - { - "op": "stack", - "direction": "vertical", - "align": "center", - "apply_to": ["pw", "efw"] - }, - { - "op": "stack", - "direction": "vertical", - "align": "center", - "apply_to": ["elw", "cw"] - }, - { - "op": "align", - "reference": "horizontalCenter", - "apply_to": ["sw", "evw", "uw"] - }, - { - "op": "collideAgainst", - "direction": "left", - "widgets": ["pw", "efw"], - "colliders": ["sw", "evw", "uw"] - }, - { - "op": "collideAgainst", - "direction": "right", - "widgets": ["elw", "cw"], - "colliders": ["sw", "evw", "uw"] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/skyblocker/tabhud/screenA/garden.json b/src/main/resources/assets/skyblocker/tabhud/screenA/garden.json deleted file mode 100644 index 3e1556ef..00000000 --- a/src/main/resources/assets/skyblocker/tabhud/screenA/garden.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "widgets":[ - { - "name": "GardenSkillsWidget", - "alias": "gsw" - }, - { - "name": "EventWidget", - "alias": "evw", - "inGarden": true - }, - { - "name": "UpgradeWidget", - "alias": "uw" - }, - { - "name": "ProfileWidget", - "alias": "pw" - }, - { - "name": "EffectWidget", - "alias": "efw" - }, - { - "name": "JacobsContestWidget", - "alias": "jcw" - }, - { - "name": "CookieWidget", - "alias": "cw" - } - ], - "layout": [ - { - "op": "stack", - "direction": "vertical", - "align": "center", - "apply_to": ["gsw", "evw", "uw"] - }, - { - "op": "stack", - "direction": "vertical", - "align": "center", - "apply_to": ["pw", "efw"] - }, - { - "op": "stack", - "direction": "vertical", - "align": "center", - "apply_to": ["jcw", "cw"] - }, - { - "op": "align", - "reference": "horizontalCenter", - "apply_to": ["gsw", "evw", "uw"] - }, - { - "op": "collideAgainst", - "direction": "left", - "widgets": ["pw", "efw"], - "colliders": ["gsw", "evw", "uw"] - }, - { - "op": "collideAgainst", - "direction": "right", - "widgets": ["jcw", "cw"], - "colliders": ["gsw", "evw", "uw"] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/skyblocker/tabhud/screenA/rift.json b/src/main/resources/assets/skyblocker/tabhud/screenA/rift.json deleted file mode 100644 index 8d1d4c5f..00000000 --- a/src/main/resources/assets/skyblocker/tabhud/screenA/rift.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "widgets":[ - { - "name": "RiftProfileWidget", - "alias": "profile" - }, - { - "name": "RiftStatsWidget", - "alias": "stats" - }, - { - "name": "ShenWidget", - "alias": "shen" - }, - { - "name": "CookieWidget", - "alias": "cookie" - }, - { - "name": "AdvertisementWidget", - "alias": "ad" - } - ], - "layout": [ - { - "op": "stack", - "direction": "vertical", - "align": "center", - "apply_to": ["stats", "ad"] - }, - { - "op": "stack", - "direction": "vertical", - "align": "center", - "apply_to": ["profile", "shen", "cookie"] - }, - { - "op": "align", - "reference": "leftOfCenter", - "apply_to": ["stats", "ad"] - }, - { - "op": "align", - "reference": "rightOfCenter", - "apply_to": ["profile", "shen", "cookie"] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/skyblocker/tabhud/screenA/unknown.json b/src/main/resources/assets/skyblocker/tabhud/screenA/unknown.json deleted file mode 100644 index 0252940a..00000000 --- a/src/main/resources/assets/skyblocker/tabhud/screenA/unknown.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "widgets": [ - { - "name": "EmptyWidget", - "alias": "ew" - } - ], - "layout": [ - { - "op": "place", - "where": "center", - "apply_to": [ - "ew" - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/skyblocker/tabhud/screenB/default.json b/src/main/resources/assets/skyblocker/tabhud/screenB/default.json deleted file mode 100644 index a1f52ad5..00000000 --- a/src/main/resources/assets/skyblocker/tabhud/screenB/default.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "widgets": [ - { - "name": "PlayerListWidget", - "alias": "plw" - } - ], - "layout": [ - { - "op": "place", - "where": "center", - "apply_to": [ - "plw" - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/skyblocker/tabhud/screenB/dungeon.json b/src/main/resources/assets/skyblocker/tabhud/screenB/dungeon.json deleted file mode 100644 index 075e3d4c..00000000 --- a/src/main/resources/assets/skyblocker/tabhud/screenB/dungeon.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "widgets":[ - { - "name": "DungeonPlayerWidget", - "alias": "dpw1", - "player": 1 - }, - { - "name": "DungeonPlayerWidget", - "alias": "dpw2", - "player": 2 - }, - { - "name": "DungeonPlayerWidget", - "alias": "dpw3", - "player": 3 - }, - { - "name": "DungeonPlayerWidget", - "alias": "dpw4", - "player": 4 - }, - { - "name": "DungeonPlayerWidget", - "alias": "dpw5", - "player": 5 - } - ], - "layout": [ - { - "op": "stack", - "direction": "vertical", - "align": "center", - "apply_to": ["dpw1", "dpw2", "dpw3"] - }, - { - "op": "stack", - "direction": "vertical", - "align": "center", - "apply_to": ["dpw4", "dpw5"] - }, - { - "op": "align", - "reference": "leftOfCenter", - "apply_to": ["dpw1", "dpw2", "dpw3"] - }, - { - "op": "align", - "reference": "rightOfCenter", - "apply_to": ["dpw4", "dpw5"] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/skyblocker/tabhud/screenB/garden.json b/src/main/resources/assets/skyblocker/tabhud/screenB/garden.json deleted file mode 100644 index 772e0594..00000000 --- a/src/main/resources/assets/skyblocker/tabhud/screenB/garden.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "widgets":[ - { - "name": "IslandGuestsWidget", - "alias": "igw" - }, - { - "name": "IslandSelfWidget", - "alias": "isw" - } - ], - "layout": [ - { - "op": "align", - "reference": "rightOfCenter", - "apply_to": ["igw"] - }, - { - "op": "align", - "reference": "leftOfCenter", - "apply_to": ["isw"] - }, - { - "op": "align", - "reference": "verticalCenter", - "apply_to": ["igw", "isw"] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/skyblocker/tabhud/screenB/guest_island.json b/src/main/resources/assets/skyblocker/tabhud/screenB/guest_island.json deleted file mode 100644 index 54a4039d..00000000 --- a/src/main/resources/assets/skyblocker/tabhud/screenB/guest_island.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "widgets":[ - { - "name": "IslandGuestsWidget", - "alias": "igw" - }, - { - "name": "IslandOwnersWidget", - "alias": "iow" - } - ], - "layout": [ - { - "op": "align", - "reference": "leftOfCenter", - "apply_to": ["igw"] - }, - { - "op": "align", - "reference": "rightOfCenter", - "apply_to": ["iow"] - }, - { - "op": "align", - "reference": "verticalCenter", - "apply_to": ["igw", "iow"] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/skyblocker/tabhud/screenB/home_island.json b/src/main/resources/assets/skyblocker/tabhud/screenB/home_island.json deleted file mode 100644 index 772e0594..00000000 --- a/src/main/resources/assets/skyblocker/tabhud/screenB/home_island.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "widgets":[ - { - "name": "IslandGuestsWidget", - "alias": "igw" - }, - { - "name": "IslandSelfWidget", - "alias": "isw" - } - ], - "layout": [ - { - "op": "align", - "reference": "rightOfCenter", - "apply_to": ["igw"] - }, - { - "op": "align", - "reference": "leftOfCenter", - "apply_to": ["isw"] - }, - { - "op": "align", - "reference": "verticalCenter", - "apply_to": ["igw", "isw"] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/skyblocker/tabhud/screenB/unknown.json b/src/main/resources/assets/skyblocker/tabhud/screenB/unknown.json deleted file mode 100644 index 0252940a..00000000 --- a/src/main/resources/assets/skyblocker/tabhud/screenB/unknown.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "widgets": [ - { - "name": "EmptyWidget", - "alias": "ew" - } - ], - "layout": [ - { - "op": "place", - "where": "center", - "apply_to": [ - "ew" - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/skyblocker/tabhud/screen_a/default.json b/src/main/resources/assets/skyblocker/tabhud/screen_a/default.json new file mode 100644 index 00000000..dcfa5138 --- /dev/null +++ b/src/main/resources/assets/skyblocker/tabhud/screen_a/default.json @@ -0,0 +1,70 @@ +{ + "widgets":[ + { + "name": "SkillsWidget", + "alias": "sw" + }, + { + "name": "EventWidget", + "alias": "evw", + "inGarden": false + }, + { + "name": "UpgradeWidget", + "alias": "uw" + }, + { + "name": "ProfileWidget", + "alias": "pw" + }, + { + "name": "EffectWidget", + "alias": "efw" + }, + { + "name": "ElectionWidget", + "alias": "elw" + }, + { + "name": "CookieWidget", + "alias": "cw" + } + ], + "layout": [ + { + "op": "stack", + "direction": "vertical", + "align": "center", + "apply_to": ["sw", "evw", "uw"] + }, + { + "op": "stack", + "direction": "vertical", + "align": "center", + "apply_to": ["pw", "efw"] + }, + { + "op": "stack", + "direction": "vertical", + "align": "center", + "apply_to": ["elw", "cw"] + }, + { + "op": "align", + "reference": "horizontalCenter", + "apply_to": ["sw", "evw", "uw"] + }, + { + "op": "collideAgainst", + "direction": "left", + "widgets": ["pw", "efw"], + "colliders": ["sw", "evw", "uw"] + }, + { + "op": "collideAgainst", + "direction": "right", + "widgets": ["elw", "cw"], + "colliders": ["sw", "evw", "uw"] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/skyblocker/tabhud/screen_a/garden.json b/src/main/resources/assets/skyblocker/tabhud/screen_a/garden.json new file mode 100644 index 00000000..3e1556ef --- /dev/null +++ b/src/main/resources/assets/skyblocker/tabhud/screen_a/garden.json @@ -0,0 +1,70 @@ +{ + "widgets":[ + { + "name": "GardenSkillsWidget", + "alias": "gsw" + }, + { + "name": "EventWidget", + "alias": "evw", + "inGarden": true + }, + { + "name": "UpgradeWidget", + "alias": "uw" + }, + { + "name": "ProfileWidget", + "alias": "pw" + }, + { + "name": "EffectWidget", + "alias": "efw" + }, + { + "name": "JacobsContestWidget", + "alias": "jcw" + }, + { + "name": "CookieWidget", + "alias": "cw" + } + ], + "layout": [ + { + "op": "stack", + "direction": "vertical", + "align": "center", + "apply_to": ["gsw", "evw", "uw"] + }, + { + "op": "stack", + "direction": "vertical", + "align": "center", + "apply_to": ["pw", "efw"] + }, + { + "op": "stack", + "direction": "vertical", + "align": "center", + "apply_to": ["jcw", "cw"] + }, + { + "op": "align", + "reference": "horizontalCenter", + "apply_to": ["gsw", "evw", "uw"] + }, + { + "op": "collideAgainst", + "direction": "left", + "widgets": ["pw", "efw"], + "colliders": ["gsw", "evw", "uw"] + }, + { + "op": "collideAgainst", + "direction": "right", + "widgets": ["jcw", "cw"], + "colliders": ["gsw", "evw", "uw"] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/skyblocker/tabhud/screen_a/rift.json b/src/main/resources/assets/skyblocker/tabhud/screen_a/rift.json new file mode 100644 index 00000000..8d1d4c5f --- /dev/null +++ b/src/main/resources/assets/skyblocker/tabhud/screen_a/rift.json @@ -0,0 +1,48 @@ +{ + "widgets":[ + { + "name": "RiftProfileWidget", + "alias": "profile" + }, + { + "name": "RiftStatsWidget", + "alias": "stats" + }, + { + "name": "ShenWidget", + "alias": "shen" + }, + { + "name": "CookieWidget", + "alias": "cookie" + }, + { + "name": "AdvertisementWidget", + "alias": "ad" + } + ], + "layout": [ + { + "op": "stack", + "direction": "vertical", + "align": "center", + "apply_to": ["stats", "ad"] + }, + { + "op": "stack", + "direction": "vertical", + "align": "center", + "apply_to": ["profile", "shen", "cookie"] + }, + { + "op": "align", + "reference": "leftOfCenter", + "apply_to": ["stats", "ad"] + }, + { + "op": "align", + "reference": "rightOfCenter", + "apply_to": ["profile", "shen", "cookie"] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/skyblocker/tabhud/screen_a/unknown.json b/src/main/resources/assets/skyblocker/tabhud/screen_a/unknown.json new file mode 100644 index 00000000..0252940a --- /dev/null +++ b/src/main/resources/assets/skyblocker/tabhud/screen_a/unknown.json @@ -0,0 +1,17 @@ +{ + "widgets": [ + { + "name": "EmptyWidget", + "alias": "ew" + } + ], + "layout": [ + { + "op": "place", + "where": "center", + "apply_to": [ + "ew" + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/skyblocker/tabhud/screen_b/default.json b/src/main/resources/assets/skyblocker/tabhud/screen_b/default.json new file mode 100644 index 00000000..a1f52ad5 --- /dev/null +++ b/src/main/resources/assets/skyblocker/tabhud/screen_b/default.json @@ -0,0 +1,17 @@ +{ + "widgets": [ + { + "name": "PlayerListWidget", + "alias": "plw" + } + ], + "layout": [ + { + "op": "place", + "where": "center", + "apply_to": [ + "plw" + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/skyblocker/tabhud/screen_b/dungeon.json b/src/main/resources/assets/skyblocker/tabhud/screen_b/dungeon.json new file mode 100644 index 00000000..075e3d4c --- /dev/null +++ b/src/main/resources/assets/skyblocker/tabhud/screen_b/dungeon.json @@ -0,0 +1,53 @@ +{ + "widgets":[ + { + "name": "DungeonPlayerWidget", + "alias": "dpw1", + "player": 1 + }, + { + "name": "DungeonPlayerWidget", + "alias": "dpw2", + "player": 2 + }, + { + "name": "DungeonPlayerWidget", + "alias": "dpw3", + "player": 3 + }, + { + "name": "DungeonPlayerWidget", + "alias": "dpw4", + "player": 4 + }, + { + "name": "DungeonPlayerWidget", + "alias": "dpw5", + "player": 5 + } + ], + "layout": [ + { + "op": "stack", + "direction": "vertical", + "align": "center", + "apply_to": ["dpw1", "dpw2", "dpw3"] + }, + { + "op": "stack", + "direction": "vertical", + "align": "center", + "apply_to": ["dpw4", "dpw5"] + }, + { + "op": "align", + "reference": "leftOfCenter", + "apply_to": ["dpw1", "dpw2", "dpw3"] + }, + { + "op": "align", + "reference": "rightOfCenter", + "apply_to": ["dpw4", "dpw5"] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/skyblocker/tabhud/screen_b/garden.json b/src/main/resources/assets/skyblocker/tabhud/screen_b/garden.json new file mode 100644 index 00000000..772e0594 --- /dev/null +++ b/src/main/resources/assets/skyblocker/tabhud/screen_b/garden.json @@ -0,0 +1,29 @@ +{ + "widgets":[ + { + "name": "IslandGuestsWidget", + "alias": "igw" + }, + { + "name": "IslandSelfWidget", + "alias": "isw" + } + ], + "layout": [ + { + "op": "align", + "reference": "rightOfCenter", + "apply_to": ["igw"] + }, + { + "op": "align", + "reference": "leftOfCenter", + "apply_to": ["isw"] + }, + { + "op": "align", + "reference": "verticalCenter", + "apply_to": ["igw", "isw"] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/skyblocker/tabhud/screen_b/guest_island.json b/src/main/resources/assets/skyblocker/tabhud/screen_b/guest_island.json new file mode 100644 index 00000000..54a4039d --- /dev/null +++ b/src/main/resources/assets/skyblocker/tabhud/screen_b/guest_island.json @@ -0,0 +1,29 @@ +{ + "widgets":[ + { + "name": "IslandGuestsWidget", + "alias": "igw" + }, + { + "name": "IslandOwnersWidget", + "alias": "iow" + } + ], + "layout": [ + { + "op": "align", + "reference": "leftOfCenter", + "apply_to": ["igw"] + }, + { + "op": "align", + "reference": "rightOfCenter", + "apply_to": ["iow"] + }, + { + "op": "align", + "reference": "verticalCenter", + "apply_to": ["igw", "iow"] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/skyblocker/tabhud/screen_b/home_island.json b/src/main/resources/assets/skyblocker/tabhud/screen_b/home_island.json new file mode 100644 index 00000000..772e0594 --- /dev/null +++ b/src/main/resources/assets/skyblocker/tabhud/screen_b/home_island.json @@ -0,0 +1,29 @@ +{ + "widgets":[ + { + "name": "IslandGuestsWidget", + "alias": "igw" + }, + { + "name": "IslandSelfWidget", + "alias": "isw" + } + ], + "layout": [ + { + "op": "align", + "reference": "rightOfCenter", + "apply_to": ["igw"] + }, + { + "op": "align", + "reference": "leftOfCenter", + "apply_to": ["isw"] + }, + { + "op": "align", + "reference": "verticalCenter", + "apply_to": ["igw", "isw"] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/skyblocker/tabhud/screen_b/unknown.json b/src/main/resources/assets/skyblocker/tabhud/screen_b/unknown.json new file mode 100644 index 00000000..0252940a --- /dev/null +++ b/src/main/resources/assets/skyblocker/tabhud/screen_b/unknown.json @@ -0,0 +1,17 @@ +{ + "widgets": [ + { + "name": "EmptyWidget", + "alias": "ew" + } + ], + "layout": [ + { + "op": "place", + "where": "center", + "apply_to": [ + "ew" + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenA/default.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenA/default.json deleted file mode 100644 index 2002591f..00000000 --- a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenA/default.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "widgets":[ - { - "name": "SkillsWidget", - "alias": "sw" - }, - { - "name": "EventWidget", - "alias": "evw", - "inGarden": false - }, - { - "name": "UpgradeWidget", - "alias": "uw" - }, - { - "name": "ProfileWidget", - "alias": "pw" - }, - { - "name": "EffectWidget", - "alias": "efw" - }, - { - "name": "ElectionWidget", - "alias": "elw" - }, - { - "name": "CookieWidget", - "alias": "cw" - } - ], - "layout": [ - { - "op": "stack", - "direction": "vertical", - "align": "top", - "apply_to": ["sw", "evw", "uw"] - }, - { - "op": "stack", - "direction": "vertical", - "align": "top", - "apply_to": ["pw", "efw"] - }, - { - "op": "stack", - "direction": "vertical", - "align": "top", - "apply_to": ["elw", "cw"] - }, - { - "op": "align", - "reference": "horizontalCenter", - "apply_to": ["sw", "evw", "uw"] - }, - { - "op": "collideAgainst", - "direction": "left", - "widgets": ["pw", "efw"], - "colliders": ["sw", "evw", "uw"] - }, - { - "op": "collideAgainst", - "direction": "right", - "widgets": ["elw", "cw"], - "colliders": ["sw", "evw", "uw"] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenA/garden.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenA/garden.json deleted file mode 100644 index 39ee5b98..00000000 --- a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenA/garden.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "widgets":[ - { - "name": "GardenSkillsWidget", - "alias": "gsw" - }, - { - "name": "EventWidget", - "alias": "evw", - "inGarden": true - }, - { - "name": "UpgradeWidget", - "alias": "uw" - }, - { - "name": "ProfileWidget", - "alias": "pw" - }, - { - "name": "EffectWidget", - "alias": "efw" - }, - { - "name": "JacobsContestWidget", - "alias": "jcw" - }, - { - "name": "CookieWidget", - "alias": "cw" - } - ], - "layout": [ - { - "op": "stack", - "direction": "vertical", - "align": "top", - "apply_to": ["gsw", "evw", "uw"] - }, - { - "op": "stack", - "direction": "vertical", - "align": "top", - "apply_to": ["pw", "efw"] - }, - { - "op": "stack", - "direction": "vertical", - "align": "top", - "apply_to": ["jcw", "cw"] - }, - { - "op": "align", - "reference": "horizontalCenter", - "apply_to": ["gsw", "evw", "uw"] - }, - { - "op": "collideAgainst", - "direction": "left", - "widgets": ["pw", "efw"], - "colliders": ["gsw", "evw", "uw"] - }, - { - "op": "collideAgainst", - "direction": "right", - "widgets": ["jcw", "cw"], - "colliders": ["gsw", "evw", "uw"] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenA/rift.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenA/rift.json deleted file mode 100644 index d18efca8..00000000 --- a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenA/rift.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "widgets":[ - { - "name": "RiftProfileWidget", - "alias": "profile" - }, - { - "name": "RiftStatsWidget", - "alias": "stats" - }, - { - "name": "ShenWidget", - "alias": "shen" - }, - { - "name": "CookieWidget", - "alias": "cookie" - }, - { - "name": "AdvertisementWidget", - "alias": "ad" - } - ], - "layout": [ - { - "op": "stack", - "direction": "vertical", - "align": "top", - "apply_to": ["stats", "ad"] - }, - { - "op": "stack", - "direction": "vertical", - "align": "top", - "apply_to": ["profile", "shen", "cookie"] - }, - { - "op": "align", - "reference": "leftOfCenter", - "apply_to": ["stats", "ad"] - }, - { - "op": "align", - "reference": "rightOfCenter", - "apply_to": ["profile", "shen", "cookie"] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenA/unknown.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenA/unknown.json deleted file mode 100644 index 1b204adf..00000000 --- a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenA/unknown.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "widgets": [ - { - "name": "EmptyWidget", - "alias": "ew" - } - ], - "layout": [ - { - "op": "place", - "where": "centerTop", - "apply_to": [ - "ew" - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/default.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/default.json deleted file mode 100644 index e857ee6f..00000000 --- a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/default.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "widgets": [ - { - "name": "PlayerListWidget", - "alias": "plw" - } - ], - "layout": [ - { - "op": "place", - "where": "centerTop", - "apply_to": [ - "plw" - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/dungeon.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/dungeon.json deleted file mode 100644 index 8bb6181b..00000000 --- a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/dungeon.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "widgets":[ - { - "name": "DungeonPlayerWidget", - "alias": "dpw1", - "player": 1 - }, - { - "name": "DungeonPlayerWidget", - "alias": "dpw2", - "player": 2 - }, - { - "name": "DungeonPlayerWidget", - "alias": "dpw3", - "player": 3 - }, - { - "name": "DungeonPlayerWidget", - "alias": "dpw4", - "player": 4 - }, - { - "name": "DungeonPlayerWidget", - "alias": "dpw5", - "player": 5 - } - ], - "layout": [ - { - "op": "stack", - "direction": "vertical", - "align": "top", - "apply_to": ["dpw1", "dpw2", "dpw3"] - }, - { - "op": "stack", - "direction": "vertical", - "align": "top", - "apply_to": ["dpw4", "dpw5"] - }, - { - "op": "align", - "reference": "leftOfCenter", - "apply_to": ["dpw1", "dpw2", "dpw3"] - }, - { - "op": "align", - "reference": "rightOfCenter", - "apply_to": ["dpw4", "dpw5"] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/garden.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/garden.json deleted file mode 100644 index 64fe8de4..00000000 --- a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/garden.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "widgets":[ - { - "name": "IslandGuestsWidget", - "alias": "igw" - }, - { - "name": "IslandSelfWidget", - "alias": "isw" - } - ], - "layout": [ - { - "op": "align", - "reference": "rightOfCenter", - "apply_to": ["igw"] - }, - { - "op": "align", - "reference": "leftOfCenter", - "apply_to": ["isw"] - }, - { - "op": "align", - "reference": "top", - "apply_to": ["igw", "isw"] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/guest_island.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/guest_island.json deleted file mode 100644 index 98d9bd9e..00000000 --- a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/guest_island.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "widgets":[ - { - "name": "IslandGuestsWidget", - "alias": "igw" - }, - { - "name": "IslandOwnersWidget", - "alias": "iow" - } - ], - "layout": [ - { - "op": "align", - "reference": "leftOfCenter", - "apply_to": ["igw"] - }, - { - "op": "align", - "reference": "rightOfCenter", - "apply_to": ["iow"] - }, - { - "op": "align", - "reference": "top", - "apply_to": ["igw", "iow"] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/home_island.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/home_island.json deleted file mode 100644 index 64fe8de4..00000000 --- a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/home_island.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "widgets":[ - { - "name": "IslandGuestsWidget", - "alias": "igw" - }, - { - "name": "IslandSelfWidget", - "alias": "isw" - } - ], - "layout": [ - { - "op": "align", - "reference": "rightOfCenter", - "apply_to": ["igw"] - }, - { - "op": "align", - "reference": "leftOfCenter", - "apply_to": ["isw"] - }, - { - "op": "align", - "reference": "top", - "apply_to": ["igw", "isw"] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/unknown.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/unknown.json deleted file mode 100644 index 1b204adf..00000000 --- a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screenB/unknown.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "widgets": [ - { - "name": "EmptyWidget", - "alias": "ew" - } - ], - "layout": [ - { - "op": "place", - "where": "centerTop", - "apply_to": [ - "ew" - ] - } - ] -} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_a/default.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_a/default.json new file mode 100644 index 00000000..2002591f --- /dev/null +++ b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_a/default.json @@ -0,0 +1,70 @@ +{ + "widgets":[ + { + "name": "SkillsWidget", + "alias": "sw" + }, + { + "name": "EventWidget", + "alias": "evw", + "inGarden": false + }, + { + "name": "UpgradeWidget", + "alias": "uw" + }, + { + "name": "ProfileWidget", + "alias": "pw" + }, + { + "name": "EffectWidget", + "alias": "efw" + }, + { + "name": "ElectionWidget", + "alias": "elw" + }, + { + "name": "CookieWidget", + "alias": "cw" + } + ], + "layout": [ + { + "op": "stack", + "direction": "vertical", + "align": "top", + "apply_to": ["sw", "evw", "uw"] + }, + { + "op": "stack", + "direction": "vertical", + "align": "top", + "apply_to": ["pw", "efw"] + }, + { + "op": "stack", + "direction": "vertical", + "align": "top", + "apply_to": ["elw", "cw"] + }, + { + "op": "align", + "reference": "horizontalCenter", + "apply_to": ["sw", "evw", "uw"] + }, + { + "op": "collideAgainst", + "direction": "left", + "widgets": ["pw", "efw"], + "colliders": ["sw", "evw", "uw"] + }, + { + "op": "collideAgainst", + "direction": "right", + "widgets": ["elw", "cw"], + "colliders": ["sw", "evw", "uw"] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_a/garden.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_a/garden.json new file mode 100644 index 00000000..39ee5b98 --- /dev/null +++ b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_a/garden.json @@ -0,0 +1,70 @@ +{ + "widgets":[ + { + "name": "GardenSkillsWidget", + "alias": "gsw" + }, + { + "name": "EventWidget", + "alias": "evw", + "inGarden": true + }, + { + "name": "UpgradeWidget", + "alias": "uw" + }, + { + "name": "ProfileWidget", + "alias": "pw" + }, + { + "name": "EffectWidget", + "alias": "efw" + }, + { + "name": "JacobsContestWidget", + "alias": "jcw" + }, + { + "name": "CookieWidget", + "alias": "cw" + } + ], + "layout": [ + { + "op": "stack", + "direction": "vertical", + "align": "top", + "apply_to": ["gsw", "evw", "uw"] + }, + { + "op": "stack", + "direction": "vertical", + "align": "top", + "apply_to": ["pw", "efw"] + }, + { + "op": "stack", + "direction": "vertical", + "align": "top", + "apply_to": ["jcw", "cw"] + }, + { + "op": "align", + "reference": "horizontalCenter", + "apply_to": ["gsw", "evw", "uw"] + }, + { + "op": "collideAgainst", + "direction": "left", + "widgets": ["pw", "efw"], + "colliders": ["gsw", "evw", "uw"] + }, + { + "op": "collideAgainst", + "direction": "right", + "widgets": ["jcw", "cw"], + "colliders": ["gsw", "evw", "uw"] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_a/rift.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_a/rift.json new file mode 100644 index 00000000..d18efca8 --- /dev/null +++ b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_a/rift.json @@ -0,0 +1,48 @@ +{ + "widgets":[ + { + "name": "RiftProfileWidget", + "alias": "profile" + }, + { + "name": "RiftStatsWidget", + "alias": "stats" + }, + { + "name": "ShenWidget", + "alias": "shen" + }, + { + "name": "CookieWidget", + "alias": "cookie" + }, + { + "name": "AdvertisementWidget", + "alias": "ad" + } + ], + "layout": [ + { + "op": "stack", + "direction": "vertical", + "align": "top", + "apply_to": ["stats", "ad"] + }, + { + "op": "stack", + "direction": "vertical", + "align": "top", + "apply_to": ["profile", "shen", "cookie"] + }, + { + "op": "align", + "reference": "leftOfCenter", + "apply_to": ["stats", "ad"] + }, + { + "op": "align", + "reference": "rightOfCenter", + "apply_to": ["profile", "shen", "cookie"] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_a/unknown.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_a/unknown.json new file mode 100644 index 00000000..1b204adf --- /dev/null +++ b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_a/unknown.json @@ -0,0 +1,17 @@ +{ + "widgets": [ + { + "name": "EmptyWidget", + "alias": "ew" + } + ], + "layout": [ + { + "op": "place", + "where": "centerTop", + "apply_to": [ + "ew" + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/default.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/default.json new file mode 100644 index 00000000..e857ee6f --- /dev/null +++ b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/default.json @@ -0,0 +1,17 @@ +{ + "widgets": [ + { + "name": "PlayerListWidget", + "alias": "plw" + } + ], + "layout": [ + { + "op": "place", + "where": "centerTop", + "apply_to": [ + "plw" + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/dungeon.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/dungeon.json new file mode 100644 index 00000000..8bb6181b --- /dev/null +++ b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/dungeon.json @@ -0,0 +1,53 @@ +{ + "widgets":[ + { + "name": "DungeonPlayerWidget", + "alias": "dpw1", + "player": 1 + }, + { + "name": "DungeonPlayerWidget", + "alias": "dpw2", + "player": 2 + }, + { + "name": "DungeonPlayerWidget", + "alias": "dpw3", + "player": 3 + }, + { + "name": "DungeonPlayerWidget", + "alias": "dpw4", + "player": 4 + }, + { + "name": "DungeonPlayerWidget", + "alias": "dpw5", + "player": 5 + } + ], + "layout": [ + { + "op": "stack", + "direction": "vertical", + "align": "top", + "apply_to": ["dpw1", "dpw2", "dpw3"] + }, + { + "op": "stack", + "direction": "vertical", + "align": "top", + "apply_to": ["dpw4", "dpw5"] + }, + { + "op": "align", + "reference": "leftOfCenter", + "apply_to": ["dpw1", "dpw2", "dpw3"] + }, + { + "op": "align", + "reference": "rightOfCenter", + "apply_to": ["dpw4", "dpw5"] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/garden.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/garden.json new file mode 100644 index 00000000..64fe8de4 --- /dev/null +++ b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/garden.json @@ -0,0 +1,29 @@ +{ + "widgets":[ + { + "name": "IslandGuestsWidget", + "alias": "igw" + }, + { + "name": "IslandSelfWidget", + "alias": "isw" + } + ], + "layout": [ + { + "op": "align", + "reference": "rightOfCenter", + "apply_to": ["igw"] + }, + { + "op": "align", + "reference": "leftOfCenter", + "apply_to": ["isw"] + }, + { + "op": "align", + "reference": "top", + "apply_to": ["igw", "isw"] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/guest_island.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/guest_island.json new file mode 100644 index 00000000..98d9bd9e --- /dev/null +++ b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/guest_island.json @@ -0,0 +1,29 @@ +{ + "widgets":[ + { + "name": "IslandGuestsWidget", + "alias": "igw" + }, + { + "name": "IslandOwnersWidget", + "alias": "iow" + } + ], + "layout": [ + { + "op": "align", + "reference": "leftOfCenter", + "apply_to": ["igw"] + }, + { + "op": "align", + "reference": "rightOfCenter", + "apply_to": ["iow"] + }, + { + "op": "align", + "reference": "top", + "apply_to": ["igw", "iow"] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/home_island.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/home_island.json new file mode 100644 index 00000000..64fe8de4 --- /dev/null +++ b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/home_island.json @@ -0,0 +1,29 @@ +{ + "widgets":[ + { + "name": "IslandGuestsWidget", + "alias": "igw" + }, + { + "name": "IslandSelfWidget", + "alias": "isw" + } + ], + "layout": [ + { + "op": "align", + "reference": "rightOfCenter", + "apply_to": ["igw"] + }, + { + "op": "align", + "reference": "leftOfCenter", + "apply_to": ["isw"] + }, + { + "op": "align", + "reference": "top", + "apply_to": ["igw", "isw"] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/unknown.json b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/unknown.json new file mode 100644 index 00000000..1b204adf --- /dev/null +++ b/src/main/resources/resourcepacks/default_top/assets/skyblocker/tabhud/screen_b/unknown.json @@ -0,0 +1,17 @@ +{ + "widgets": [ + { + "name": "EmptyWidget", + "alias": "ew" + } + ], + "layout": [ + { + "op": "place", + "where": "centerTop", + "apply_to": [ + "ew" + ] + } + ] +} \ No newline at end of file -- cgit