Design your Styled Boss Bar!
build.gradle
repositories {
maven {
name = "CurseMaven"
url = "https://www.cursemaven.com"
content {
includeGroup "curse.maven"
}
}
}
dependencies {
modApi "curse.maven:styled-boss-bar-api-1223966:${project.sbba_file_id}"
}
Visit CurseMaven to find more information.
A BossBarStyle controls boss bar's render style.
BossBarStyleApi is used to register or find registered BossBarStyles. All BossBarStyles needs to be registerd with an Identifier before they can be rendered correctly.
A BossBarStyleEntry contains
A StyledBossBar holds a BossBarStyle to render.
Use SimpleBossBarStyle which controls basic style like textures and locations.
Create custom style by implementing BossBarStyle and its method render(...).