跳到正文

ArcLib

作者:squi2rel

This lib adds a lot of utilities to Minecraft.

收藏

介绍

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

ArcLib

Arc UI, rendering, and scripting support for Minecraft mods.

ArcLib brings the Arc framework to Minecraft, giving mods a shared foundation for interactive interfaces, 2D graphics, and JavaScript scripting.

If a mod you use requires ArcLib, install the matching version alongside it. ArcLib initializes automatically and provides the runtime that dependent mods need.

What it provides

  • UI components: Buttons, dialogs, text fields, scrollable panels, layouts, and animations for custom mod interfaces.
  • Minecraft integration: Connects Arc interfaces to Minecraft’s rendering, fonts, mouse, and keyboard input.
  • JavaScript support: Includes a Rhino-based scripting environment for mods that use JavaScript to build tools or extend their functionality.
  • Shared utilities: Collections, math, file handling, serialization, and lifecycle events for mods built on Arc.
  • Dedicated server support: Provides a runtime for server-side logic without requiring a graphical environment.

The features you interact with in-game are provided by the mods that use ArcLib.

Supported versions

Minecraft Mod loaders Required Java
1.20.1 Fabric, Forge 17 or newer
1.21.1 Fabric, NeoForge 21 or newer
1.21.11 Fabric, NeoForge 21 or newer
26.2 Fabric, NeoForge 25 or newer

Installation

  1. Install a supported mod loader for your Minecraft version.
  2. Make sure your instance uses the Java version listed above.
  3. Download the ArcLib .jar matching both your Minecraft version and mod loader.
  4. Place the file in your instance’s mods folder alongside the mod that requires it.
  5. On Fabric, install Fabric API for your Minecraft version and use Fabric Loader 0.19.5 or newer.
  6. Launch the game or dedicated server.

Install one ArcLib build per instance. For example, a Minecraft 1.21.1 Fabric instance uses arclib-1.21.1-fabric-<version>.jar.

Frequently asked questions

Do I need ArcLib on the client, server, or both?

ArcLib supports clients and dedicated servers. Install it wherever the mod that depends on it requires it. A client-only mod may only need ArcLib on the client; follow that mod’s installation instructions.

Do I need to download Rhino separately?

No. ArcLib includes its Rhino JavaScript runtime.

Why don’t I see a new menu or new items after installing it?

ArcLib is a library that works in the background. Its UI and scripting features become available through mods that use them.

Links and credits

Maintained by squi2rel. Licensed under Apache-2.0.

常见问题

ArcLib 支持哪些 Minecraft 版本?

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

ArcLib 怎么安装?

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

评论

登录后评论和评分

squi2rel 的其他作品

查看全部 →