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_300604_) protected booleanvoidcompileSync(RenderRegionCache p_298605_) createCompileTask(RenderRegionCache p_300037_) private booleandoesChunkExistAt(BlockPos p_297611_) getBuffer(RenderType p_298748_) protected doublegetRelativeOrigin(Direction p_299060_) booleanbooleanisAxisAlignedWith(int p_297900_, int p_299871_, int p_299328_) booleanisDirty()booleanvoidrebuildSectionAsync(SectionRenderDispatcher p_299090_, RenderRegionCache p_297331_) voidprivate voidreset()booleanresortTransparency(RenderType p_301074_, SectionRenderDispatcher p_298196_) voidsetDirty(boolean p_298731_) voidvoidsetOrigin(int p_298099_, int p_299019_, int p_299020_) (package private) voidupdateGlobalBlockEntities(Collection<BlockEntity> p_300373_) 
- 
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_299358_, int p_299044_, int p_300810_, int p_299840_) 
 
- 
- 
Method Details- 
doesChunkExistAt
- 
hasAllNeighborspublic boolean hasAllNeighbors()
- 
getBoundingBox
- 
getBuffer
- 
setOriginpublic void setOrigin(int p_298099_, int p_299019_, int p_299020_) 
- 
getDistToPlayerSqrprotected double getDistToPlayerSqr()
- 
beginLayer
- 
getCompiled
- 
resetprivate void reset()
- 
releaseBufferspublic void releaseBuffers()
- 
getOrigin
- 
setDirtypublic void setDirty(boolean p_298731_) 
- 
setNotDirtypublic void setNotDirty()
- 
isDirtypublic boolean isDirty()
- 
isDirtyFromPlayerpublic boolean isDirtyFromPlayer()
- 
getRelativeOrigin
- 
resortTransparency
- 
cancelTasksprotected boolean cancelTasks()
- 
createCompileTaskpublic SectionRenderDispatcher.RenderSection.CompileTask createCompileTask(RenderRegionCache p_300037_) 
- 
rebuildSectionAsync
- 
updateGlobalBlockEntities
- 
compileSync
- 
isAxisAlignedWithpublic boolean isAxisAlignedWith(int p_297900_, int p_299871_, int p_299328_) 
 
-