|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SandstoneBlock>
net.morbz.minecraft.blocks.SandstoneBlock
public enum SandstoneBlock
The class for sandstone blocks with different structures.
| Enum Constant Summary | |
|---|---|
CHISELED
|
|
NORMAL
|
|
SMOOTH
|
|
| Method Summary | |
|---|---|
byte |
getBlockData()
Returns the block data. |
byte |
getBlockId()
Returns the block ID. |
int |
getTransparency()
Returns the transparency level of this block. 0 means fully opaque, 1 means fully transparent and values > 1 mean transparent but the light level is decreased by n at this block. |
static SandstoneBlock |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SandstoneBlock[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SandstoneBlock NORMAL
public static final SandstoneBlock CHISELED
public static final SandstoneBlock SMOOTH
| Method Detail |
|---|
public static SandstoneBlock[] values()
for (SandstoneBlock c : SandstoneBlock.values()) System.out.println(c);
public static SandstoneBlock 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 name
java.lang.NullPointerException - if the argument is nullpublic byte getBlockId()
getBlockId in interface IBlockpublic byte getBlockData()
getBlockData in interface IBlockpublic int getTransparency()
getTransparency in interface IBlock
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||