public static enum MixinEnvironment.Side extends java.lang.Enum<MixinEnvironment.Side>
| Enum Constant and Description |
|---|
CLIENT
Client-side environment
|
SERVER
(Dedicated) Server-side environment
|
UNKNOWN
The environment was unable to determine current side
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
detect() |
static MixinEnvironment.Side |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MixinEnvironment.Side[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MixinEnvironment.Side UNKNOWN
public static final MixinEnvironment.Side CLIENT
public static final MixinEnvironment.Side SERVER
public static MixinEnvironment.Side[] values()
for (MixinEnvironment.Side c : MixinEnvironment.Side.values()) System.out.println(c);
public static MixinEnvironment.Side valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullprotected abstract boolean detect()