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 p_i46246_4_) |
Modifier and Type | Method and Description |
---|---|
protected void |
createRenderChunks(IRenderChunkFactory p_178158_1_) |
void |
deleteGlResources() |
protected RenderChunk |
getRenderChunk(BlockPos p_178161_1_) |
void |
markBlocksForUpdate(int p_178162_1_,
int p_178162_2_,
int p_178162_3_,
int p_178162_4_,
int p_178162_5_,
int p_178162_6_) |
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 p_i46246_4_)
protected void createRenderChunks(IRenderChunkFactory p_178158_1_)
public void deleteGlResources()
protected void setCountChunksXYZ(int renderDistanceChunks)
public void updateChunkPositions(double viewEntityX, double viewEntityZ)
public void markBlocksForUpdate(int p_178162_1_, int p_178162_2_, int p_178162_3_, int p_178162_4_, int p_178162_5_, int p_178162_6_)
protected RenderChunk getRenderChunk(BlockPos p_178161_1_)