Config API

A Config API for Fabric, Forge, NeoForge and Quilt

Редакция NLZONE · 2 мин чтения · 1 просмотр
Config API
Скачать Config API1.20 – 26.3 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

A Config API for Fabric, Forge, NeoForge and Quilt

  • Тип: мод
  • Загрузчик: fabric, forge, neoforge, quilt
  • Версии Minecraft: 1.20 – 26.3
  • Скачиваний на Modrinth: 73 205

Подробно

This is a Config API for Fabric, Forge, NeoForge and Quilt.

It has a Config Screen, which is automatically added, if the specific mod uses this as config system.

This is a "core" mod, specifically designed for multiloader projects. It allows you to create easily new configs, for Client, Common and Server, in the style of Forge's and NeoForge's Config System.

Why you should use this instead of Forge's and NeoForge's Config System? - Automatically adds a fully functional Config Screen - You can use more methods like getComments(), getKey(), getRange(), etc. - It's cross-platform for Fabric, Forge, NeoForge and Quilt

1. Open your build.gradle 2. Add this plugin to your other plugins - plugins { id 'io.github.0ffz.github-packages' version '1.2.+' } 3. Next step is, to add this repository: - repositories { maven githubPackage.invoke("Craftjakob/Config-API") } 4. After that, you can add a dependency and choose one of these implementations for your project. (If you can not use 'modImplementation' use 'compileOnly' and 'runtimeOnly') - dependencies { modImplementation "com.craftjakob:configapi-common:${mcversion}-${configapiversion}" modImplementation "com.craftjakob:configapi-fabric:${mcversion}-${configapiversion}" modImplementation "com.craftjakob:configapi-forge:${mcversion}-${configapiversion}" modImplementation "com.craftjakob:configapi-neoforge:${mcversion}-${configapiversion}" modImplementation "com.craftjakob:configapi-quilt:${mcversion}-${configapiversion}" } 5. Finally, you can reload your build.gradle.

For more information, visit the GitHub page.

--- - Added support for 1.21.2 and 1.21.3 - Removed support of background configs, due to many changes from Minecraft - Changed the parameter order in the registerConfig method - Cleaned-Up code and performance improvements - Reworked the ConfigTracking for increasing efficient - Changed the Position of the Reset All Server Config Button

--- - Fixed a crash, when opening the screen - Added HolderHelper that's a utility class

--- - Added SimpleResourceLocation, because the new system is unnecessary

--- - Updated to 1.21 for Fabric and NeoForge

--- Thanks to xLuPo, ornithoptercat - Removed license from quilt.mod.json, to prevent a crash - Added back the support for NeoForge 1.20.4 - Fixed Fo

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

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

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

Редакция NLZONE

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

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

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

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