Class Color

java.lang.Object
software.bluelib.markdown.MarkdownFeature
software.bluelib.markdown.syntax.Color

public class Color extends MarkdownFeature
  • Constructor Details

    • Color

      public Color()
  • Method Details

    • apply

      public net.minecraft.network.chat.MutableComponent apply(net.minecraft.network.chat.MutableComponent pComponent)
      Overrides:
      apply in class MarkdownFeature
    • processComponentTextWithColors

      protected void processComponentTextWithColors(String pText, net.minecraft.network.chat.Style pOriginalStyle, net.minecraft.network.chat.MutableComponent pResult, Pattern pPattern)
    • processSiblingsWithColors

      public net.minecraft.network.chat.MutableComponent processSiblingsWithColors(net.minecraft.network.chat.MutableComponent pComponent, Pattern pPattern)
    • isFeatureEnabled

      protected boolean isFeatureEnabled()
      Specified by:
      isFeatureEnabled in class MarkdownFeature
    • getFeatureName

      protected String getFeatureName()
      Specified by:
      getFeatureName in class MarkdownFeature
    • isColorEnabled

      public static Boolean isColorEnabled()