Class ChatRendererFeature

java.lang.Object
ovh.mythmc.social.api.chat.renderer.feature.ChatRendererFeature

public class ChatRendererFeature extends Object
Represents a feature that can be applied when rendering chat messages.

A ChatRendererFeature encapsulates:

Features can be created using the static builder(Handler) method or with specialized helper methods such as replies(int) and companion(). Builders allow additional customization of the condition and decorator before building the final feature.

Usage Example:


 ChatRendererFeature repliesFeature = ChatRendererFeature.replies(0);
 ChatRendererFeature companionFeature = ChatRendererFeature.companion();
 
See Also: