Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
BoxLib

BoxLib

A client-side library mod with tons of features to do all the heavy lifting for all client-side mods.

233.2k
106
Library
Management
Utility

Compatibility

Minecraft: Java Edition

1.21.x
1.20.x
1.19.x
1.18.2
1.17.1
1.16.4–1.16.5
1.16–1.16.1
1.15.2
1.14.4

Platforms

Fabric
Forge
NeoForge
Quilt

Supported environments

Client-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source

Creators

Boxadactle
Boxadactle Member

Details

Licensed MIT
Published 12 months ago
Updated 3 weeks ago
DescriptionChangelogVersions

BoxLib

The most basic client-side library mod.

BoxLib is a library mod containing shared code used in Boxadactle's client mods. It is designed to be lightweight and easy to use, with a focus on providing utilities and tools that are commonly used in client-side mods.

Library

Features

  • Config GUI Handler
  • Config file loader/saver
  • Client Command Handler
  • Math
  • Client Utils
  • Gui Utils
  • Rendering Utils
  • World Utils
  • Mod Logger
  • Mod Constants Handler (name, version, mod id, etc)
  • Google Translation Features
  • Rendering Layouts

Dependents

BoxLib is required by all of the following mods:

  • CoordinatesDisplay v10.0.0 and above
  • DebugKeybind v8.0.0 and above
  • MacroCraft v4.0.0 and above

If you have trouble finding the required version of BoxLib for a specific mod, just download the latest version of BoxLib for the Minecraft version you are using.

Usage

If you would like to use this library, it is published on my maven repository: https://maven.boxadactle.dev

Please DO NOT use BoxLib for server mods, it's been specifically written for Client mods.

Setup with Fabric

build.gradle:

repositories {
    maven { url = "https://maven.boxadactle.dev/" }
}

dependencies {
    [...]

    modImplementation("dev.boxadactle.boxlib:Boxlib-fabric:VERSION")
}

Make sure to replace VERSION with the correct version of each mod

Setup with NeoForge

build.gradle

repositories {
    maven { url = "https://maven.boxadactle.dev/" }
}

dependencies {
    [...]

    modImplementation("dev.boxadactle.boxlib:Boxlib-neoforge:VERSION")
}

Make sure to replace VERSION with the correct version of each mod

Setup with Architectury

build.gradle

repositories {
    maven { url = "https://maven.boxadactle.dev/" }
}

dependencies {
    [...]
    
    modCompileOnlyApi("dev.boxadactle:Boxlib-common:VERSION")
}

Make sure to replace VERSION with the correct version of each mod

Setup with Forge (DEPRECATED)

THE FORGE VERSION OF BOXLIB HAS BEEN DEPRECATED SINCE 1.20.6

build.gradle:

// For Forge, I recommend embedding the mod with the built-in jarJar
jarJar.enable()

repositories {
    maven { url = "https://maven.boxadactle.dev/" }
}

dependencies {
    [...]

    implementation fg.deobf("dev.boxadactle.boxlib:BoxLib-Forge:VERSION")
}

Make sure to replace VERSION with the correct version of each mod

Modrinth is open source.

main@bd61f5d

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.