COWMODSКаталог модов

Bossbar Lib

A simple bossbar library allowing for per entity bossbars

Автор: SmoothTurtle8721 тыс.3обновлён 15 февр. 2025 г.
Механики игрыБиблиотеки

Описание

Bossbar Lib

What is it?

Bossbar lib is a library that provides entity specific bossbar functions. It is highly reccomended that you use a datapack to use this however commandblocks will work fine.

Functionality:

Upon creating a bossbar you will be able to display the bossbar with function bb_lib:display_bar. If the entity is a player, that entity will see the bossbar for themselves, if not, you will need to add the bb_lib.display_bar tag to the entity to display it to all nearby entites.

How to use:

After installing the datapack and reloading you will be able to create a bossbar. To do this run the function bb_lib:create_bossbar command to create a bossbar for yourself. To craete it for other entities you will need to execute as them. To display your bossbar, in a repeating commandblock you need to run execute as @a run function bb_lib:display_bar. If you wish to change your bossbar you will need 2 commands at a minimum: in a repeating commandblock: execute as @a run function eb:update_bar and then to change the values you can use any of these commands: function bb_lib:set_value {property:<PROPERTY NAME>, value:>VALUE TO SET PROPERTY>}

Последние версии

Все версии →
release

V1.1.0

1.1.0
15 февр. 2025 г.494Minecraft: 1.21.4datapack
Скачать
Что нового
# V1.1 is released ## Changes No more dependancies! This datapack no longer needs GU! ## Removals Removed all change bossbar commands ## Additions Added the set_value function which takes 2 parameters: property - the property to be modified, value - the value to set it too
release

Bossbar Lib V1.0.0

1.0.0
27 апр. 2024 г.514Minecraft: 1.20.2, 1.20.3, 1.20.4, 1.20.5datapack
Скачать
Что нового
# Bossbar Lib v1.0.0 ## Features Added - Per entity bossbars - Dispaly bossbars to all entities within range or just to self - Ability to set bossbar name from entity name - Ability to set bossbar value from entity health