public class RenderChunkCache extends java.lang.Object implements IWorldReader
| Modifier and Type | Class and Description |
|---|---|
class |
RenderChunkCache.Entry |
| Modifier and Type | Field and Description |
|---|---|
protected int |
field_212400_a |
protected int |
field_212401_b |
protected BlockPos |
field_212402_c |
protected int |
field_212403_d |
protected int |
field_212404_e |
protected int |
field_212405_f |
protected Chunk[][] |
field_212406_g |
protected RenderChunkCache.Entry[] |
field_212407_h |
protected World |
field_212408_i |
| Constructor and Description |
|---|
RenderChunkCache(World p_i49840_1_,
int p_i49840_2_,
int p_i49840_3_,
Chunk[][] p_i49840_4_,
BlockPos p_i49840_5_,
BlockPos p_i49840_6_) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanBlockSeeSky, checkNoEntityCollision, checkNoEntityCollision, containsAnyLiquid, func_212388_b, func_212389_a, func_212391_a, func_212392_a, getClosestPlayer, getClosestPlayerToEntity, getCollisionBoxes, getHeight, getLight, getNearestPlayerNotCreative, hasWater, isAreaLoaded, isAreaLoaded, isAreaLoaded, isAreaLoaded, isAreaLoaded, isAreaLoaded, isAreaLoaded, isBlockLoaded, isBlockLoaded, isCollisionBoxesEmpty, isCollisionBoxesEmpty, isInsideWorldBordergetMaxLightLevelprotected final int field_212400_a
protected final int field_212401_b
protected final BlockPos field_212402_c
protected final int field_212403_d
protected final int field_212404_e
protected final int field_212405_f
protected final Chunk[][] field_212406_g
protected final RenderChunkCache.Entry[] field_212407_h
protected final World field_212408_i
@Nullable public static RenderChunkCache func_212397_a(World p_212397_0_, BlockPos p_212397_1_, BlockPos p_212397_2_, int p_212397_3_)
protected int func_212398_a(BlockPos p_212398_1_)
public IBlockState getBlockState(BlockPos pos)
getBlockState in interface IBlockReaderpublic IFluidState getFluidState(BlockPos pos)
getFluidState in interface IBlockReaderpublic Biome getBiome(BlockPos pos)
getBiome in interface IWorldReaderBasepublic int getCombinedLight(BlockPos pos, int lightValue)
getCombinedLight in interface IWorldReader@Nullable public TileEntity getTileEntity(BlockPos pos)
getTileEntity in interface IBlockReader@Nullable public TileEntity func_212399_a(BlockPos p_212399_1_, Chunk.EnumCreateEntityType p_212399_2_)
public float getBrightness(BlockPos pos)
getBrightness in interface IWorldReaderBasepublic int getNeighborAwareLightSubtracted(BlockPos pos, int amount)
getNeighborAwareLightSubtracted in interface IWorldReaderBasepublic Dimension getDimension()
getDimension in interface IWorldReaderBasepublic int getLightSubtracted(BlockPos pos, int amount)
getLightSubtracted in interface IWorldReaderBasepublic boolean isChunkLoaded(int x,
int z,
boolean allowEmpty)
isChunkLoaded in interface IWorldReaderBasepublic boolean canSeeSky(BlockPos pos)
canSeeSky in interface IWorldReaderBasepublic boolean func_212395_a(int p_212395_1_,
int p_212395_2_)
public int getHeight(Heightmap.Type heightmapType, int x, int z)
getHeight in interface IWorldReaderBasepublic WorldBorder getWorldBorder()
getWorldBorder in interface IWorldReaderBasepublic boolean checkNoEntityCollision(@Nullable
Entity entityIn,
VoxelShape shape)
checkNoEntityCollision in interface IWorldReaderBase@Nullable public EntityPlayer getClosestPlayer(double x, double y, double z, double distance, java.util.function.Predicate<Entity> predicate)
getClosestPlayer in interface IWorldReaderBasepublic int getSkylightSubtracted()
getSkylightSubtracted in interface IWorldReaderBasepublic boolean isAirBlock(BlockPos pos)
isAirBlock in interface IWorldReaderBasepublic int getLightFor(EnumLightType type, BlockPos pos)
getLightFor in interface IWorldReaderBasepublic int getStrongPower(BlockPos pos, EnumFacing direction)
getStrongPower in interface IWorldReaderBasepublic boolean isRemote()
isRemote in interface IWorldReaderBasepublic int getSeaLevel()
getSeaLevel in interface IWorldReaderBase