EaglerForge/NoReflect/PLReflect.java

15 lines
576 B
Java
Raw Normal View History

2024-05-21 06:07:24 -05:00
import net.eaglerforge.api.*;
import java.util.ArrayList;
public class PLReflect {
public static ModData makeModData() {
ModData plReflectGlobal = new ModData();
ArrayList<BaseData> reflectProfiles = new ArrayList<BaseData>();
%classdefs%
BaseData[] reflectProfilesArr = new BaseData[reflectProfiles.size()];
for (int i = 0; i < reflectProfilesArr.length; i++) {
reflectProfilesArr[i] = reflectProfiles.get(i);
}
plReflectGlobal.set("classes", reflectProfilesArr);
return plReflectGlobal;
}
}