|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.morbz.minecraft.blocks.RedstoneTorchBlock
public class RedstoneTorchBlock
A redstone torch for both states active and inactive.
Constructor Summary | |
---|---|
RedstoneTorchBlock(boolean isActive,
Facing5State facing)
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 RedstoneTorchBlock(boolean isActive, Facing5State facing)
isActive
- Whether the torch activefacing
- The direction in which the torch is facingMethod Detail |
---|
public byte getBlockId()
getBlockId
in interface IBlock
public byte getBlockData()
getBlockData
in interface IBlock
public int getTransparency()
getTransparency
in interface IBlock
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |