This API allows you to display boss bar messages.
Features
- compatibility with 1.7, 1.8 & 1.9
- bar is always visible (does not disappear when looking in different directions)
- no visible Enderdragon or Wither
Usage
Code (Java):
//Create a new BossBar
BossBar bossBar = BossBarAPI. addBar (player, // The receiver of the BossBar
new TextComponent ( "Hi " + player. getName ( ) + "!" ), // Displayed message
BossBarAPI. Color. BLUE, // Color of the bar
BossBarAPI. Style. NOTCHED_20, // Bar style
1.0f, // Progress (0.0 - 1.0)
20, // Timeout
2 ) ; // Timeout-interval
BarAPI
If you have plugins depending on BarAPI, you can install this plugin instead of it. The plugins will then use the BossBarAPI methods.
Maven
APIManager
This API is compatible with APIManger.
Click here for information on how to implement it.
Links
Code (spiget-meta (Unknown Language)):
SlZOd2EkUm9kI1J3YW1GeUooVWtXa2QzZFdGPk4rSmFWelV3WVZoYWJHUiNSbk5hVnpVdytHMDVlVnAzUCswa0okUk1NMEp6WkZka2NHSnBPRDBrSiRSalIzZypXakpzZFZ7ViRuWmpNMDVEV1ZoPFFsVkZhMjFrYlZaNVl6SnNkbUpxTUcqa2JWWjVZekpzZG1KcFYrMGtSMlYwSlE9PQ==
Please leave a rating if you like this resource.
Donations to support me or this resource are also very much appreciated.
Donations to support me or this resource are also very much appreciated.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
[API] BossBarAPI [1.7 | 1.8 | 1.9 | 1.10] is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10. Downloaded 63,345 times (via Spigot). Download it and open it directly in the game.
![[IMG]](http://proxy.spigotmc.org/03b89c2282b33ef720a7e5ca8cfbbb31681bc8b8?url=https%3A%2F%2Fstatic.spigotmc.org%2Fimg%2Fbtn_donate.gif)