Sector refactoring, invasions and cleanup

This commit is contained in:
Anuken
2020-10-16 11:02:24 -04:00
parent 5ee4101ba4
commit 2f54edf34f
27 changed files with 319 additions and 376 deletions

View File

@ -153,9 +153,9 @@ public class Generators{
ImagePacker.generate("cracks", () -> {
RidgedPerlin r = new RidgedPerlin(1, 3);
for(int size = 1; size <= Block.maxCrackSize; size++){
for(int size = 1; size <= BlockRenderer.maxCrackSize; size++){
int dim = size * 32;
int steps = Block.crackRegions;
int steps = BlockRenderer.crackRegions;
for(int i = 0; i < steps; i++){
float fract = i / (float)steps;