Interface Facet.BossBar.Builder<V,B extends Facet.BossBar<V>>
- Type Parameters:
V
- a viewer typeB
- a boss bar type
- All Superinterfaces:
Facet<V>
- Enclosing interface:
- Facet.BossBar<V>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface Facet.BossBar.Builder<V,B extends Facet.BossBar<V>>
extends Facet<V>
A builder for boss bar facets.
- Since:
- 4.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.kyori.adventure.platform.facet.Facet
Facet.ActionBar<V,
M>, Facet.Book<V, M, B>, Facet.BossBar<V>, Facet.BossBarEntity<V, P>, Facet.BossBarPacket<V>, Facet.Chat<V, M>, Facet.ChatPacket<V, M>, Facet.EntitySound<V, M>, Facet.FakeEntity<V, P>, Facet.Message<V, M>, Facet.Pointers<V>, Facet.Position<V, P>, Facet.Sound<V, P>, Facet.TabList<V, M>, Facet.Title<V, M, C, T>, Facet.TitlePacket<V, M, C, T> -
Method Summary
Modifier and TypeMethodDescriptioncreateBossBar
(@NotNull Collection<V> viewer) Creates a boss bar.Methods inherited from interface net.kyori.adventure.platform.facet.Facet
isApplicable, isSupported
-
Method Details
-
createBossBar
Creates a boss bar.- Parameters:
viewer
- a viewer- Returns:
- a boss bar
- Since:
- 4.0.0
-