public enum BlockTypeMail extends java.lang.Enum<BlockTypeMail> implements IBlockType
| Enum Constant and Description |
|---|
MAILBOX |
PHILATELIST |
TRADE_STATION |
| Modifier and Type | Field and Description |
|---|---|
static BlockTypeMail[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
IMachineProperties |
getMachineProperties() |
java.lang.String |
getName() |
static BlockTypeMail |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockTypeMail[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockTypeMail MAILBOX
public static final BlockTypeMail TRADE_STATION
public static final BlockTypeMail PHILATELIST
public static final BlockTypeMail[] VALUES
public static BlockTypeMail[] values()
for (BlockTypeMail c : BlockTypeMail.values()) System.out.println(c);
public static BlockTypeMail 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 IMachineProperties getMachineProperties()
getMachineProperties in interface IBlockTypepublic java.lang.String getName()
getName in interface net.minecraft.util.IStringSerializable