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, wait
canBlockSeeSky, 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, isInsideWorldBorder
getMaxLightLevel
protected 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 IBlockReader
public IFluidState getFluidState(BlockPos pos)
getFluidState
in interface IBlockReader
public Biome getBiome(BlockPos pos)
getBiome
in interface IWorldReaderBase
public 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 IWorldReaderBase
public int getNeighborAwareLightSubtracted(BlockPos pos, int amount)
getNeighborAwareLightSubtracted
in interface IWorldReaderBase
public Dimension getDimension()
getDimension
in interface IWorldReaderBase
public int getLightSubtracted(BlockPos pos, int amount)
getLightSubtracted
in interface IWorldReaderBase
public boolean isChunkLoaded(int x, int z, boolean allowEmpty)
isChunkLoaded
in interface IWorldReaderBase
public boolean canSeeSky(BlockPos pos)
canSeeSky
in interface IWorldReaderBase
public 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 IWorldReaderBase
public WorldBorder getWorldBorder()
getWorldBorder
in interface IWorldReaderBase
public 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 IWorldReaderBase
public int getSkylightSubtracted()
getSkylightSubtracted
in interface IWorldReaderBase
public boolean isAirBlock(BlockPos pos)
isAirBlock
in interface IWorldReaderBase
public int getLightFor(EnumLightType type, BlockPos pos)
getLightFor
in interface IWorldReaderBase
public int getStrongPower(BlockPos pos, EnumFacing direction)
getStrongPower
in interface IWorldReaderBase
public boolean isRemote()
isRemote
in interface IWorldReaderBase
public int getSeaLevel()
getSeaLevel
in interface IWorldReaderBase