Package org.spongepowered.asm.mixin
Class MixinEnvironment.Phase
- java.lang.Object
-
- org.spongepowered.asm.mixin.MixinEnvironment.Phase
-
- Enclosing class:
- MixinEnvironment
public static final class MixinEnvironment.Phase extends java.lang.ObjectEnvironment phase, deliberately not implemented as an enum
-
-
Field Summary
Fields Modifier and Type Field Description static MixinEnvironment.PhaseDEFAULT"Default" phase, during runtimestatic MixinEnvironment.PhaseINIT"Initialisation" phase, after FML's deobf transformer has loadedstatic MixinEnvironment.PhasePREINIT"Pre initialisation" phase, everything before the tweak system begins to load the game
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MixinEnvironment.PhaseforName(java.lang.String name)Get a phase by name, returns null if no phases exist with the specified namejava.lang.StringtoString()
-
-
-
Field Detail
-
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 Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
forName
public static MixinEnvironment.Phase forName(java.lang.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
-
-