介绍
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:
常见问题
Bossbar Lib 支持哪些 Minecraft 版本?
Bossbar Lib 支持 Minecraft Java 版 1.20.2–1.21.4,共 5 个版本。下载时注意选择和你游戏版本一致的文件。
Bossbar Lib 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
SmoothTurtle872 的其他作品
查看全部 →
Maths
Adds some mathematical functions to minecraft
Waystones Datapack
A vannila waystones system
Armorstand Commands
Add Commands To Armorsatnds!
Get UUID
A simple UUID conversion library for minecraft
评论
登录后评论和评分