Skip to content

Commit 6844e62

Browse files
committed
Hide (sub)title background for the attack indicator
1 parent d9808d2 commit 6844e62

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Download: [GeyserOptionalPack.mcpack](https://download.geysermc.org/v2/projects/
1919
- 2x2 crafting grid while in creative mode
2020
- Tick-delay and rename fields in the command block menu
2121
- Structure block options that do not exist on Java
22+
- Removes the (sub)title background for attack cooldowns
2223

2324
### Manually building
2425

manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"description": "Optional Bedrock resource pack to extend Geyser functionality",
55
"name": "GeyserOptionalPack",
66
"uuid": "e5f5c938-a701-11eb-b2a3-047d7bb283ba",
7-
"version": [1, 0, 11],
7+
"version": [1, 0, 12],
88
"min_engine_version": [ 1, 16, 0 ]
99
},
1010
"modules": [
1111
{
1212
"description": "GeyserOptionalPack",
1313
"type": "resources",
1414
"uuid": "eebb4ea8-a701-11eb-95ba-047d7bb283ba",
15-
"version": [1, 0, 11]
15+
"version": [1, 0, 12]
1616
}
1717
]
1818
}

ui/hud_screen.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"hud_title_text/title_frame/title_background": {
3+
"bindings": [
4+
{
5+
"binding_name": "#hud_title_text_string",
6+
"binding_name_override": "#text",
7+
"binding_type": "global"
8+
},
9+
{
10+
"binding_type": "view",
11+
"source_property_name": "((#text - ' ') = #text)",
12+
"target_property_name": "#visible"
13+
}
14+
]
15+
}
16+
,
17+
"hud_title_text/subtitle_frame/subtitle_background": {
18+
"bindings": [
19+
{
20+
"binding_name": "#hud_subtitle_text_string",
21+
"binding_name_override": "#text",
22+
"binding_type": "global"
23+
},
24+
{
25+
"binding_type": "view",
26+
"source_property_name": "((#text - '˙') = #text)",
27+
"target_property_name": "#visible"
28+
}
29+
]
30+
}
31+
}

0 commit comments

Comments
 (0)