diff --git a/src/main/java/com/github/halotroop/litecraft/Litecraft.java b/src/main/java/com/github/halotroop/litecraft/Litecraft.java index e62a905..59534cd 100644 --- a/src/main/java/com/github/halotroop/litecraft/Litecraft.java +++ b/src/main/java/com/github/halotroop/litecraft/Litecraft.java @@ -20,8 +20,9 @@ import com.github.hydos.ginger.engine.common.obj.ModelLoader; import com.github.hydos.ginger.engine.opengl.api.*; import com.github.hydos.ginger.engine.opengl.postprocessing.PostProcessing; import com.github.hydos.ginger.engine.opengl.render.MasterRenderer; -import com.github.hydos.ginger.engine.opengl.utils.GLLoader; import com.github.hydos.ginger.engine.opengl.render.models.GLTexturedModel; +import com.github.hydos.ginger.engine.opengl.utils.GLLoader; + import tk.valoeghese.gateways.client.io.*; public class Litecraft extends Game diff --git a/src/main/java/com/github/halotroop/litecraft/world/World.java b/src/main/java/com/github/halotroop/litecraft/world/World.java index b215cba..ae12b48 100644 --- a/src/main/java/com/github/halotroop/litecraft/world/World.java +++ b/src/main/java/com/github/halotroop/litecraft/world/World.java @@ -85,11 +85,10 @@ public class World implements BlockAccess, WorldGenConstants public PlayerEntity spawnPlayer(float x, float y, float z) { - // Player model and stuff - GLTexturedModel dirtModel = ModelLoader.loadGenericCube("block/cubes/soil/dirt.png"); this.playerEntity = new PlayerEntity(dirtModel, new Vector3f(x, y, z), 0, 180f, 0, new Vector3f(0.2f, 0.2f, 0.2f)); this.playerEntity.setVisible(false); + // Generate world around player long time = System.currentTimeMillis(); System.out.println("Generating world!");