适用于 Minecraft 1.20.1, 1.21.11 的 PandaLib 模组
The Panda Oliver 使用的一个前置库模组
关于:
PandaLib 是一个 Minecraft 库模组,提供各种 API 和实用工具以简化模组开发。
该库使用 Kotlin 编写,部分 API 可能无法被 Java 完全支持。
当前功能:
- 多加载器框架(开发中)
- 配置 API
- 同步 API
- 预设格式:JSON
- 事件/监听器 API
- 延迟注册 API
- 网络 API
- 游戏阶段支持
- 配置阶段支持
- 内嵌库
- 通用序列化器
- 内嵌 Kotlin 库
- Kotlin 标准库
- Reflect
- Coroutines
- Serialization
- IO
- DateTime
未来功能:
计划中 开发中
配置序列化器(TOML、YAML、XML、Properties)多加载器框架
配置菜单 API
Wiki / 文档
支持的版本和模组加载器:
模组加载器 版本
Fabric 1.20 – 1.21.10
NeoForge 1.20.5 – 1.21.10
Forge 支持已终止
开发目标为 1.21.10
开发:
正在寻找特定版本的代码库
- 1.21
- 1.21.10
- 1.21.9
- 1.21.8
- 1.21.7
- 1.21.6
- 1.21.5
- 1.21.4
- 1.21.3
- 1.21.2
- 1.21.1
- 1.21.0
- 1.20
- 1.20.6
- 1.20.5
- 1.20.4
- 1.20.3
- 1.20.2
- 1.20.1
- 1.20.0
Kotlin DSL
repositories { mavenCentral() maven("https://repo.pandasystems.dev/repository/maven-public/") } dependencies { modApi("dev.pandasystems:pandalib-common-<game version>:<version>") // Common api("dev.pandasystems:pandalib-neoforge-<game version>:<version>") // NeoForge modApi("dev.pandasystems:pandalib-fabric-<game version>:<version>") // Fabric // 仅当你希望在 NeoForge 环境中使用内嵌的 Kotlin 库时才需要。 additionalRuntimeClasspath(kotlin("stdlib")) additionalRuntimeClasspath(kotlin("stdlib-jdk8")) additionalRuntimeClasspath(kotlin("stdlib-jdk7")) additionalRuntimeClasspath(kotlin("reflect", version = "2.2.0")) additionalRuntimeClasspath("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2") additionalRuntimeClasspath("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.10.2") additionalRuntimeClasspath("org.jetbrains.kotlinx:kotlinx-serialization-core:1.8.1") additionalRuntimeClasspath("org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.1") additionalRuntimeClasspath("org.jetbrains.kotlinx:kotlinx-serialization-cbor:1.8.1") additionalRuntimeClasspath("org.jetbrains.kotlinx:kotlinx-datetime:0.6.2") additionalRuntimeClasspath("org.jetbrains.kotlinx:kotlinx-io-core:0.7.0") additionalRuntimeClasspath("org.jetbrains.kotlinx:kotlinx-io-bytestring:0.7.0") }
广告:
感谢 Kinetic Hosting 对本项目的支持
通过我的推广链接购买的每一台服务器都将帮助支持我和我的工作。
许可证
本项目采用 GNU LGPLv3 许可证。
如何安装 PandaLib
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.20–1.21.11 on Fabric, Forge or NeoForge automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Fabric, Forge or NeoForge
The loader must match the game version of the mod file, for example Minecraft 1.21.11. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file pandalib-neoforge-1.21.11-0.6.2.jar (7.5 MB) for your game version and loader.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: PandaLib should be in the list.
Minecraft 1.21.11 runs on Java 21: with a different Java version the game may close right after launch.
版本
含依赖项
| Minecraft | 加载器 | 文件 | 日期 | 操作 |
|---|---|---|---|---|
| 1.21.11 | NeoForge | pandalib-neoforge-1.21.11-0.6.2.jar7.5 MB 5 | ||
| 1.21.11 | Fabric | pandalib-fabric-1.21.11-0.6.2.jar7.6 MB 4 | ||
| 1.20 | Fabric | [1.20 Fabric] 1.0.0-ALPHA.2.27.3 MB | ||
| 1.20.2 | NeoForge | [1.20.2 NeoForge] 1.0.0-ALPHA.2.27.4 MB | ||
| 1.20.2 | Forge | [Forge 1.20-1.20.4] v0.5.2844 KB 10 |
常见问题
Which Minecraft versions does PandaLib work on?
There are files for 1.21.11, 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20. The newest is 1.21.11.
Is PandaLib for Forge or Fabric?
There are files for Fabric: 1.20–1.21.11, for Forge: 1.20–1.20.4 and for NeoForge: 1.20.2–1.21.11.
Does PandaLib need other mods?
The author lists no required dependencies: the Fabric, Forge or NeoForge loader is enough.
Which Java does PandaLib need?
Minecraft 1.21.11 runs on Java 21. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.
Where can I download PandaLib safely?
On this page: the file pandalib-neoforge-1.21.11-0.6.2.jar (7.5 MB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: ab87b1e90c48ed532c3e532e9ed4ad7d1eeb56f0.
评价
成为第一个评价 PandaLib 的人

