Anvian's Lib
This library is designed for use in my mods and includes various helpful functions for my projects. Additionally, it introduces telemetry to track how many players are using my mods. If desired, telemetry can be disabled via the configuration file. For more details, visit the Telemetry page.
How to use
Add the following to your gradle.properties:
anvianslib_version=<version>
Add the following to your build.gradle:
repositories {
maven {
name = 'Repsy Anvian'
url = 'https://repo.repsy.io/mvn/anvian/anvians-lib'
}
}
- On Common:
implementation "net.anvian.anvianslib:anvianslib-common-1.21:${anvianslib_version}"
- On Fabric:
modImplementation "net.anvian.anvianslib:anvianslib-fabric-1.21:${anvianslib_version}"
- On Forge:
implementation "net.anvian.anvianslib:anvianslib-forge-1.21:${anvianslib_version}"
- On NeoForge:
implementation "net.anvian.anvianslib:anvianslib-neoforge-1.21:${anvianslib_version}" How to Install Anvian's Lib (Mod)
Anvian's Lib by anvian is verified for Fabric, Forge, Neoforge, Quilt across Minecraft versions 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2 (latest release: 1.5.0, file size: 30 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2) and platform (Fabric, Forge, Neoforge, Quilt).
- Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge, Quilt.
- Move the downloaded Anvian's Lib file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 128 | ||||
| 2mo ago | 64 | ||||
| 2mo ago | 43 | ||||
| 2mo ago | 32 | ||||
| 2mo ago | 26 | ||||
| 2mo ago | 21 | ||||
| 2mo ago | 18 | ||||
| 2mo ago | 16 | ||||
| 2mo ago | 14 | ||||
| 2mo ago | 13 | ||||
| 2mo ago | 12 | ||||
| 2mo ago | 11 | ||||
| 2mo ago | 10 | ||||
| 2mo ago | 9 | ||||
| 2mo ago | 9 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 |
- Added
Config.initialize(String)for platform-resolved configuration directories. - Added documented
RegistryUtilhelpers for registry values, resource keys, and tag keys.
### Fixed
- Configurations now create their directories, use UTF-8, and recover from malformed or null JSON.
- Updated 26.1 resource metadata and removed references to missing mod icons.
- Telemetry now distinguishes successful HTTP responses from non-2xx responses.
- Added
Config.initialize(String)for platform-resolved configuration directories. - Added documented
RegistryUtilhelpers for registry values, resource keys, and tag keys.
### Fixed
- Configurations now create their directories, use UTF-8, and recover from malformed or null JSON.
- Updated 26.1 resource metadata and removed references to missing mod icons.
- Telemetry now distinguishes successful HTTP responses from non-2xx responses.
- Add config directory creation logic in Config.java
- Add config directory creation logic in Config.java
- Add config directory creation logic in Config.java
- Add config directory creation logic in Config.java
- Add config directory creation logic in Config.java
- Add config directory creation logic in Config.java
- Add config directory creation logic in Config.java
- Add config directory creation logic in Config.java
- Add config directory creation logic in Config.java
- Fixing minecraft version range
- Fixing minecraft version range
- Fixing minecraft version range
- Converted TelemetrySender HttpClient to thread-safe static singleton
- Added HTTP request timeout (10 seconds) for telemetry requests
### Added
- Added null parameter validation on public APIs
- Added Javadoc documentation to CommonMod and Services classes
- Added REQUEST_TIMEOUT constant for HTTP requests
### Removed
- Removed deprecated sendTelemetryDataLegacy method
- Removed unused eventBus parameter from NeoForgeMod constructor
- Extracted and removed duplicated directory creation logic
### Improved
- Refactored duplicate directory creation into createDirectoryIfNotExists helper method
- Enhanced code quality and maintainability
- Improved API robustness with input validation
- Added comprehensive inline documentation
- Port to minecraft 26.1