public class ChunkCache extends java.lang.Object implements IBlockAccess
| Modifier and Type | Field and Description |
|---|---|
protected Chunk[][] |
chunkArray |
protected int |
chunkX |
protected int |
chunkZ |
protected boolean |
hasExtendedLevels |
protected World |
worldObj |
| Constructor and Description |
|---|
ChunkCache(World worldIn,
BlockPos posFromIn,
BlockPos posToIn,
int subIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
extendedLevelsInChunkCache() |
Biome |
getBiomeGenForCoords(BlockPos pos) |
IBlockState |
getBlockState(BlockPos pos) |
int |
getCombinedLight(BlockPos pos,
int lightValue) |
int |
getLightFor(EnumSkyBlock p_175628_1_,
BlockPos pos) |
int |
getStrongPower(BlockPos pos,
EnumFacing direction) |
TileEntity |
getTileEntity(BlockPos pos) |
WorldType |
getWorldType() |
boolean |
isAirBlock(BlockPos pos) |
boolean |
isSideSolid(BlockPos pos,
EnumFacing side,
boolean _default)
FORGE: isSideSolid, pulled up from
World |
protected int chunkX
protected int chunkZ
protected Chunk[][] chunkArray
protected boolean hasExtendedLevels
protected World worldObj
public boolean extendedLevelsInChunkCache()
extendedLevelsInChunkCache in interface IBlockAccess@Nullable public TileEntity getTileEntity(BlockPos pos)
getTileEntity in interface IBlockAccesspublic int getCombinedLight(BlockPos pos, int lightValue)
getCombinedLight in interface IBlockAccesspublic IBlockState getBlockState(BlockPos pos)
getBlockState in interface IBlockAccesspublic Biome getBiomeGenForCoords(BlockPos pos)
getBiomeGenForCoords in interface IBlockAccesspublic boolean isAirBlock(BlockPos pos)
isAirBlock in interface IBlockAccesspublic int getLightFor(EnumSkyBlock p_175628_1_, BlockPos pos)
public int getStrongPower(BlockPos pos, EnumFacing direction)
getStrongPower in interface IBlockAccesspublic WorldType getWorldType()
getWorldType in interface IBlockAccesspublic boolean isSideSolid(BlockPos pos, EnumFacing side, boolean _default)
IBlockAccessWorldisSideSolid in interface IBlockAccesspos - Positionside - Side_default - default return value