Added support for export/import of all basic terrain as image

This commit is contained in:
Anuken
2020-02-26 19:37:22 -05:00
parent fdaac290ac
commit 1e53ea50b0
19 changed files with 154 additions and 225 deletions

View File

@@ -60,7 +60,7 @@ public class TestPlanetGenerator extends PlanetGenerator{
public Color getColor(Vec3 position){
Block block = getBlock(position);
//replace salt with sand color
return block == Blocks.salt ? Blocks.sand.color : block.color;
return block == Blocks.salt ? Blocks.sand.minimapColor : block.minimapColor;
}
@Override