Package be.seeseemelk.mockbukkit.boss
Class KeyedBossBarMock
java.lang.Object
be.seeseemelk.mockbukkit.boss.BossBarMock
be.seeseemelk.mockbukkit.boss.KeyedBossBarMock
- All Implemented Interfaces:
net.kyori.adventure.key.Keyed,org.bukkit.boss.BossBar,org.bukkit.boss.KeyedBossBar,org.bukkit.Keyed
-
Constructor Summary
ConstructorsConstructorDescriptionKeyedBossBarMock(@NotNull org.bukkit.NamespacedKey key, @NotNull String title, @NotNull org.bukkit.boss.BarColor color, @NotNull org.bukkit.boss.BarStyle style, org.bukkit.boss.BarFlag... flags) -
Method Summary
Methods inherited from class be.seeseemelk.mockbukkit.boss.BossBarMock
addFlag, addPlayer, getColor, getPlayers, getProgress, getStyle, getTitle, hasFlag, hide, isVisible, removeAll, removeFlag, removePlayer, setColor, setProgress, setStyle, setTitle, setVisible, showMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.boss.BossBar
addFlag, addPlayer, getColor, getPlayers, getProgress, getStyle, getTitle, hasFlag, hide, isVisible, removeAll, removeFlag, removePlayer, setColor, setProgress, setStyle, setTitle, setVisible, showMethods inherited from interface org.bukkit.Keyed
key
-
Constructor Details
-
KeyedBossBarMock
public KeyedBossBarMock(@NotNull @NotNull org.bukkit.NamespacedKey key, @NotNull @NotNull String title, @NotNull @NotNull org.bukkit.boss.BarColor color, @NotNull @NotNull org.bukkit.boss.BarStyle style, org.bukkit.boss.BarFlag... flags)
-
-
Method Details
-
getKey
@NotNull public @NotNull org.bukkit.NamespacedKey getKey()- Specified by:
getKeyin interfaceorg.bukkit.Keyed
-