Package net.minecraft.client.renderer
Class ViewFrustum
- java.lang.Object
-
- net.minecraft.client.renderer.ViewFrustum
-
public class ViewFrustum extends java.lang.Object
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Field Summary
Fields Modifier and Type Field Description protected int
countChunksX
protected int
countChunksY
protected int
countChunksZ
RenderChunk[]
renderChunks
protected RenderGlobal
renderGlobal
protected World
world
-
Constructor Summary
Constructors Constructor Description ViewFrustum(World worldIn, int renderDistanceChunks, RenderGlobal parRenderGlobal, IRenderChunkFactory renderChunkFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createRenderChunks(IRenderChunkFactory renderChunkFactory)
void
deleteGlResources()
protected RenderChunk
getRenderChunk(BlockPos pos)
void
markBlocksForUpdate(int fromX, int fromY, int fromZ, int toX, int toY, int toZ)
protected void
setCountChunksXYZ(int renderDistanceChunks)
void
updateChunkPositions(double viewEntityX, double viewEntityZ)
-
-
-
Field Detail
-
renderGlobal
protected final RenderGlobal renderGlobal
-
world
protected final World world
-
countChunksY
protected int countChunksY
-
countChunksX
protected int countChunksX
-
countChunksZ
protected int countChunksZ
-
renderChunks
public RenderChunk[] renderChunks
-
-
Constructor Detail
-
ViewFrustum
public ViewFrustum(World worldIn, int renderDistanceChunks, RenderGlobal parRenderGlobal, IRenderChunkFactory renderChunkFactory)
-
-
Method Detail
-
createRenderChunks
protected void createRenderChunks(IRenderChunkFactory renderChunkFactory)
-
deleteGlResources
public void deleteGlResources()
-
setCountChunksXYZ
protected void setCountChunksXYZ(int renderDistanceChunks)
-
updateChunkPositions
public void updateChunkPositions(double viewEntityX, double viewEntityZ)
-
markBlocksForUpdate
public void markBlocksForUpdate(int fromX, int fromY, int fromZ, int toX, int toY, int toZ)
-
getRenderChunk
protected RenderChunk getRenderChunk(BlockPos pos)
-
-