minecraft-src/net/minecraft/world/level/chunk/LightChunkGetter.java
2025-07-04 01:41:11 +03:00

16 lines
415 B
Java

package net.minecraft.world.level.chunk;
import net.minecraft.core.SectionPos;
import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.level.LightLayer;
import org.jetbrains.annotations.Nullable;
public interface LightChunkGetter {
@Nullable
LightChunk getChunkForLighting(int chunkX, int chunkZ);
default void onLightUpdate(LightLayer layer, SectionPos pos) {
}
BlockGetter getLevel();
}