API Surface (0) No public/protected methods detected (fields or constants only).
Code Graph: Dependencies (5) Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.
Full Source
SectionMesh.java 52 lines · Minecraft 26.3 · verbatim Copy
1 package net.minecraft.client.renderer.chunk;
2
3 import com.mojang.renderpearl.api.pipeline.IndexType;
4 import java.util.Collections;
5 import java.util.List;
6 import net.fabricmc.api.EnvType;
7 import net.fabricmc.api.Environment;
8 import net.minecraft.core.Direction;
9 import net.minecraft.world.level.block.entity.BlockEntity;
10 import org.jspecify.annotations.Nullable;
11
12 @Environment(EnvType.CLIENT)
13 public interface SectionMesh extends AutoCloseable {
14 default boolean isDifferentPointOfView(final TranslucencyPointOfView pointOfView) {
15 return false;
16 }
17
18 default boolean hasRenderableLayers() {
19 return false;
20 }
21
22 default boolean hasTranslucentGeometry() {
23 return false;
24 }
25
26 default boolean isEmpty(final ChunkSectionLayer layer) {
27 return true;
28 }
29
30 default List<BlockEntity> getRenderableBlockEntities() {
31 return Collections.emptyList();
32 }
33
34 boolean facesCanSeeEachother(Direction direction1, Direction direction2);
35
36 default SectionMesh.@Nullable SectionDraw getSectionDraw(final ChunkSectionLayer layer) {
37 return null;
38 }
39
40 default long getCompileTaskStartTime() {
41 return 0L;
42 }
43
44 @Override
45 default void close() {
46 }
47
48 @Environment(EnvType.CLIENT)
49 record SectionDraw(int indexCount, IndexType indexType, boolean hasCustomIndexBuffer) {
50 }
51 }
52
Decompiled Minecraft 26.3 source of SectionMesh (net/minecraft/client/renderer/chunk/SectionMesh.java) with Mojang official mappings, stored verbatim on the site.