mirror of
https://github.com/JonasunderscoreJones/nicer-skies.git
synced 2025-10-23 03:39:18 +02:00
fix: remove logs
This commit is contained in:
parent
c10f87bd1a
commit
21558faad2
2 changed files with 1 additions and 4 deletions
|
@ -12,7 +12,6 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||||
public class MinecraftMixin {
|
public class MinecraftMixin {
|
||||||
@Inject(at = @At("TAIL"), method = "setLevel")
|
@Inject(at = @At("TAIL"), method = "setLevel")
|
||||||
private void onWorldLoad(CallbackInfo ci) {
|
private void onWorldLoad(CallbackInfo ci) {
|
||||||
System.out.println("DONED THE LOADD");
|
|
||||||
NicerSkies.skyManager.generateSky(NebulaSeedManager.getSeed());
|
NicerSkies.skyManager.generateSky(NebulaSeedManager.getSeed());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ public class SkyManager {
|
||||||
|
|
||||||
private final Gradient starGradient = new Gradient();
|
private final Gradient starGradient = new Gradient();
|
||||||
private final Gradient nebulaGradient = new Gradient();
|
private final Gradient nebulaGradient = new Gradient();
|
||||||
private final Gradient starryGradient = new Gradient();
|
// private final Gradient starryGradient = new Gradient();
|
||||||
|
|
||||||
public void generateSky(long seed) {
|
public void generateSky(long seed) {
|
||||||
nebulaGradient.clear();
|
nebulaGradient.clear();
|
||||||
|
@ -26,8 +26,6 @@ public class SkyManager {
|
||||||
|
|
||||||
buildGradients();
|
buildGradients();
|
||||||
|
|
||||||
System.out.println(seed);
|
|
||||||
|
|
||||||
RandomSource randomSource = RandomSource.create(seed); //todo: world seed/hash server ip
|
RandomSource randomSource = RandomSource.create(seed); //todo: world seed/hash server ip
|
||||||
|
|
||||||
PerlinNoise perlinNoise = PerlinNoise.create(randomSource, IntStream.of(1, 2, 3, 4, 5));
|
PerlinNoise perlinNoise = PerlinNoise.create(randomSource, IntStream.of(1, 2, 3, 4, 5));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue