Interface RendererService


public interface RendererService
Bukkit service used to discover the current renderer provider generation.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Renderer API contract version implemented by this service interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a service-wide snapshot of advertised runtime capabilities.
    createClient(org.bukkit.plugin.Plugin owner)
    Creates a lifecycle-bound client for an enabled consuming plugin; discover/create on the server thread.
  • Field Details

    • API_VERSION

      static final int API_VERSION
      Renderer API contract version implemented by this service interface.
      See Also:
  • Method Details

    • createClient

      RendererClient createClient(org.bukkit.plugin.Plugin owner)
      Creates a lifecycle-bound client for an enabled consuming plugin; discover/create on the server thread.
      Parameters:
      owner - consuming plugin whose disable must release this client's work
      Returns:
      a new client, which must not be reused across provider reloads
    • capabilities

      RendererCapabilities capabilities()
      Returns a service-wide snapshot of advertised runtime capabilities.