public class ChunkCache extends java.lang.Object implements IBlockAccess
Constructor and Description |
---|
ChunkCache(World par1World,
int par2,
int par3,
int par4,
int par5,
int par6,
int par7,
int par8) |
Modifier and Type | Method and Description |
---|---|
boolean |
extendedLevelsInChunkCache()
set by !chunk.getAreLevelsEmpty
|
BiomeGenBase |
getBiomeGenForCoords(int par1,
int par2)
Gets the biome for a given set of x/z coordinates
|
Block |
getBlock(int p_147439_1_,
int p_147439_2_,
int p_147439_3_) |
int |
getBlockMetadata(int par1,
int par2,
int par3)
Returns the block metadata at coords x,y,z
|
int |
getHeight()
Returns current world height.
|
int |
getLightBrightnessForSkyBlocks(int par1,
int par2,
int par3,
int par4)
Any Light rendered on a 1.8 Block goes through here
|
int |
getSkyBlockTypeBrightness(EnumSkyBlock par1EnumSkyBlock,
int par2,
int par3,
int par4)
Brightness for SkyBlock.Sky is clear white and (through color computing it is assumed) DEPENDENT ON DAYTIME.
|
int |
getSpecialBlockBrightness(EnumSkyBlock par1EnumSkyBlock,
int par2,
int par3,
int par4)
is only used on stairs and tilled fields
|
TileEntity |
getTileEntity(int p_147438_1_,
int p_147438_2_,
int p_147438_3_) |
Vec3Pool |
getWorldVec3Pool()
Return the Vec3Pool object for this world.
|
boolean |
isAirBlock(int p_147437_1_,
int p_147437_2_,
int p_147437_3_)
Returns true if the block at the specified coordinates is empty
|
int |
isBlockProvidingPowerTo(int par1,
int par2,
int par3,
int par4)
Is this block powering in the specified direction Args: x, y, z, direction
|
boolean |
isSideSolid(int x,
int y,
int z,
ForgeDirection side,
boolean _default)
FORGE: isSideSolid, pulled up from
World |
public ChunkCache(World par1World, int par2, int par3, int par4, int par5, int par6, int par7, int par8)
public boolean extendedLevelsInChunkCache()
extendedLevelsInChunkCache
in interface IBlockAccess
public Block getBlock(int p_147439_1_, int p_147439_2_, int p_147439_3_)
getBlock
in interface IBlockAccess
public TileEntity getTileEntity(int p_147438_1_, int p_147438_2_, int p_147438_3_)
getTileEntity
in interface IBlockAccess
public int getLightBrightnessForSkyBlocks(int par1, int par2, int par3, int par4)
getLightBrightnessForSkyBlocks
in interface IBlockAccess
public int getBlockMetadata(int par1, int par2, int par3)
getBlockMetadata
in interface IBlockAccess
public BiomeGenBase getBiomeGenForCoords(int par1, int par2)
getBiomeGenForCoords
in interface IBlockAccess
public Vec3Pool getWorldVec3Pool()
getWorldVec3Pool
in interface IBlockAccess
public boolean isAirBlock(int p_147437_1_, int p_147437_2_, int p_147437_3_)
isAirBlock
in interface IBlockAccess
public int getSkyBlockTypeBrightness(EnumSkyBlock par1EnumSkyBlock, int par2, int par3, int par4)
public int getSpecialBlockBrightness(EnumSkyBlock par1EnumSkyBlock, int par2, int par3, int par4)
public int getHeight()
getHeight
in interface IBlockAccess
public int isBlockProvidingPowerTo(int par1, int par2, int par3, int par4)
isBlockProvidingPowerTo
in interface IBlockAccess
public boolean isSideSolid(int x, int y, int z, ForgeDirection side, boolean _default)
IBlockAccess
World
isSideSolid
in interface IBlockAccess
x
- X coordy
- Y coordz
- Z coordside
- Side_default
- default return value