Class FullBrightLightCalculation
java.lang.Object
com.hypixel.hytale.server.core.universe.world.lighting.FullBrightLightCalculation
- All Implemented Interfaces:
LightCalculation
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFullBrightLightCalculation(ChunkLightingManager chunkLightingManager, LightCalculation delegate) -
Method Summary
Modifier and TypeMethodDescriptioncalculateLight(Vector3i chunkPosition) voidinit(WorldChunk worldChunk) booleaninvalidateLightAtBlock(WorldChunk worldChunk, int blockX, int blockY, int blockZ, com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType blockType, int oldHeight, int newHeight) booleaninvalidateLightInChunkSections(WorldChunk worldChunk, int sectionIndexFrom, int sectionIndexTo) voidsetFullBright(WorldChunk worldChunk, int chunkY)
-
Field Details
-
chunkLightingManager
-
delegate
-
-
Constructor Details
-
FullBrightLightCalculation
public FullBrightLightCalculation(ChunkLightingManager chunkLightingManager, LightCalculation delegate)
-
-
Method Details
-
init
- Specified by:
initin interfaceLightCalculation
-
calculateLight
- Specified by:
calculateLightin interfaceLightCalculation
-
invalidateLightAtBlock
public boolean invalidateLightAtBlock(@Nonnull WorldChunk worldChunk, int blockX, int blockY, int blockZ, @Nonnull com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType blockType, int oldHeight, int newHeight) - Specified by:
invalidateLightAtBlockin interfaceLightCalculation
-
invalidateLightInChunkSections
public boolean invalidateLightInChunkSections(@Nonnull WorldChunk worldChunk, int sectionIndexFrom, int sectionIndexTo) - Specified by:
invalidateLightInChunkSectionsin interfaceLightCalculation
-
setFullBright
-