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.Object
Environment 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
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()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
PREINIT
"Pre initialisation" phase, everything before the tweak system begins to load the game -
INIT
"Initialisation" phase, after FML's deobf transformer has loaded -
DEFAULT
"Default" phase, during runtime
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
forName
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
-