<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#addFlag(org.bukkit.boss.BarFlag)"class="member-name-link">addFlag</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="BarFlag.html"title="enum class in org.bukkit.boss">BarFlag</a> flag)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#addPlayer(org.bukkit.entity.Player)"class="member-name-link">addPlayer</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../entity/Player.html"title="interface in org.bukkit.entity">Player</a> player)</code></div>
<divclass="block">Adds the player to this boss bar causing it to display on their screen.</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="BarColor.html"title="enum class in org.bukkit.boss">BarColor</a></code></div>
<divclass="block">Returns the color of this boss bar</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html"title="class or interface in java.util"class="external-link">List</a><<ahref="../entity/Player.html"title="interface in org.bukkit.entity">Player</a>></code></div>
<divclass="block">Returns the progress of the bar between 0.0 and 1.0</div>
</div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="BarStyle.html"title="enum class in org.bukkit.boss">BarStyle</a></code></div>
<divclass="block">Returns the style of this boss bar</div>
</div>
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#hasFlag(org.bukkit.boss.BarFlag)"class="member-name-link">hasFlag</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="BarFlag.html"title="enum class in org.bukkit.boss">BarFlag</a> flag)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#removeFlag(org.bukkit.boss.BarFlag)"class="member-name-link">removeFlag</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="BarFlag.html"title="enum class in org.bukkit.boss">BarFlag</a> flag)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#removePlayer(org.bukkit.entity.Player)"class="member-name-link">removePlayer</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../entity/Player.html"title="interface in org.bukkit.entity">Player</a> player)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setColor(org.bukkit.boss.BarColor)"class="member-name-link">setColor</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="BarColor.html"title="enum class in org.bukkit.boss">BarColor</a> color)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setStyle(org.bukkit.boss.BarStyle)"class="member-name-link">setStyle</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="BarStyle.html"title="enum class in org.bukkit.boss">BarStyle</a> style)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><ahref="#setTitle(java.lang.String)"class="member-name-link">setTitle</a><wbr>(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> title)</code></div>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></span> <spanclass="element-name">getTitle</span>()</div>
<divclass="block">Returns the title of this boss bar</div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setTitle</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/Nullable.html"title="class or interface in org.jetbrains.annotations"class="external-link">@Nullable</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> title)</span></div>
<divclass="block">Sets the title of this boss bar</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>title</code> - the title of the bar</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getColor()">
<h3>getColor</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="BarColor.html"title="enum class in org.bukkit.boss">BarColor</a></span> <spanclass="element-name">getColor</span>()</div>
<divclass="block">Returns the color of this boss bar</div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setColor</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="BarColor.html"title="enum class in org.bukkit.boss">BarColor</a> color)</span></div>
<divclass="block">Sets the color of this boss bar.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>color</code> - the color of the bar</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getStyle()">
<h3>getStyle</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="BarStyle.html"title="enum class in org.bukkit.boss">BarStyle</a></span> <spanclass="element-name">getStyle</span>()</div>
<divclass="block">Returns the style of this boss bar</div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">setStyle</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="BarStyle.html"title="enum class in org.bukkit.boss">BarStyle</a> style)</span></div>
<divclass="block">Sets the bar style of this boss bar</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>style</code> - the style of the bar</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">removeFlag</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="BarFlag.html"title="enum class in org.bukkit.boss">BarFlag</a> flag)</span></div>
<divclass="block">Remove an existing flag on this boss bar</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>flag</code> - the existing flag to remove</dd>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">addFlag</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="BarFlag.html"title="enum class in org.bukkit.boss">BarFlag</a> flag)</span></div>
<divclass="block">Add an optional flag to this boss bar</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>flag</code> - an optional flag to set on the boss bar</dd>
<divclass="member-signature"><spanclass="return-type">boolean</span> <spanclass="element-name">hasFlag</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="BarFlag.html"title="enum class in org.bukkit.boss">BarFlag</a> flag)</span></div>
<divclass="block">Returns whether this boss bar as the passed flag set</div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">addPlayer</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../entity/Player.html"title="interface in org.bukkit.entity">Player</a> player)</span></div>
<divclass="block">Adds the player to this boss bar causing it to display on their screen.</div>
<divclass="member-signature"><spanclass="return-type">void</span> <spanclass="element-name">removePlayer</span><wbr><spanclass="parameters">(<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
<ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="../entity/Player.html"title="interface in org.bukkit.entity">Player</a> player)</span></div>
<divclass="block">Removes the player from this boss bar causing it to be removed from their
screen.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>player</code> - the player to remove</dd>
<divclass="member-signature"><spanclass="annotations"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a>
</span><spanclass="return-type"><ahref="https://javadoc.io/doc/org.jetbrains/annotations/23.0.0/org/jetbrains/annotations/NotNull.html"title="class or interface in org.jetbrains.annotations"class="external-link">@NotNull</a><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html"title="class or interface in java.util"class="external-link">List</a><<ahref="../entity/Player.html"title="interface in org.bukkit.entity">Player</a>></span> <spanclass="element-name">getPlayers</span>()</div>
<divclass="block">Returns all players viewing this boss bar</div>
<divclass="block">Return if the boss bar is displayed to attached players.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>visible status</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="show()">
<h3>show</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>
<divclass="block">Shows the previously hidden boss bar to all attached players</div>
</section>
</li>
<li>
<sectionclass="detail"id="hide()">
<h3>hide</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>