BossBar - Entity/Player (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 2.14.1

Syntax

boss[ ]bar of %entity%

Description

Get a BossBar from an entity (such as a wither) or all BossBars of players. NOTE: BossBars from entities cannot be saved in global variables, as the entity may not be loaded on the server when that variable is trying to load. Custom BossBars and BossBars from players can be saved in variables.

Examples

set {_bar} to boss bar of target entity
set {_bars::*} to boss bars of player

View source