Auto Config Updated API

Auto Config Updated API

5M Downloads

Implement TypeProvider for lists

magneticflux- opened this issue ยท 0 comments

commented

Another provider must be registered in DefaultGuiProviders. Right now, it can use the existing Cloth Config lists:

    IntListBuilder startIntList(String var1, List<Integer> var2);

    LongListBuilder startLongList(String var1, List<Long> var2);

    FloatListBuilder startFloatList(String var1, List<Float> var2);

    DoubleListBuilder startDoubleList(String var1, List<Double> var2);

    StringListBuilder startStrList(String var1, List<String> var2);

I hope to add support for object lists in the future.