Class SectionRenderDispatcher.RenderSection
java.lang.Object
net.minecraft.client.renderer.chunk.SectionRenderDispatcher.RenderSection
- Enclosing class:
- SectionRenderDispatcher
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescription(package private) class(package private) class(package private) class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate AABBprivate final Map<RenderType,VertexBuffer> private booleanprivate final Set<BlockEntity>final int(package private) final AtomicInteger(package private) final BlockPos.MutableBlockPosprivate booleanprivate final BlockPos.MutableBlockPos[]static final int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription(package private) voidbeginLayer(BufferBuilder p_294230_) protected booleanvoidcompileSync(RenderRegionCache p_296018_) createCompileTask(RenderRegionCache p_295324_) private booleandoesChunkExistAt(BlockPos p_295253_) getBuffer(RenderType p_294497_) protected doublegetRelativeOrigin(Direction p_296100_) booleanbooleanisAxisAlignedWith(int p_295743_, int p_295344_, int p_295518_) booleanisDirty()booleanvoidrebuildSectionAsync(SectionRenderDispatcher p_295901_, RenderRegionCache p_294660_) voidprivate voidreset()booleanresortTransparency(RenderType p_295679_, SectionRenderDispatcher p_294363_) voidsetDirty(boolean p_295417_) voidvoidsetOrigin(int p_294148_, int p_295137_, int p_295706_) (package private) voidupdateGlobalBlockEntities(Collection<BlockEntity> p_296155_) 
- 
Field Details- 
SIZEpublic static final int SIZE- See Also:
 
- 
indexpublic final int index
- 
compiled
- 
initialCompilationCancelCount
- 
lastRebuildTask
- 
lastResortTransparencyTask@Nullable private SectionRenderDispatcher.RenderSection.ResortTransparencyTask lastResortTransparencyTask
- 
globalBlockEntities
- 
buffers
- 
bb
- 
dirtyprivate boolean dirty
- 
origin
- 
relativeOrigins
- 
playerChangedprivate boolean playerChanged
 
- 
- 
Constructor Details- 
RenderSectionpublic RenderSection(int p_295197_, int p_295159_, int p_294506_, int p_294392_) 
 
- 
- 
Method Details- 
doesChunkExistAt
- 
hasAllNeighborspublic boolean hasAllNeighbors()
- 
getBoundingBox
- 
getBuffer
- 
setOriginpublic void setOrigin(int p_294148_, int p_295137_, int p_295706_) 
- 
getDistToPlayerSqrprotected double getDistToPlayerSqr()
- 
beginLayer
- 
getCompiled
- 
resetprivate void reset()
- 
releaseBufferspublic void releaseBuffers()
- 
getOrigin
- 
setDirtypublic void setDirty(boolean p_295417_) 
- 
setNotDirtypublic void setNotDirty()
- 
isDirtypublic boolean isDirty()
- 
isDirtyFromPlayerpublic boolean isDirtyFromPlayer()
- 
getRelativeOrigin
- 
resortTransparency
- 
cancelTasksprotected boolean cancelTasks()
- 
createCompileTaskpublic SectionRenderDispatcher.RenderSection.CompileTask createCompileTask(RenderRegionCache p_295324_) 
- 
rebuildSectionAsync
- 
updateGlobalBlockEntities
- 
compileSync
- 
isAxisAlignedWithpublic boolean isAxisAlignedWith(int p_295743_, int p_295344_, int p_295518_) 
 
-