move blockaccess back

pull/12/head
valoeghese 2020-02-27 22:53:28 +13:00
parent b6c411caaf
commit 25c495cae6
4 changed files with 4 additions and 6 deletions

View File

@ -1,4 +1,4 @@
package com.github.halotroop.litecraft.world.block;
package com.github.halotroop.litecraft.world;
import com.github.halotroop.litecraft.types.block.Block;
@ -6,4 +6,4 @@ public interface BlockAccess
{
Block getBlock(int x, int y, int z);
void setBlock(int x, int y, int z, Block block);
}
}

View File

@ -1,7 +1,6 @@
package com.github.halotroop.litecraft.world;
import com.github.halotroop.litecraft.types.block.Block;
import com.github.halotroop.litecraft.world.block.BlockAccess;
import com.github.halotroop.litecraft.world.gen.WorldGenConstants;
final class GenWorld implements BlockAccess, WorldGenConstants

View File

@ -3,13 +3,12 @@ package com.github.halotroop.litecraft.world;
import java.util.Random;
import com.github.halotroop.litecraft.types.block.Block;
import com.github.halotroop.litecraft.world.block.*;
import com.github.halotroop.litecraft.world.block.BlockRenderer;
import com.github.halotroop.litecraft.world.gen.*;
import com.github.hydos.ginger.engine.elements.objects.Player;
import com.github.hydos.ginger.engine.math.vectors.Vector3f;
import com.github.hydos.ginger.engine.obj.ModelLoader;
import com.github.hydos.ginger.engine.render.models.TexturedModel;
import com.github.hydos.ginger.engine.render.renderers.ObjectRenderer;
import it.unimi.dsi.fastutil.longs.*;

View File

@ -2,7 +2,7 @@ package com.github.halotroop.litecraft.world.gen;
import java.util.Random;
import com.github.halotroop.litecraft.world.block.BlockAccess;
import com.github.halotroop.litecraft.world.BlockAccess;
public interface WorldModifier {
void modifyWorld(BlockAccess world, Random rand, int chunkStartX, int chunkStartY, int chunkStartZ);