Package | Description |
---|---|
net.minecraft.world | |
net.minecraft.world.chunk | |
net.minecraftforge.common |
Modifier and Type | Method and Description |
---|---|
static EnumSkyBlock |
EnumSkyBlock.valueOf(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 |
---|---|
int |
World.getSavedLightValue(EnumSkyBlock par1EnumSkyBlock,
int par2,
int par3,
int par4)
Returns saved light value without taking into account the time of day.
|
int |
World.getSkyBlockTypeBrightness(EnumSkyBlock par1EnumSkyBlock,
int par2,
int par3,
int par4) |
int |
ChunkCache.getSkyBlockTypeBrightness(EnumSkyBlock par1EnumSkyBlock,
int par2,
int par3,
int par4) |
int |
ChunkCache.getSpecialBlockBrightness(EnumSkyBlock par1EnumSkyBlock,
int par2,
int par3,
int par4) |
void |
World.setLightValue(EnumSkyBlock par1EnumSkyBlock,
int par2,
int par3,
int par4,
int par5)
Sets the light value either into the sky map or block map depending on if enumSkyBlock is set to sky or block.
|
void |
World.updateLightByType(EnumSkyBlock par1EnumSkyBlock,
int par2,
int par3,
int par4) |
Modifier and Type | Method and Description |
---|---|
int |
EmptyChunk.getSavedLightValue(EnumSkyBlock par1EnumSkyBlock,
int par2,
int par3,
int par4)
Gets the amount of light saved in this block (doesn't adjust for daylight)
|
int |
Chunk.getSavedLightValue(EnumSkyBlock par1EnumSkyBlock,
int par2,
int par3,
int par4)
Gets the amount of light saved in this block (doesn't adjust for daylight)
|
void |
EmptyChunk.setLightValue(EnumSkyBlock par1EnumSkyBlock,
int par2,
int par3,
int par4,
int par5)
Sets the light value at the coordinate.
|
void |
Chunk.setLightValue(EnumSkyBlock par1EnumSkyBlock,
int par2,
int par3,
int par4,
int par5)
Sets the light value at the coordinate.
|
Modifier and Type | Method and Description |
---|---|
static EnumSkyBlock |
EnumHelper.addSkyBlock(String name,
int lightValue) |