Class ScriptAPI

java.lang.Object
com.soulfiremc.server.script.api.ScriptAPI

public class ScriptAPI extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • componentToLegacySection

      public String componentToLegacySection(net.kyori.adventure.text.Component component)
    • componentFromLegacySection

      public org.graalvm.polyglot.Value componentFromLegacySection(String legacy)
    • componentToLegacyAmpersand

      public String componentToLegacyAmpersand(net.kyori.adventure.text.Component component)
    • componentFromLegacyAmpersand

      public org.graalvm.polyglot.Value componentFromLegacyAmpersand(String legacy)
    • componentToPlain

      public String componentToPlain(net.kyori.adventure.text.Component component)
    • componentFromPlain

      public org.graalvm.polyglot.Value componentFromPlain(String plain)