|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBlockContainer
The interface for all classes that contain blocks.
Method Summary | |
---|---|
byte |
getSkyLight(int x,
int y,
int z)
Returns the sky light level of the block at given position. |
byte |
getSkyLightFromParent(IBlockContainer child,
int childX,
int childY,
int childZ)
Returns the sky light level of a block that is out of bounds of the child block container. |
void |
spreadSkyLight(byte light)
Spreads the skylight. |
Method Detail |
---|
byte getSkyLight(int x, int y, int z)
x
- The local X-coordinatey
- The local Y-coordinatez
- The local Z-coordinate
byte getSkyLightFromParent(IBlockContainer child, int childX, int childY, int childZ)
child
- The child block containerchildX
- The local X-coordinatechildY
- The local Y-coordinatechildZ
- The local Z-coordinate
void spreadSkyLight(byte light)
light
- The light level
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |