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}" All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 | ||||
| 13h ago | 1 |
- 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
- 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
- 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
- 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
- Fixing minecraft version range
- Fixing minecraft version range
- Fixing minecraft version range
- Fixing minecraft version range
- Fixing minecraft version range
- Fixing minecraft version range
- 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
- Refactor Config class to improve reusability and maintainability
- Refactor Config class to improve reusability and maintainability