Class SocialRendererContext

java.lang.Object
ovh.mythmc.social.api.context.SocialRendererContext
All Implemented Interfaces:
SocialContext

public class SocialRendererContext extends Object implements SocialContext
Represents the rendering context of a message.

SocialRendererContext contains all information required during the rendering phase of a message, where formatted components are assembled and prepared for delivery to viewers.

This context is typically used by rendering logic to build the final Component shown to each Audience.

It includes:

  • The SocialUser who sent the message
  • The ChatChannel the message belongs to
  • The set of viewers receiving the message
  • The rendered prefix component
  • The plain (unformatted) message content
  • The fully formatted message component
  • An optional reply message ID
  • The unique message ID
See Also:
  • Constructor Details

    • SocialRendererContext

      public SocialRendererContext()