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

public class KeyedBossBarMock extends BossBarMock implements KeyedBossBar
Mock implementation of KeyedBossBar.
  • 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 new KeyedBossBarMock 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