Interface BossBarImplementation


@Internal public interface BossBarImplementation
BossBar internal implementation.
Since:
4.12.0
  • Method Details

    • get

      @Internal static <I extends BossBarImplementation> I get(BossBar bar, Class<I> type)
      Gets an implementation, and casts it to type.
      Type Parameters:
      I - the implementation type
      Parameters:
      bar - the bossbar
      type - the implementation type
      Returns:
      a I
      Since:
      4.12.0
    • viewers

      @Internal default Iterable<? extends BossBarViewer> viewers()
      Gets the viewers of this bossbar.
      Returns:
      the viewers of this bossbar
      Since:
      4.14.0