Class MixinEnvironment.Phase

java.lang.Object
org.spongepowered.asm.mixin.MixinEnvironment.Phase
Enclosing class:
MixinEnvironment

public static final class MixinEnvironment.Phase extends Object
Environment phase, deliberately not implemented as an enum
  • Field Details

    • PREINIT

      public static final MixinEnvironment.Phase PREINIT
      "Pre initialisation" phase, everything before the tweak system begins to load the game
    • INIT

      public static final MixinEnvironment.Phase INIT
      "Initialisation" phase, after FML's deobf transformer has loaded
    • DEFAULT

      public static final MixinEnvironment.Phase DEFAULT
      "Default" phase, during runtime
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • forName

      public static MixinEnvironment.Phase forName(String name)
      Get a phase by name, returns null if no phases exist with the specified name
      Parameters:
      name - phase name to lookup
      Returns:
      phase object or null if non existent