Class RenderRegionCache
java.lang.Object
net.minecraft.client.renderer.chunk.RenderRegionCache
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static final class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.longs.Long2ObjectMap
<RenderRegionCache.ChunkInfo> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateRegion
(Level p_200466_, BlockPos p_200467_, BlockPos p_200468_, int p_200469_) private static boolean
isAllEmpty
(BlockPos p_200471_, BlockPos p_200472_, int p_200473_, int p_200474_, RenderRegionCache.ChunkInfo[][] p_200475_)
-
Field Details
-
chunkInfoCache
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<RenderRegionCache.ChunkInfo> chunkInfoCache
-
-
Constructor Details
-
RenderRegionCache
public RenderRegionCache()
-
-
Method Details
-
createRegion
@Nullable public RenderChunkRegion createRegion(Level p_200466_, BlockPos p_200467_, BlockPos p_200468_, int p_200469_) -
isAllEmpty
private static boolean isAllEmpty(BlockPos p_200471_, BlockPos p_200472_, int p_200473_, int p_200474_, RenderRegionCache.ChunkInfo[][] p_200475_)
-