Interface KeyedRenderer

All Superinterfaces:
ChatComponentRenderer, Keyed

A chat renderer that's identifiable by key.
Since:
2.0.0
  • Method Details

    • keyedRenderer

      static KeyedRenderer keyedRenderer(Key key, ChatComponentRenderer renderer)
      Creates a new renderer with the corresponding key.
      Parameters:
      key - the renderer's key
      renderer - the chat renderer
      Returns:
      the keyed renderer
      Since:
      2.0.0