use of com.builtbroken.mc.core.registry.implement.ILoadComplete in project Engine by VoltzEngine-Project.
the class JsonContentLoader method loadComplete.
@Override
public void loadComplete() {
debug.start("Phase: Load-Complete");
final List<String> sortingProcessorList = getSortedProcessorList();
for (String proccessorKey : sortingProcessorList) {
if (generatedObjects.get(proccessorKey) != null && !generatedObjects.get(proccessorKey).isEmpty()) {
for (IJsonGenObject obj : generatedObjects.get(proccessorKey)) {
if (obj instanceof ILoadComplete) {
((ILoadComplete) obj).onLoadCompleted();
}
}
}
}
debug.log("Clearing data");
clear();
debug.end("Done...");
}
Aggregations