
Что это
Simple library/utility to find the Minecraft version in code universally whatever is the Minecraft version.
- Тип: мод
- Загрузчик: fabric
- Версии Minecraft: 1.18 – 1.20.1
- Скачиваний на Modrinth: 1 237
Подробно
What is it? The Minecraft Version Loader is a straightforward library/utility mod designed to offer a consistent API across all Minecraft versions. Its main purpose is to conveniently retrieve the exact version of Minecraft being used.
But why? This mod serves a crucial role in situations where a universal mod is required to function across all Minecraft versions, while also needing to identify the specific version of Minecraft it's running on. This information is essential for determining which code should be loaded for each precise Minecraft version within the mod's codebase.
Important This mod is currently in its early release stage, and it has been tested and confirmed to support Minecraft versions ranging from 1.18 to 1.20.1. While it is possible that the mod may work with other versions, if you encounter any issues, please create a ticket on the GitHub issue page.
How to use it? 1. Retrieve the mod from the Maven Central repository using the following code snippet in your Gradle build script: groovy dependencies { modImplementation "lv.cebbys.mcmods:minecraft-version-loader:${version}" }
2. Import the necessary classes and call the method as shown below: java import lv.cebbys.mcmods.mvl.api.MinecraftVersionLoader; import lv.cebbys.mcmods.mvl.dto.MinecraftVersion;
public void () { MinecraftVersion version = MinecraftVersionLoader.getMinecraftVersion(); // Prepare things with the version how you like - burned, medium, raw }
Как установить
Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.
Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.
Комментарии 0
Комментарии к этому материалу отключены.
Читайте также
SmartEX
SmartEX — Realistic explosion physics and TNT stacking. 05.12.2026
TabListExtension
扩展TAB列表显示功能 Extended TAB list display 05.12.2026
To the Bat Poles!
Sliding down those iron bars 05.12.2026
F1 2026 Boat 32x
This is a F1 2026 Boat Resource Pack by AdamixGaming, Jerpix and NotGatoz 05.12.2026
RoadTrip Create Aeronautics
modpack for building vehicles and mobile bases aroud Create Aeronautics 05.12.2026