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
,BossBar
,KeyedBossBar
,Keyed
Mock implementation of
KeyedBossBar
.-
Constructor Summary
ConstructorDescriptionKeyedBossBarMock
(@NotNull NamespacedKey key, @NotNull String title, @NotNull BarColor color, @NotNull BarStyle style, BarFlag... flags) Constructs a newKeyedBossBarMock
with the provided parameters. -
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, show
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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, show
-
Constructor Details
-
KeyedBossBarMock
public KeyedBossBarMock(@NotNull @NotNull NamespacedKey key, @NotNull @NotNull String title, @NotNull @NotNull BarColor color, @NotNull @NotNull BarStyle style, BarFlag... flags) Constructs a newKeyedBossBarMock
with the provided parameters.- Parameters:
key
- The bossbar's namespaced key.title
- The title of the bossbar.color
- The color of the bossbar.style
- The style of the bossbar.flags
- The flags to set on the bossbar.
-
-
Method Details