public class ViewFrustum
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
countChunksX |
protected int |
countChunksY |
protected int |
countChunksZ |
RenderChunk[] |
renderChunks |
protected RenderGlobal |
renderGlobal |
protected World |
world |
Constructor and Description |
---|
ViewFrustum(World worldIn,
int renderDistanceChunks,
RenderGlobal p_i46246_3_,
IRenderChunkFactory renderChunkFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
createRenderChunks(IRenderChunkFactory renderChunkFactory) |
void |
deleteGlResources() |
private int |
func_178157_a(int p_178157_1_,
int p_178157_2_,
int p_178157_3_) |
protected RenderChunk |
getRenderChunk(BlockPos pos) |
void |
markBlocksForUpdate(int fromX,
int fromY,
int fromZ,
int toX,
int toY,
int toZ) |
protected void |
setCountChunksXYZ(int renderDistanceChunks) |
void |
updateChunkPositions(double viewEntityX,
double viewEntityZ) |
protected final RenderGlobal renderGlobal
protected final World world
protected int countChunksY
protected int countChunksX
protected int countChunksZ
public RenderChunk[] renderChunks
public ViewFrustum(World worldIn, int renderDistanceChunks, RenderGlobal p_i46246_3_, IRenderChunkFactory renderChunkFactory)
protected void createRenderChunks(IRenderChunkFactory renderChunkFactory)
public void deleteGlResources()
protected void setCountChunksXYZ(int renderDistanceChunks)
public void updateChunkPositions(double viewEntityX, double viewEntityZ)
private int func_178157_a(int p_178157_1_, int p_178157_2_, int p_178157_3_)
public void markBlocksForUpdate(int fromX, int fromY, int fromZ, int toX, int toY, int toZ)
protected RenderChunk getRenderChunk(BlockPos pos)