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_294230_) protected boolean
void
compileSync
(RenderRegionCache p_296018_) createCompileTask
(RenderRegionCache p_295324_) private boolean
doesChunkExistAt
(BlockPos p_295253_) getBuffer
(RenderType p_294497_) protected double
getRelativeOrigin
(Direction p_296100_) boolean
boolean
isAxisAlignedWith
(int p_295743_, int p_295344_, int p_295518_) boolean
isDirty()
boolean
void
rebuildSectionAsync
(SectionRenderDispatcher p_295901_, RenderRegionCache p_294660_) void
private void
reset()
boolean
resortTransparency
(RenderType p_295679_, SectionRenderDispatcher p_294363_) void
setDirty
(boolean p_295417_) void
void
setOrigin
(int p_294148_, int p_295137_, int p_295706_) (package private) void
updateGlobalBlockEntities
(Collection<BlockEntity> p_296155_)
-
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_295197_, int p_295159_, int p_294506_, int p_294392_)
-
-
Method Details
-
doesChunkExistAt
-
hasAllNeighbors
public boolean hasAllNeighbors() -
getBoundingBox
-
getBuffer
-
setOrigin
public void setOrigin(int p_294148_, int p_295137_, int p_295706_) -
getDistToPlayerSqr
protected double getDistToPlayerSqr() -
beginLayer
-
getCompiled
-
reset
private void reset() -
releaseBuffers
public void releaseBuffers() -
getOrigin
-
setDirty
public void setDirty(boolean p_295417_) -
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_295324_) -
rebuildSectionAsync
-
updateGlobalBlockEntities
-
compileSync
-
isAxisAlignedWith
public boolean isAxisAlignedWith(int p_295743_, int p_295344_, int p_295518_)
-