Minecraft Version Loader
No reviews yet
Simple library/utility to find the Minecraft version in code universally whatever is the Minecraft version.
Provides a framework or library for other mods to use.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
Minecraft Version Loader
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?
- Retrieve the mod from the Maven Central repository using the following code snippet in your Gradle build script:
dependencies {
modImplementation "lv.cebbys.mcmods:minecraft-version-loader:${version}"
}
- Import the necessary classes and call the method as shown below:
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
}
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers