Class ChunkRenderDispatcher.ChunkRender
- java.lang.Object
-
- net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.ChunkRender
-
- All Implemented Interfaces:
IForgeRenderChunk
- Enclosing class:
- ChunkRenderDispatcher
public class ChunkRenderDispatcher.ChunkRender extends java.lang.Object implements IForgeRenderChunk
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
ChunkRenderDispatcher.ChunkRender.ChunkRenderTask
(package private) class
ChunkRenderDispatcher.ChunkRender.RebuildTask
(package private) class
ChunkRenderDispatcher.ChunkRender.SortTransparencyTask
-
Field Summary
Fields Modifier and Type Field Description AxisAlignedBB
bb
private java.util.Map<RenderType,VertexBuffer>
buffers
java.util.concurrent.atomic.AtomicReference<ChunkRenderDispatcher.CompiledChunk>
compiled
private boolean
dirty
private java.util.Set<TileEntity>
globalBlockEntities
private int
lastFrame
private ChunkRenderDispatcher.ChunkRender.RebuildTask
lastRebuildTask
private ChunkRenderDispatcher.ChunkRender.SortTransparencyTask
lastResortTransparencyTask
private BlockPos.Mutable
origin
private boolean
playerChanged
private BlockPos.Mutable[]
relativeOrigins
-
Constructor Summary
Constructors Constructor Description ChunkRender()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraftforge.client.extensions.IForgeRenderChunk
createRegionRenderCache
-
-
-
-
Field Detail
-
compiled
public final java.util.concurrent.atomic.AtomicReference<ChunkRenderDispatcher.CompiledChunk> compiled
-
lastRebuildTask
@Nullable private ChunkRenderDispatcher.ChunkRender.RebuildTask lastRebuildTask
-
lastResortTransparencyTask
@Nullable private ChunkRenderDispatcher.ChunkRender.SortTransparencyTask lastResortTransparencyTask
-
globalBlockEntities
private final java.util.Set<TileEntity> globalBlockEntities
-
buffers
private final java.util.Map<RenderType,VertexBuffer> buffers
-
bb
public AxisAlignedBB bb
-
lastFrame
private int lastFrame
-
dirty
private boolean dirty
-
origin
private final BlockPos.Mutable origin
-
relativeOrigins
private final BlockPos.Mutable[] relativeOrigins
-
playerChanged
private boolean playerChanged
-
-
Method Detail
-
doesChunkExistAt
private boolean doesChunkExistAt(BlockPos p_228930_1_)
-
hasAllNeighbors
public boolean hasAllNeighbors()
-
setFrame
public boolean setFrame(int p_178577_1_)
-
getBuffer
public VertexBuffer getBuffer(RenderType p_228924_1_)
-
setOrigin
public void setOrigin(int p_189562_1_, int p_189562_2_, int p_189562_3_)
-
getDistToPlayerSqr
protected double getDistToPlayerSqr()
-
beginLayer
private void beginLayer(BufferBuilder p_228923_1_)
-
getCompiledChunk
public ChunkRenderDispatcher.CompiledChunk getCompiledChunk()
-
reset
private void reset()
-
releaseBuffers
public void releaseBuffers()
-
getOrigin
public BlockPos getOrigin()
-
setDirty
public void setDirty(boolean p_178575_1_)
-
setNotDirty
public void setNotDirty()
-
isDirty
public boolean isDirty()
-
isDirtyFromPlayer
public boolean isDirtyFromPlayer()
-
resortTransparency
public boolean resortTransparency(RenderType p_228925_1_, ChunkRenderDispatcher p_228925_2_)
-
cancelTasks
protected void cancelTasks()
-
createCompileTask
public ChunkRenderDispatcher.ChunkRender.ChunkRenderTask createCompileTask()
-
rebuildChunkAsync
public void rebuildChunkAsync(ChunkRenderDispatcher p_228929_1_)
-
updateGlobalBlockEntities
private void updateGlobalBlockEntities(java.util.Set<TileEntity> p_228931_1_)
-
compileSync
public void compileSync()
-
-