mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-27 14:30:23 +00:00
reformat + imports
This commit is contained in:
1 parent
dca8dd4c4f
commit
f1bda5c907
161 files changed
+342
-378
No files matched your search
+2
-2
@@ -14,11 +14,11 @@ import com.dfsek.terra.api.world.generator.Palette;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
public class PaletteConfigType implements ConfigType<PaletteTemplate, Palette> {
|
||||
public static final TypeKey<Palette> PALETTE_TYPE_TOKEN = new TypeKey<>() {
|
||||
};
|
||||
private final PaletteFactory factory = new PaletteFactory();
|
||||
private final TerraPlugin main;
|
||||
|
||||
public static final TypeKey<Palette> PALETTE_TYPE_TOKEN = new TypeKey<>(){};
|
||||
|
||||
public PaletteConfigType(TerraPlugin main) {
|
||||
this.main = main;
|
||||
}
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ public class NoisePalette extends PaletteImpl {
|
||||
|
||||
public NoisePalette(NoiseSampler sampler) {
|
||||
this.sampler = sampler;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockState get(int layer, double x, double y, double z, long seed) {
|
||||
|
||||
-1
@@ -7,7 +7,6 @@ import com.dfsek.terra.api.world.generator.Palette;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
/**
|
||||
* A class representation of a "slice" of the world.
|
||||
|
||||
Reference in new issue
Block a user