| Package | Description |
|---|---|
| net.minecraft.world | |
| net.minecraft.world.chunk | |
| net.minecraftforge.common.util |
| Modifier and Type | Method and Description |
|---|---|
static EnumSkyBlock |
EnumSkyBlock.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumSkyBlock[] |
EnumSkyBlock.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
World.checkLightFor(EnumSkyBlock lightType,
BlockPos pos) |
int |
World.getLightFor(EnumSkyBlock type,
BlockPos pos) |
int |
ChunkCache.getLightFor(EnumSkyBlock type,
BlockPos pos) |
private int |
ChunkCache.getLightForExt(EnumSkyBlock type,
BlockPos pos) |
int |
World.getLightFromNeighborsFor(EnumSkyBlock type,
BlockPos pos) |
private int |
World.getRawLight(BlockPos pos,
EnumSkyBlock lightType) |
void |
World.setLightFor(EnumSkyBlock type,
BlockPos pos,
int lightValue) |
| Modifier and Type | Method and Description |
|---|---|
int |
Chunk.getLightFor(EnumSkyBlock type,
BlockPos pos) |
int |
EmptyChunk.getLightFor(EnumSkyBlock type,
BlockPos pos) |
void |
Chunk.setLightFor(EnumSkyBlock type,
BlockPos pos,
int value) |
void |
EmptyChunk.setLightFor(EnumSkyBlock type,
BlockPos pos,
int value) |
| Modifier and Type | Method and Description |
|---|---|
static EnumSkyBlock |
EnumHelper.addSkyBlock(java.lang.String name,
int lightValue) |