public final ResearchMap getParentMap() { if (Skills.mapExists(mapName)) { return Skills.getResearchMap(mapName); } return null; }
static void registerDeserializer(String id, Function<NBTTagCompound, ResearchNode> des) { Skills.log().info("Registering deserializer function with ID " + id); if (deserializers.containsKey(id)) { throw new IllegalArgumentException("Node deserializer " + id + " already exists"); } deserializers.put(id, des); }