FastAsyncWorldedit/core/src/main/java/com/boydti/fawe/example/Relighter.java

29 lines
617 B
Java
Raw Normal View History

2016-11-28 04:34:12 +01:00
package com.boydti.fawe.example;
public interface Relighter {
2016-11-28 07:19:23 +01:00
boolean addChunk(int cx, int cz, byte[] skipReason, int bitmask);
2016-11-28 04:34:12 +01:00
void addLightUpdate(int x, int y, int z);
void fixLightingSafe(boolean sky);
default void removeAndRelight(boolean sky) {
removeLighting();
fixLightingSafe(sky);
}
void removeLighting();
2016-11-28 04:34:12 +01:00
void fixBlockLighting();
void fixSkyLighting();
boolean isEmpty();
2016-11-28 07:19:23 +01:00
public static class SkipReason {
public static final byte NONE = 0;
public static final byte AIR = 1;
public static final byte SOLID = 2;
}
2016-11-28 04:34:12 +01:00
}