public static Block blockFromId(int id, int x, int y, int z){
        switch(id){
            case 0:
                return new BlockAir(x,y,z);
            case 1:
                return new BlockVoid(x,y,z);
            case 2:
                return new BlockGrass(x,y,z);
            case 3:
                return new BlockStone(x,y,z);
            case 4:
                return new BlockDirt(x,y,z);
            case 5:
                return new BlockLava(x,y,z);
            default:
                return new BlockVoid(x,y,z);
            
        }
        
    }