1

Boss Bars in Bedrock

K4N3K1_528712/12/24 4:15 am
12/13/2024 1:55 am
K4N3K1_5287
Hello, I'm trying to make a texture pack that changes the icons to simple bars and makes all the bars a single color each, but I can't get the boss bars. Are they hardcoded into the game? Or are they just hidden?
Posted by
K4N3K1_5287
Level 12 : Journeyman Pirate Princess
31

Create an account or sign in to comment.

10

Cornbread_Alphanumeric
12/12/2024 6:04 am
She/They • Level 45 : Master Miner uwu
i think they use 'empty_progress_bar' and 'filled_progress_bar'
1
K4N3K1_5287
12/12/2024 12:25 pm
He/Him • Level 12 : Journeyman Pirate Princess
So I can't change the style of them without changing those filea?
1
Cornbread_Alphanumeric
12/12/2024 3:28 pm
She/They • Level 45 : Master Miner uwu
you could change the textures used in the UI JSON
1
K4N3K1_5287
12/12/2024 4:31 pm
He/Him • Level 12 : Journeyman Pirate Princess
How would I do that?
1
Cornbread_Alphanumeric
12/12/2024 4:51 pm
She/They • Level 45 : Master Miner uwu
history
explaining the specifics would be a little complicated, but the following JSON should work if you put it into "ui/hud_screen.json" (though i have not tested it).
just remember to replace TEXTURE FILEPATH with the actual path to the texture you want to use. these textures should be grayscale since they're colored over during gameplay.

{
"boss_health_panel/progress_bar_for_collections": {
"controls": [
{
"empty_progress_bar@common.empty_progress_bar": {
"layer": 1,
"texture": "TEXTURE FILEPATH"
}
},
{
"filled_progress_bar_for_collections@common.filled_progress_bar_for_collections": {
"layer": 2,
"texture": "DIFFERENT TEXTURE FILEPATH"
}
}
]
}
}


filler text so PMC doesn't break things. don't paste this in.
2
K4N3K1_5287
12/12/2024 5:50 pm
He/Him • Level 12 : Journeyman Pirate Princess
That'll let me do both boss bars?
1

Welcome