Package net.kyori.adventure.bossbar
Interface BossBarImplementation
-
@Internal public interface BossBarImplementationBossBarinternal implementation.- Since:
- 4.12.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceBossBarImplementation.ProviderABossBarImplementationservice provider.
-
Method Summary
Static Methods Modifier and Type Method Description static <I extends BossBarImplementation>
Iget(@NotNull BossBar bar, @NotNull java.lang.Class<I> type)Gets an implementation, and casts it totype.
-
-
-
Method Detail
-
get
@Internal @NotNull static <I extends BossBarImplementation> I get(@NotNull @NotNull BossBar bar, @NotNull @NotNull java.lang.Class<I> type)
Gets an implementation, and casts it totype.- Type Parameters:
I- the implementation type- Parameters:
bar- the bossbartype- the implementation type- Returns:
- a
I - Since:
- 4.12.0
-
-