Class ViewArea
java.lang.Object
net.minecraft.client.renderer.ViewArea
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final intprivate final SectionOcclusionGraphprivate final RotatingSectionStorage<SectionRenderDispatcher.RenderSection> -
Constructor Summary
ConstructorsConstructorDescriptionViewArea(SectionRenderDispatcher sectionRenderDispatcher, int minY, int maxY, int minSectionY, int maxSectionY, int renderDistance, SectionOcclusionGraph sectionOcclusionGraph) -
Method Summary
Modifier and TypeMethodDescriptiongetRenderSection(long sectionNode) intintintmaxY()intintminY()voidbooleanrepositionCamera(SectionPos cameraSectionPos) intintsize()
-
Field Details
-
sectionOcclusionGraph
-
sections
-
minY
private final int minY -
maxY
private final int maxY
-
-
Constructor Details
-
ViewArea
public ViewArea(SectionRenderDispatcher sectionRenderDispatcher, int minY, int maxY, int minSectionY, int maxSectionY, int renderDistance, SectionOcclusionGraph sectionOcclusionGraph)
-
-
Method Details
-
releaseAllBuffers
public void releaseAllBuffers() -
size
public int size() -
minY
public int minY() -
maxY
public int maxY() -
minSectionY
public int minSectionY() -
maxSectionY
public int maxSectionY() -
sectionCount
public int sectionCount() -
getViewDistance
public int getViewDistance() -
repositionCamera
-
getCameraSectionPos
-
getRenderSectionAt
-
getRenderSection
-