    001package net.minecraft.client.mco;
    002
    003import argo.jdom.JsonNode;
    004import cpw.mods.fml.relauncher.Side;
    005import cpw.mods.fml.relauncher.SideOnly;
    006import net.minecraft.util.ValueObject;
    007
    008@SideOnly(Side.CLIENT)
    009public class Location extends ValueObject
    010{
    011    public String field_96396_a;
    012    public String field_96395_b;
    013
    014    public static Location func_98167_a(JsonNode par0JsonNode)
    015    {
    016        Location location = new Location();
    017        location.field_96396_a = par0JsonNode.getStringValue(new Object[] {"locationId"});
    018        location.field_96395_b = par0JsonNode.getStringValue(new Object[] {"locationName"});
    019        return location;
    020    }
    021
    022    public static Location func_98168_a(JsonNode par0JsonNode, String par1Str)
    023    {
    024        Location location = new Location();
    025        location.field_96396_a = par0JsonNode.getStringValue(new Object[] {par1Str, "locationId"});
    026        location.field_96395_b = par0JsonNode.getStringValue(new Object[] {par1Str, "locationName"});
    027        return location;
    028    }
    029}