跳到正文

BoxLib

作者:Boxadactle

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

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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
  • Google Translation Features
  • Rendering Layouts
  • Keybinding helpers
  • Prompt system
  • 3D world rendering

Dependents

BoxLib is required by all of the following mods:

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/releases" }
}

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/releases" }
}

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/releases" }
}

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

_Make sure to replace VERSION with the correct version of each mod_

Setup with Forge

build.gradle:

jarJar.enable()

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

dependencies {
    [...]

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

_Make sure to replace VERSION with the correct version of each mod_

常见问题

BoxLib 支持哪些 Minecraft 版本?

BoxLib 支持 Minecraft Java 版 1.14.4–26.2,共 36 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

BoxLib 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

Boxadactle 的其他作品

查看全部 →