16 lines
415 B
Java
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();
|
|
}
|