LightChunkGetter .java

net.minecraft.world.level.chunk.LightChunkGetter (interface): members: getChunkForLighting, onLightUpdate, getLevel. imports: LightLayer, SectionPos.

net.minecraft.world.level.chunkinterface16 linescommon427 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (4)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

LightChunkGetter.java16 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.level.chunk;
2
3
import net.minecraft.core.SectionPos;
4
import net.minecraft.world.level.BlockGetter;
5
import net.minecraft.world.level.LightLayer;
6
import org.jspecify.annotations.Nullable;
7
8
public interface LightChunkGetter {
9
	@Nullable LightChunk getChunkForLighting(final int x, final int z);
10
11
	default void onLightUpdate(final LightLayer layer, final SectionPos pos) {
12
	}
13
14
	BlockGetter getLevel();
15
}
16

Decompiled Minecraft 26.3 source of LightChunkGetter (net/minecraft/world/level/chunk/LightChunkGetter.java) with Mojang official mappings, stored verbatim on the site.