public static enum BlockFluidTank.Size extends java.lang.Enum<BlockFluidTank.Size>
| Modifier and Type | Method and Description |
|---|---|
int |
getCapacity() |
static BlockFluidTank.Size |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockFluidTank.Size[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockFluidTank.Size SMALL
public static final BlockFluidTank.Size MEDIUM
public static final BlockFluidTank.Size LARGE
public static final BlockFluidTank.Size HUGE
public static BlockFluidTank.Size[] values()
for (BlockFluidTank.Size c : BlockFluidTank.Size.values()) System.out.println(c);
public static BlockFluidTank.Size 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 int getCapacity()