arkycite floor + fixes
This commit is contained in:
@@ -39,7 +39,7 @@ public class Blocks{
|
||||
//environment
|
||||
air, spawn, cliff, deepwater, water, taintedWater, deepTaintedWater, tar, slag, cryofluid, stone, craters, charr, sand, darksand, dirt, mud, ice, snow, darksandTaintedWater, space, empty,
|
||||
dacite, rhyolite, rhyoliteCrater, regolith, yellowStone, redIce,
|
||||
arkyciteFloor,
|
||||
arkyciteFloor, arkyicStone,
|
||||
redmat, bluemat,
|
||||
stoneWall, dirtWall, sporeWall, iceWall, daciteWall, sporePine, snowPine, pine, shrubs, whiteTree, whiteTreeDead, sporeCluster,
|
||||
redweed, purbush, coralChunk, yellowCoral,
|
||||
@@ -405,6 +405,10 @@ public class Blocks{
|
||||
albedo = 0.9f;
|
||||
}};
|
||||
|
||||
arkyicStone = new Floor("arkyic-stone"){{
|
||||
variants = 3;
|
||||
}};
|
||||
|
||||
redmat = new Floor("redmat");
|
||||
bluemat = new Floor("bluemat");
|
||||
|
||||
|
||||
@@ -137,8 +137,12 @@ public class ErekirPlanetGenerator extends PlanetGenerator{
|
||||
//arkycite
|
||||
pass((x, y) -> {
|
||||
|
||||
if(noise(x + 300, y - x*1.6f + 100, 4, 0.81f, 86f, 1f) > 0.71f/* && floor == Blocks.yellowStone*/){
|
||||
float noise = noise(x + 300, y - x*1.6f + 100, 4, 0.81f, 96f, 1f);
|
||||
|
||||
if(noise > 0.71f){
|
||||
floor = Blocks.arkyciteFloor;
|
||||
}else if(noise > 0.65){
|
||||
floor = Blocks.arkyicStone;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user