ConfigAnytime

Allows Forge configurations to be setup at any point in time. Especially for developers that use Forge's configuration system during coremod/tweaker's loading stage.

Редакция NLZONE · 1 мин чтения · 1 просмотр
ConfigAnytime
Скачать ConfigAnytime1.12.2 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

Allows Forge configurations to be setup at any point in time. Especially for developers that use Forge's configuration system during coremod/tweaker's loading stage.

  • Тип: мод
  • Загрузчик: forge
  • Версии Minecraft: 1.12.2
  • Скачиваний на Modrinth: 297 245

Подробно

Allows Forge configurations to be setup at any point in time. Especially for developers that use Forge's configuration system during coremod/tweaker's loading stage.

- Add CleanroomMC's repository and depend on ConfigAnytime's maven entry: groovy repositories { maven { url 'https://maven.cleanroommc.com' } }

dependencies { implementation 'com.cleanroommc:configanytime:3.0' }

java @Config(modid = "configanytime") public class ConfigClass { public static boolean configBooleanProperty = true; public static int configIntProperty = 42; public static final InnerClass INNERCLASS = new InnerClass(); // Inner access via this member, this is processed automatically by ConfigManager public static class InnerClass { public boolean innerProperty = false; // Must be non-static, referenced via the member field in the outer class } // Static initializers go after the properties! // This will run automatically when you retrieve any properties from this config class static { ConfigAnytime.register(ConfigClass.class); } }

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также