Add a little comment.
/*
- * Copyright 2014 MovingBlocks
+ * Copyright 2017 MovingBlocks
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
import org.terasology.world.liquid.LiquidData;
import org.terasology.world.liquid.LiquidType;
-/**
- */
public class SolidRasterizer implements WorldRasterizer {
private Block water;
@@ -74,6 +72,7 @@ public void generateChunk(CoreChunk chunk, Region chunkRegion) {
pos2d.set(pos.x, pos.z);
int posY = pos.y + chunk.getChunkWorldOffsetY();
+ // Check for an optional depth for this layer - if defined stop generating below that level
if (surfaceDepthFacet != null && posY < surfaceDepthFacet.get(pos2d)) {
continue;
}
