public enum CartAssembleRailType extends java.lang.Enum<CartAssembleRailType> implements net.minecraft.util.IStringSerializable
| Enum Constant and Description |
|---|
ACTIVATOR_RAIL |
CONTROLLER_RAIL |
DETECTOR_RAIL |
POWERED_RAIL |
REGULAR |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.block.Block |
getBlock() |
net.minecraft.item.Item |
getItem() |
java.lang.String |
getSerializedName() |
boolean |
matches(net.minecraft.block.BlockState rail) |
static CartAssembleRailType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CartAssembleRailType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CartAssembleRailType REGULAR
public static final CartAssembleRailType POWERED_RAIL
public static final CartAssembleRailType DETECTOR_RAIL
public static final CartAssembleRailType ACTIVATOR_RAIL
public static final CartAssembleRailType CONTROLLER_RAIL
public static CartAssembleRailType[] values()
for (CartAssembleRailType c : CartAssembleRailType.values()) System.out.println(c);
public static CartAssembleRailType 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.block.Block getBlock()
public net.minecraft.item.Item getItem()
public boolean matches(net.minecraft.block.BlockState rail)
public java.lang.String getSerializedName()
getSerializedName in interface net.minecraft.util.IStringSerializable