|
@@ -4,6 +4,7 @@ import lombok.AccessLevel;
|
|
|
import lombok.Getter;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import me.lortseam.completeconfig.data.ColorEntry;
|
|
|
+import me.lortseam.completeconfig.data.Config;
|
|
|
import me.lortseam.completeconfig.util.TypeUtils;
|
|
|
import net.fabricmc.loader.api.FabricLoader;
|
|
|
import net.fabricmc.loader.api.ModContainer;
|
|
@@ -55,6 +56,9 @@ public final class ModController {
|
|
|
/**
|
|
|
* Registers custom type serializers, applied to all following mod configs.
|
|
|
*
|
|
|
+ * <p>To register type serializers for a specific config only, use
|
|
|
+ * {@link Config.Builder#registerTypeSerializers(TypeSerializerCollection)}.
|
|
|
+ *
|
|
|
* @param typeSerializers the type serializers
|
|
|
*/
|
|
|
public void registerTypeSerializers(TypeSerializerCollection typeSerializers) {
|