|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.morbz.minecraft.blocks.QuartzBlock
public class QuartzBlock
The class for a quartz block. There are two different constructors depending on what variant of the quartz block is needed.
| Nested Class Summary | |
|---|---|
static class |
QuartzBlock.QuartzFacing
The facing of the quartz block. |
static class |
QuartzBlock.QuartzVariant
The variant of the quartz block. |
| Constructor Summary | |
|---|---|
QuartzBlock(QuartzBlock.QuartzFacing facing)
Creates a new instance. |
|
QuartzBlock(QuartzBlock.QuartzVariant variant)
Creates a new instance. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuartzBlock(QuartzBlock.QuartzVariant variant)
variant - The variant of the quartz blockpublic QuartzBlock(QuartzBlock.QuartzFacing facing)
facing - The facing of the pillar quartz block| Method Detail |
|---|
public 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 | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||