static final HashMap<String, UUID> map = new HashMap<String, UUID>();
public static void to() {
NBTTagCompound nbt = new NBTTagCompound();
for (Map.Entry<String, UUID> entry : map.entrySet()) {
nbt.setString(entry.getKey(), entry.getValue().toString());
}
//send(nbt)
}
public static void from() {
map.clear();
NBTTagCompound nbt = /*onMessage get NBTTagCompound*/
for (Object key : nbt.func_150296_c()) {
if (key instanceof String)
map.put((String)key, UUID.fromString(nbt.getString((String)key)));
}
}