public static enum IFacingComponent.FaceMode extends java.lang.Enum<IFacingComponent.FaceMode>
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsConnection() |
net.minecraft.util.text.TextFormatting |
getColor() |
int |
getIndex() |
StateButtonInfo |
getInfo(int index) |
static IFacingComponent.FaceMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IFacingComponent.FaceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IFacingComponent.FaceMode NONE
public static final IFacingComponent.FaceMode ENABLED
public static final IFacingComponent.FaceMode PUSH
public static final IFacingComponent.FaceMode PULL
public static IFacingComponent.FaceMode[] values()
for (IFacingComponent.FaceMode c : IFacingComponent.FaceMode.values()) System.out.println(c);
public static IFacingComponent.FaceMode 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 nullpublic boolean allowsConnection()
public StateButtonInfo getInfo(int index)
public int getIndex()
public net.minecraft.util.text.TextFormatting getColor()