BossBarinterface BossBar {destory(): void;hide(): void;show(): void;updatePercent(percent: number): void;updateText(text: string): void;valid(): boolean;}§Methods§destory(): void[src]§hide(): void[src]§show(): void[src]§updatePercent(percent: number): void[src]§updateText(text: string): void[src]§valid(): boolean[src]Detect if the bossbar still valid It will be invalid after player left or having been destoryed