int cx = (int) Math.floor((float)x/(float)world.getChunkWidth());
int cz = (int) Math.floor((float)z/(float)world.getChunkDepth());
if(chunk == null){
chunk = new Chunk(world, cx, cz);
}
if(world.getBlockAt(x, y, z) == null)chunk.addBlock(this, Coordinates.WorldToChunkCoordinatesX(world, x), y, Coordinates.WorldToChunkCoordinatesZ(world, z));
}
@Override
public List<TexturedVertex> getVertices() {
List<TexturedVertex> vertices = new ArrayList<TexturedVertex>();