move blockaccess back
parent
b6c411caaf
commit
25c495cae6
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -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.*;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue