Added prototype planet sector land system

This commit is contained in:
Anuken
2020-01-20 12:05:26 -05:00
parent 01e7397df5
commit 27d6bf067e
17 changed files with 1902 additions and 1734 deletions

View File

@@ -156,7 +156,7 @@ public abstract class BasicGenerator extends RandomGenerator{
block = tiles.getn(x, y).block();
ore = tiles.getn(x, y).overlay();
r.get(x, y);
tiles.set(x, y, new Tile(x, y, floor.id, ore.id, block.id));
tiles.set(x, y, new Tile(x, y, floor, ore, block));
}
}
}

View File

@@ -24,7 +24,7 @@ public abstract class RandomGenerator extends Generator{
block = Blocks.air;
ore = Blocks.air;
generate(x, y);
tiles.set(x, y, new Tile(x, y, floor.id, ore.id, block.id));
tiles.set(x, y, new Tile(x, y, floor, ore, block));
}
}