public void purgeSet(ChunkCuboidLightBufferWrapper<VanillaCuboidLightBuffer> light, TInt10TripleSet[] sets) {
for (int i = 0; i < sets.length; i++) {
TInt10TripleSet set = sets[i];
TObjectHashIterator<Integer> itr = set.iterator();
while (itr.hasNext()) {
Int10TripleHashed hash = set.getHash();
Integer key = itr.next();
int x = hash.keyX(key);
int y = hash.keyY(key);
int z = hash.keyZ(key);
int lightLevel = this.getLightLevel(light, x, y, z);
if (lightLevel < i) {
itr.remove();
}
}