BoxLib
Basic client-side library mod that facilitates development of client modifications.
BoxLib is a software library containing shared code used in Boxadactle's client mods. This project is designed to be lightweight and user-friendly, with a focus on providing commonly used tools and utility functions.
Key Features
Among the library's main components:
- Configuration GUI Handler
- Configuration file loader/saver
- Client command system
- Mathematical functions
- Client utilities
- Interface utilities
- Rendering tools
- Game world functions
- Mod logging system
- Google Translate integration
- Rendering layouts
- Keybinding helpers
- Dialog system
- 3D world rendering
Dependencies
BoxLib installation is required for proper functioning of the following mods:
- CoordinatesDisplay starting from version 10.0.0
- DebugKeybind starting from version 8.0.0
- MacroCraft starting from version 4.0.0
If you encounter difficulties finding the appropriate BoxLib version, it is recommended to download the latest available version for your Minecraft edition.
Development Usage
Those wishing to integrate the library into their projects can find it in the developer's repository: https://maven.boxadactle.dev
It's important to note that BoxLib is intended exclusively for client mods and is not suitable for server-side development.
Fabric Setup
build.gradle:
repositories {
maven { url = "https://maven.boxadactle.dev/releases" }
}
dependencies {
[...]
modImplementation("dev.boxadactle.boxlib:Boxlib-fabric:VERSION")
}
Remember to replace VERSION with the current library version
NeoForge Setup
build.gradle
repositories {
maven { url = "https://maven.boxadactle.dev/releases" }
}
dependencies {
[...]
modImplementation("dev.boxadactle.boxlib:Boxlib-neoforge:VERSION")
}
Remember to replace VERSION with the current library version
Architectury Setup
build.gradle
repositories {
maven { url = "https://maven.boxadactle.dev/releases" }
}
dependencies {
[...]
modCompileOnlyApi("dev.boxadactle:Boxlib-common:VERSION")
}
Remember to replace VERSION with the current library version
Forge Setup
build.gradle:
jarJar.enable()
repositories {
maven { url = "https://maven.boxadactle.dev/releases" }
}
dependencies {
[...]
implementation fg.deobf("dev.boxadactle.boxlib:BoxLib-Forge:VERSION")
}
Remember to replace VERSION with the current library version