首页与许可

MinecraftForge 开发文档

这是 Minecraft 模组开发 API MinecraftForge 的官方文档中文译本。文档针对 Forge 1.21.x,介绍 Forge 开发概念;它不是 Java 教程,读者应具备 Java 基础。

Forge 1.21.x 文档的读者前提、内容范围,以及英文原文、中文译本与 MIT 许可的关系

原创说明图,依据 Forge 1.21.x 官方文档 绘制。

原文:MinecraftForge Documentation;源码:MinecraftForge/Documentation,1.21.x 分支。本译本基于该分支的提交 ac05e12,由英文翻译而来;如有差异,以原文为准。

译本状态

本译本覆盖官方导航中可访问的 1.21.x 文档。官方导航中的模型扩展简介链接无法访问,对应源文件也不存在。标签列表按七个分类拆分,并保留原文的 Forge 52.0.20 数据时间点。代码示例尚未逐一在 Forge 1.21.x 工程中编译,使用时请核对目标版本的 API。

原文许可

原文采用 MIT 许可。以下保留原始版权及许可声明:

The MIT License (MIT)

Copyright (c) 2015 

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

原始许可文件