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, isAirBlockprivate static final IBlockState DEFAULT_STATE
private final BlockPos position
private int[] combinedLights
private IBlockState[] blockStates
public TileEntity getTileEntity(BlockPos pos)
getTileEntity in interface IBlockAccessgetTileEntity in class ChunkCachepublic int getCombinedLight(BlockPos pos, int lightValue)
getCombinedLight in interface IBlockAccessgetCombinedLight in class ChunkCachepublic IBlockState getBlockState(BlockPos pos)
getBlockState in interface IBlockAccessgetBlockState in class ChunkCacheprivate IBlockState getBlockStateRaw(BlockPos pos)
private int getPositionIndex(BlockPos p_175630_1_)