Class ScrowMessageStyle

java.lang.Object
de.kentoj.scrowlib.convention.ScrowMessageStyle
All Implemented Interfaces:
de.kentoj.kencommandapi.api.platform.MessageStyle

public class ScrowMessageStyle extends Object implements de.kentoj.kencommandapi.api.platform.MessageStyle
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

    Fields inherited from interface de.kentoj.kencommandapi.api.platform.MessageStyle

    PLAIN
  • Constructor Summary

    Constructors
    Constructor
    Description
    ScrowMessageStyle(String prefixText, net.kyori.adventure.text.format.TextColor prefixColor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.kyori.adventure.text.Component
    err(net.kyori.adventure.text.Component msg)
     
    net.kyori.adventure.text.Component
    exception(net.kyori.adventure.text.Component msg)
     
    net.kyori.adventure.text.Component
    ok(net.kyori.adventure.text.Component msg)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface de.kentoj.kencommandapi.api.platform.MessageStyle

    err, exception, exception, ok
  • Field Details

  • Constructor Details

    • ScrowMessageStyle

      public ScrowMessageStyle(String prefixText, net.kyori.adventure.text.format.TextColor prefixColor)
  • Method Details

    • ok

      public net.kyori.adventure.text.Component ok(net.kyori.adventure.text.Component msg)
      Specified by:
      ok in interface de.kentoj.kencommandapi.api.platform.MessageStyle
    • err

      public net.kyori.adventure.text.Component err(net.kyori.adventure.text.Component msg)
      Specified by:
      err in interface de.kentoj.kencommandapi.api.platform.MessageStyle
    • exception

      public net.kyori.adventure.text.Component exception(net.kyori.adventure.text.Component msg)
      Specified by:
      exception in interface de.kentoj.kencommandapi.api.platform.MessageStyle