Class VeilMolang

java.lang.Object
foundry.veil.api.molang.VeilMolang

public final class VeilMolang extends Object
Manages the Veil MoLang compiler.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static gg.moonflower.molangcompiler.api.MolangCompiler
    get()
     
    static void
    set(gg.moonflower.molangcompiler.api.MolangCompiler compiler)
    Sets the current molang compiler instance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VeilMolang

      public VeilMolang()
  • Method Details

    • get

      public static gg.moonflower.molangcompiler.api.MolangCompiler get()
      Returns:
      The current molang compiler instance
    • set

      public static void set(gg.moonflower.molangcompiler.api.MolangCompiler compiler)
      Sets the current molang compiler instance.
      Parameters:
      compiler - The new compiler to use