From 37218614c6d7f8a903b6532196dfa7d1e94a948f Mon Sep 17 00:00:00 2001 From: nea Date: Tue, 26 Jul 2022 11:42:48 +0200 Subject: legacy tag parsing and transformation --- .../moe/nea/notenoughupdates/NotEnoughUpdates.kt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 common/src/main/kotlin/moe/nea/notenoughupdates/NotEnoughUpdates.kt (limited to 'common/src/main/kotlin/moe/nea/notenoughupdates/NotEnoughUpdates.kt') diff --git a/common/src/main/kotlin/moe/nea/notenoughupdates/NotEnoughUpdates.kt b/common/src/main/kotlin/moe/nea/notenoughupdates/NotEnoughUpdates.kt new file mode 100644 index 0000000..615d25e --- /dev/null +++ b/common/src/main/kotlin/moe/nea/notenoughupdates/NotEnoughUpdates.kt @@ -0,0 +1,23 @@ +package moe.nea.notenoughupdates + +import dev.architectury.registry.registries.Registries +import io.github.moulberry.repo.NEURepository +import java.nio.file.Path + +object NotEnoughUpdates { + val REGISTRIES by lazy { Registries.get(MOD_ID) } + + + const val MOD_ID = "notenoughupdates" + + val neuRepo = NEURepository.of(Path.of("NotEnoughUpdates-REPO")).also { + it.reload() + } + + + + + fun init() { + + } +} -- cgit