Class ChunkRenderDispatcher.ChunkRender
java.lang.Object
net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.ChunkRender
- 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 final Map<RenderType,
VertexBuffer> private boolean
private final Set<TileEntity>
private int
private final BlockPos.Mutable
private boolean
private final BlockPos.Mutable[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
beginLayer
(BufferBuilder p_228923_1_) protected void
void
private boolean
doesChunkExistAt
(BlockPos p_228930_1_) getBuffer
(RenderType p_228924_1_) protected double
getRelativeOrigin
(Direction p_181701_1_) boolean
boolean
isDirty()
boolean
void
rebuildChunkAsync
(ChunkRenderDispatcher p_228929_1_) void
private void
reset()
boolean
resortTransparency
(RenderType p_228925_1_, ChunkRenderDispatcher p_228925_2_) void
setDirty
(boolean p_178575_1_) boolean
setFrame
(int p_178577_1_) void
void
setOrigin
(int p_189562_1_, int p_189562_2_, int p_189562_3_) private void
updateGlobalBlockEntities
(Set<TileEntity> p_228931_1_) 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
-
compiled
-
lastRebuildTask
-
lastResortTransparencyTask
-
globalBlockEntities
-
buffers
-
bb
-
lastFrame
private int lastFrame -
dirty
private boolean dirty -
origin
-
relativeOrigins
-
playerChanged
private boolean playerChanged
-
-
Constructor Details
-
ChunkRender
public ChunkRender()
-
-
Method Details
-
doesChunkExistAt
-
hasAllNeighbors
public boolean hasAllNeighbors() -
setFrame
public boolean setFrame(int p_178577_1_) -
getBuffer
-
setOrigin
public void setOrigin(int p_189562_1_, int p_189562_2_, int p_189562_3_) -
getDistToPlayerSqr
protected double getDistToPlayerSqr() -
beginLayer
-
getCompiledChunk
-
reset
private void reset() -
releaseBuffers
public void releaseBuffers() -
getOrigin
-
setDirty
public void setDirty(boolean p_178575_1_) -
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()
-