More slag
This commit is contained in:
@@ -110,7 +110,8 @@ public class ErekirPlanetGenerator extends PlanetGenerator{
|
||||
if(floor != Blocks.redIce){
|
||||
float noise = noise(x + 782, y, 7, 0.8f, 280f, 1f);
|
||||
if(noise > 0.62f){
|
||||
if(noise > 0.7f){
|
||||
if(noise > 0.635f){
|
||||
//TODO slag must be rounded, no single occurrences
|
||||
floor = Blocks.slag;
|
||||
}else{
|
||||
floor = Blocks.yellowStone;
|
||||
@@ -136,6 +137,9 @@ public class ErekirPlanetGenerator extends PlanetGenerator{
|
||||
distort(10f, 12f);
|
||||
distort(5f, 7f);
|
||||
|
||||
//smooth out slag to prevent random 1-tile patches
|
||||
median(3, 0.6, Blocks.slag);
|
||||
|
||||
pass((x, y) -> {
|
||||
float max = 0;
|
||||
for(Point2 p : Geometry.d8){
|
||||
@@ -209,6 +213,12 @@ public class ErekirPlanetGenerator extends PlanetGenerator{
|
||||
}
|
||||
}
|
||||
|
||||
for(Tile tile : tiles){
|
||||
if(tile.overlay().needsSurface && !tile.floor().hasSurface()){
|
||||
tile.setOverlay(Blocks.air);
|
||||
}
|
||||
}
|
||||
|
||||
//not allowed
|
||||
state.rules.hiddenBuildItems.addAll(Items.copper, Items.titanium, Items.coal, Items.lead, Items.blastCompound, Items.pyratite, Items.sporePod, Items.metaglass, Items.plastanium);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user