public static enum RotatableBlock.RotationType extends java.lang.Enum<RotatableBlock.RotationType>
| Enum Constant and Description |
|---|
FOUR_WAY |
NONE |
SIX_WAY |
TWENTY_FOUR_WAY |
| Modifier and Type | Method and Description |
|---|---|
RotationHandler |
getHandler() |
net.minecraft.state.DirectionProperty[] |
getProperties() |
static RotatableBlock.RotationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RotatableBlock.RotationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RotatableBlock.RotationType NONE
public static final RotatableBlock.RotationType FOUR_WAY
public static final RotatableBlock.RotationType SIX_WAY
public static final RotatableBlock.RotationType TWENTY_FOUR_WAY
public static RotatableBlock.RotationType[] values()
for (RotatableBlock.RotationType c : RotatableBlock.RotationType.values()) System.out.println(c);
public static RotatableBlock.RotationType 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 RotationHandler getHandler()
public net.minecraft.state.DirectionProperty[] getProperties()