public boolean setBlock(int par1, int par2, int par3, int par4)
    {
        if (par1 >= -30000000 && par3 >= -30000000 && par1 < 30000000 && par3 < 30000000)
        {
            if (par2 < 0)
            {
                return false;
            }
            else if (par2 >= 256)
            {
                return false;
            }
            else
            {
                Chunk var5 = this.getChunkFromChunkCoords(par1 >> 4, par3 >> 4);
                boolean var6 = var5.setBlockID(par1 & 15, par2, par3 & 15, par4);
                Profiler.startSection("checkLight");
                this.updateAllLightTypes(par1, par2, par3);
                Profiler.endSection();
                return var6;
            }
        }
        else
        {
            return false;
        }
    }