/** Takes an NBTTagCompound with 'name' and 'ip' keys, returns a ServerData instance. */
  public static ServerData getServerDataFromNBTCompound(NBTTagCompound par0NBTTagCompound) {
    ServerData var1 =
        new ServerData(par0NBTTagCompound.getString("name"), par0NBTTagCompound.getString("ip"));

    if (par0NBTTagCompound.hasKey("acceptTextures")) {
      var1.setAcceptsTextures(par0NBTTagCompound.getBoolean("acceptTextures"));
    }

    return var1;
  }