Class SectionRenderDispatcher.RenderSection
java.lang.Object
net.minecraft.client.renderer.chunk.SectionRenderDispatcher.RenderSection
- Enclosing class:
- SectionRenderDispatcher
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
(package private) class
(package private) class
-
Field Summary
Modifier and TypeFieldDescriptionprivate AABB
private final Map<RenderType,
VertexBuffer> private boolean
private final Set<BlockEntity>
final int
(package private) final AtomicInteger
(package private) final BlockPos.MutableBlockPos
private boolean
private final BlockPos.MutableBlockPos[]
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
beginLayer
(BufferBuilder p_300604_) protected boolean
void
compileSync
(RenderRegionCache p_298605_) createCompileTask
(RenderRegionCache p_300037_) private boolean
doesChunkExistAt
(BlockPos p_297611_) getBuffer
(RenderType p_298748_) protected double
getRelativeOrigin
(Direction p_299060_) boolean
boolean
isAxisAlignedWith
(int p_297900_, int p_299871_, int p_299328_) boolean
isDirty()
boolean
void
rebuildSectionAsync
(SectionRenderDispatcher p_299090_, RenderRegionCache p_297331_) void
private void
reset()
boolean
resortTransparency
(RenderType p_301074_, SectionRenderDispatcher p_298196_) void
setDirty
(boolean p_298731_) void
void
setOrigin
(int p_298099_, int p_299019_, int p_299020_) (package private) void
updateGlobalBlockEntities
(Collection<BlockEntity> p_300373_)
-
Field Details
-
SIZE
public static final int SIZE- See Also:
-
index
public final int index -
compiled
-
initialCompilationCancelCount
-
lastRebuildTask
-
lastResortTransparencyTask
@Nullable private SectionRenderDispatcher.RenderSection.ResortTransparencyTask lastResortTransparencyTask -
globalBlockEntities
-
buffers
-
bb
-
dirty
private boolean dirty -
origin
-
relativeOrigins
-
playerChanged
private boolean playerChanged
-
-
Constructor Details
-
RenderSection
public RenderSection(int p_299358_, int p_299044_, int p_300810_, int p_299840_)
-
-
Method Details
-
doesChunkExistAt
-
hasAllNeighbors
public boolean hasAllNeighbors() -
getBoundingBox
-
getBuffer
-
setOrigin
public void setOrigin(int p_298099_, int p_299019_, int p_299020_) -
getDistToPlayerSqr
protected double getDistToPlayerSqr() -
beginLayer
-
getCompiled
-
reset
private void reset() -
releaseBuffers
public void releaseBuffers() -
getOrigin
-
setDirty
public void setDirty(boolean p_298731_) -
setNotDirty
public void setNotDirty() -
isDirty
public boolean isDirty() -
isDirtyFromPlayer
public boolean isDirtyFromPlayer() -
getRelativeOrigin
-
resortTransparency
-
cancelTasks
protected boolean cancelTasks() -
createCompileTask
public SectionRenderDispatcher.RenderSection.CompileTask createCompileTask(RenderRegionCache p_300037_) -
rebuildSectionAsync
-
updateGlobalBlockEntities
-
compileSync
-
isAxisAlignedWith
public boolean isAxisAlignedWith(int p_297900_, int p_299871_, int p_299328_)
-