public class RenderChunk extends java.lang.Object implements IForgeRenderChunk
Modifier and Type | Field and Description |
---|---|
AxisAlignedBB |
boundingBox |
CompiledChunk |
compiledChunk |
static int |
renderChunksUpdated |
Constructor and Description |
---|
RenderChunk(World p_i49841_1_,
WorldRenderer p_i49841_2_) |
Modifier and Type | Method and Description |
---|---|
void |
clearNeedsUpdate() |
void |
deleteGlResources() |
protected void |
finishCompileTask() |
BlockPos |
getBlockPosOffset16(EnumFacing facing) |
CompiledChunk |
getCompiledChunk() |
protected double |
getDistanceSq() |
java.util.concurrent.locks.ReentrantLock |
getLockCompileTask() |
BlockPos |
getPosition() |
VertexBuffer |
getVertexBufferByLayer(int layer) |
World |
getWorld() |
ChunkRenderTask |
makeCompileTaskChunk() |
ChunkRenderTask |
makeCompileTaskTransparency() |
void |
multModelviewMatrix() |
boolean |
needsImmediateUpdate() |
boolean |
needsUpdate() |
void |
rebuildChunk(float x,
float y,
float z,
ChunkRenderTask generator) |
void |
resortTransparency(float x,
float y,
float z,
ChunkRenderTask generator) |
void |
setCompiledChunk(CompiledChunk compiledChunkIn) |
boolean |
setFrameIndex(int frameIndexIn) |
void |
setNeedsUpdate(boolean immediate) |
void |
setPosition(int x,
int y,
int z) |
void |
stopCompileTask() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createRegionRenderCache
public static int renderChunksUpdated
public CompiledChunk compiledChunk
public AxisAlignedBB boundingBox
public RenderChunk(World p_i49841_1_, WorldRenderer p_i49841_2_)
public boolean setFrameIndex(int frameIndexIn)
public VertexBuffer getVertexBufferByLayer(int layer)
public void setPosition(int x, int y, int z)
public void resortTransparency(float x, float y, float z, ChunkRenderTask generator)
public void rebuildChunk(float x, float y, float z, ChunkRenderTask generator)
protected void finishCompileTask()
public java.util.concurrent.locks.ReentrantLock getLockCompileTask()
public ChunkRenderTask makeCompileTaskChunk()
@Nullable public ChunkRenderTask makeCompileTaskTransparency()
protected double getDistanceSq()
public void multModelviewMatrix()
public CompiledChunk getCompiledChunk()
public void setCompiledChunk(CompiledChunk compiledChunkIn)
public void stopCompileTask()
public void deleteGlResources()
public BlockPos getPosition()
public void setNeedsUpdate(boolean immediate)
public void clearNeedsUpdate()
public boolean needsUpdate()
public boolean needsImmediateUpdate()
public BlockPos getBlockPosOffset16(EnumFacing facing)
public World getWorld()