public class RegionRenderCache extends ChunkCache
Modifier and Type | Field and Description |
---|---|
private IBlockState[] |
blockStates |
private int[] |
combinedLights |
private static IBlockState |
DEFAULT_STATE |
private BlockPos |
position |
chunkArray, chunkX, chunkZ, hasExtendedLevels, worldObj
Constructor and Description |
---|
RegionRenderCache(World worldIn,
BlockPos posFromIn,
BlockPos posToIn,
int subIn) |
Modifier and Type | Method and Description |
---|---|
IBlockState |
getBlockState(BlockPos pos) |
private IBlockState |
getBlockStateRaw(BlockPos pos) |
int |
getCombinedLight(BlockPos pos,
int lightValue) |
private int |
getPositionIndex(BlockPos p_175630_1_) |
TileEntity |
getTileEntity(BlockPos pos) |
extendedLevelsInChunkCache, getBiomeGenForCoords, getLightFor, getStrongPower, getWorldType, isAirBlock
private static final IBlockState DEFAULT_STATE
private final BlockPos position
private int[] combinedLights
private IBlockState[] blockStates
public TileEntity getTileEntity(BlockPos pos)
getTileEntity
in interface IBlockAccess
getTileEntity
in class ChunkCache
public int getCombinedLight(BlockPos pos, int lightValue)
getCombinedLight
in interface IBlockAccess
getCombinedLight
in class ChunkCache
public IBlockState getBlockState(BlockPos pos)
getBlockState
in interface IBlockAccess
getBlockState
in class ChunkCache
private IBlockState getBlockStateRaw(BlockPos pos)
private int getPositionIndex(BlockPos p_175630_1_)