mirror of
https://github.com/JonasunderscoreJones/nicer-skies.git
synced 2025-10-23 11:49:17 +02:00
refactor: oriented code towards objects
This commit is contained in:
parent
5f77c6d483
commit
ceb1eea855
10 changed files with 145 additions and 124 deletions
|
@ -1,13 +1,21 @@
|
|||
package codes.ztereohype.example;
|
||||
|
||||
import codes.ztereohype.example.nebula.Skybox;
|
||||
import codes.ztereohype.example.sky.SkyManager;
|
||||
import codes.ztereohype.example.sky.nebula.NebulaSkyboxPainter;
|
||||
import codes.ztereohype.example.sky.nebula.Skybox;
|
||||
import com.mojang.realmsclient.util.JsonUtils;
|
||||
import net.fabricmc.api.ModInitializer;
|
||||
import net.minecraft.util.RandomSource;
|
||||
import net.minecraft.world.level.levelgen.synth.PerlinNoise;
|
||||
|
||||
import java.util.stream.IntStream;
|
||||
|
||||
public class ExampleMod implements ModInitializer {
|
||||
public static Skybox nebulaSkybox;
|
||||
public static boolean toggle = true;
|
||||
public static SkyManager skyManager = new SkyManager();
|
||||
|
||||
@Override
|
||||
public void onInitialize() {
|
||||
skyManager.generateSky(123L);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue