mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-06 20:56:41 +00:00
Fixlighting now also calculates heightmaps
Fixes #386 and #438 seems fixed, but that might be something else that fixed?
This commit is contained in:
@ -1,11 +1,14 @@
|
||||
package com.boydti.fawe.beta;
|
||||
|
||||
import com.boydti.fawe.beta.implementation.lighting.HeightMapType;
|
||||
import com.sk89q.jnbt.CompoundTag;
|
||||
import com.sk89q.worldedit.extent.OutputExtent;
|
||||
import com.sk89q.worldedit.function.operation.Operation;
|
||||
import com.sk89q.worldedit.world.biome.BiomeType;
|
||||
import com.sk89q.worldedit.world.block.BlockStateHolder;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
import javax.annotation.Nullable;
|
||||
@ -34,6 +37,9 @@ public interface IChunkSet extends IBlocks, OutputExtent {
|
||||
@Override
|
||||
void setSkyLight(int x, int y, int z, int value);
|
||||
|
||||
@Override
|
||||
void setHeightMap(HeightMapType type, int[] heightMap);
|
||||
|
||||
void setLightLayer(int layer, char[] toSet);
|
||||
|
||||
void setSkyLightLayer(int layer, char[] toSet);
|
||||
@ -76,6 +82,10 @@ public interface IChunkSet extends IBlocks, OutputExtent {
|
||||
return -1;
|
||||
}
|
||||
|
||||
default Map<HeightMapType, int[]> getHeightMaps() {
|
||||
return new HashMap<>();
|
||||
}
|
||||
|
||||
@Override
|
||||
IChunkSet reset();
|
||||
|
||||
|
Reference in New Issue
Block a user