Class ChunkRenderDispatcher.RenderChunk
java.lang.Object
net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.RenderChunk
- All Implemented Interfaces:
IForgeRenderChunk
- Enclosing class:
- ChunkRenderDispatcher
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
(package private) class
(package private) class
-
Field Summary
Modifier and TypeFieldDescriptionprivate Map<RenderType,VertexBuffer>
private boolean
private Set<BlockEntity>
int
private int
(package private) BlockPos.MutableBlockPos
private boolean
private BlockPos.MutableBlockPos[]
static int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
beginLayer(BufferBuilder p_112806_)
protected void
void
private boolean
doesChunkExistAt(BlockPos p_112823_)
getBuffer(RenderType p_112808_)
protected double
getRelativeOrigin(Direction p_112825_)
boolean
boolean
isDirty()
boolean
void
rebuildChunkAsync(ChunkRenderDispatcher p_112821_)
void
private void
reset()
boolean
resortTransparency(RenderType p_112810_, ChunkRenderDispatcher p_112811_)
void
setDirty(boolean p_112829_)
boolean
setFrame(int p_112800_)
void
void
setOrigin(int p_112802_, int p_112803_, int p_112804_)
(package private) void
updateGlobalBlockEntities(Set<BlockEntity> p_112827_)
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 Details
-
SIZE
public static final int SIZE- See Also:
- Constant Field Values
-
index
public final int index -
compiled
-
lastRebuildTask
-
lastResortTransparencyTask
@Nullable private ChunkRenderDispatcher.RenderChunk.ResortTransparencyTask lastResortTransparencyTask -
globalBlockEntities
-
buffers
-
bb
-
lastFrame
private int lastFrame -
dirty
private boolean dirty -
origin
-
relativeOrigins
-
playerChanged
private boolean playerChanged
-
-
Constructor Details
-
RenderChunk
public RenderChunk(int p_173720_)
-
-
Method Details
-
doesChunkExistAt
-
hasAllNeighbors
public boolean hasAllNeighbors() -
setFrame
public boolean setFrame(int p_112800_) -
getBuffer
-
setOrigin
public void setOrigin(int p_112802_, int p_112803_, int p_112804_) -
getDistToPlayerSqr
protected double getDistToPlayerSqr() -
beginLayer
-
getCompiledChunk
-
reset
private void reset() -
releaseBuffers
public void releaseBuffers() -
getOrigin
-
setDirty
public void setDirty(boolean p_112829_) -
setNotDirty
public void setNotDirty() -
isDirty
public boolean isDirty() -
isDirtyFromPlayer
public boolean isDirtyFromPlayer() -
getRelativeOrigin
-
resortTransparency
-
cancelTasks
protected void cancelTasks() -
createCompileTask
-
rebuildChunkAsync
-
updateGlobalBlockEntities
-
compileSync
public void compileSync()
-