public enum SwitchConfiguration extends java.lang.Enum<SwitchConfiguration>
| Enum Constant and Description |
|---|
EAST_NORTH_DIVERGE |
EAST_SOUTH_DIVERGE |
NORTH_EAST_DIVERGE |
NORTH_WEST_DIVERGE |
SOUTH_EAST_DIVERGE |
SOUTH_WEST_DIVERGE |
WEST_NORTH_DIVERGE |
WEST_SOUTH_DIVERGE |
| Modifier and Type | Method and Description |
|---|---|
static SwitchConfiguration |
get(net.minecraft.state.properties.RailShape straight,
net.minecraft.state.properties.RailShape diverge) |
net.minecraft.state.properties.RailShape |
getDiverge() |
net.minecraft.util.Direction |
getDivergentSide() |
net.minecraft.util.Direction |
getNarrowSide() |
net.minecraft.state.properties.RailShape |
getStraight() |
static SwitchConfiguration |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SwitchConfiguration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SwitchConfiguration NORTH_EAST_DIVERGE
public static final SwitchConfiguration NORTH_WEST_DIVERGE
public static final SwitchConfiguration SOUTH_EAST_DIVERGE
public static final SwitchConfiguration SOUTH_WEST_DIVERGE
public static final SwitchConfiguration EAST_NORTH_DIVERGE
public static final SwitchConfiguration EAST_SOUTH_DIVERGE
public static final SwitchConfiguration WEST_NORTH_DIVERGE
public static final SwitchConfiguration WEST_SOUTH_DIVERGE
public static SwitchConfiguration[] values()
for (SwitchConfiguration c : SwitchConfiguration.values()) System.out.println(c);
public static SwitchConfiguration 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 net.minecraft.state.properties.RailShape getDiverge()
public net.minecraft.state.properties.RailShape getStraight()
public net.minecraft.util.Direction getDivergentSide()
public net.minecraft.util.Direction getNarrowSide()
public static SwitchConfiguration get(net.minecraft.state.properties.RailShape straight, net.minecraft.state.properties.RailShape diverge)