動作: Boss欄

Action: BossBar


Boss欄顯示

BossBar display

創BossBar的初始,必須包含Message、Style、Color這三項設置。

The initial creation of BossBar must include the three settings of Message, Style, and Color.

屬性Attributes


Untitled

範例Examples


BoosBarDisplayShow:
  Action:
  - Loop[onStart=BoosBarDisplayShow-Start;onTime=BoosBarDisplayShow-Time;period=20;duration=0]
BoosBarDisplayShow-Start:
  Action:
  - BossBar[message=&self_name_bossbar&-&self_nowhealth_bossbar&/&self_maxhealth_bossbar&;Color=RED;Style=SOLID]
BoosBarDisplayShow-Time:
  Action:
  - BossBar[message=&self_name_bossbar&-&self_nowhealth_bossbar&/&self_maxhealth_bossbar&;Progress=&self_health_proportion_bossbar&]