use of org.terasology.world.generation.Border3D in project Terasology by MovingBlocks.
the class SeaLevelProvider method process.
@Override
public void process(GeneratingRegion region) {
Border3D border = region.getBorderForFacet(SeaLevelFacet.class);
SeaLevelFacet facet = new SeaLevelFacet(region.getRegion(), border);
facet.setSeaLevel(seaLevel);
region.setRegionFacet(SeaLevelFacet.class, facet);
}
Aggregations