Skip to content

Commit 9df5228

Browse files
author
MinimalMio
committed
update project
1 parent bd72766 commit 9df5228

5 files changed

Lines changed: 60 additions & 3 deletions

File tree

.vitepress/config.mjs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,14 @@ export default defineConfig({
2929
items: [
3030
{ text: 'FML 3 环境部署', link: '/developing/fml3env' },
3131
{ text: 'ManyLib 开发文档', link: '/developing/manylib' },
32-
{ text: '锈铁核心开发文档', link: '/developing/rustcore' }
32+
{ text: '锈铁核心开发文档', link: '/developing/rustcore' },
33+
{ text: 'FishModLoader 3 教程', link: '/developing/fml3tutor' }
34+
]
35+
},
36+
{
37+
text: '关于',
38+
items: [
39+
{ text: '关于我们', link: '/about'}
3340
]
3441
}
3542
],
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# 第一章 - 环境配置
2+
3+
::: info
4+
我们假定你已经安装好了 Java 17 和 Intellij IDEA 并且安装了插件 Minecraft Development Kit。
5+
:::
6+
7+
## 第一节 文件准备 Windows 篇
8+
9+
::: info
10+
Linux 用户看下面那节
11+
:::
12+
13+
1. 下载 [fml-loom-0.1.local-repo.zip](https://github.com/XiaoYuOvO/fml-loom/releases/download/0.1/fml-loom-0.1.local-repo.zip) 备用。
14+
2.`C:\Users\用户名` 创建 `.m2` 文件夹并在里面创建 `repository` 文件夹。
15+
3. 将之前下载的 `fml-loom-0.1.local-repo.zip` 解压到你刚刚创建的文件夹。
16+
4. 获取 MITE 核心和资源包备用。(你可能还会需要 FishModLoader 的 jar 文件)
17+
18+
## 第二节 文件准备 Linux 篇
19+
20+
::: info
21+
Windows 用户无视此节
22+
:::
23+
24+
1. 下载 [fml-loom-0.1.local-repo.zip](https://github.com/XiaoYuOvO/fml-loom/releases/download/0.1/fml-loom-0.1.local-repo.zip) 备用。
25+
2.`/home/用户名` 创建 `.m2` 文件夹并在里面创建 `repository` 文件夹。
26+
3. 将之前下载的 `fml-loom-0.1.local-repo.zip` 解压到你刚刚创建的文件夹。
27+
4. 获取 MITE 核心和资源包备用。
28+
29+
## 第三节 创建项目
30+
31+
1. 下载 `https://github.com/MinecraftIsTooEasy/hellofml` 项目。
32+
2. 在项目根目录下运行 `./gradlew genSources` 并等待完成。(Windows 为 `gradlew.bat genSources`)
33+
3. 使用 Intellij IDEA 打开项目并等待完成。
34+
4. 你可能会在创建过程中遇到问题,下面是解决方案:
35+
1. Java版本过低(例如8), 进入设置, 项目结构, 将SDK和语言水平设为17。(你可能还需要设置一下 Gradle 使用的 JDK 版本。)
36+
2. FishModLoader目录不对, 进入构建脚本, 将相关路径改为你在上节准备的.
37+
3. 找不到MITE-1.6.4.jar文件, 根据报错给的目录, 将你在上节准备的文件移动过去.
38+
39+
::: info
40+
教程施工中,请耐心等待哦
41+
:::

src/developing/fml3tutor/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# FishModLoader 3 开发教程 - 目录
2+
3+
- [1. 环境设定](/developing/fml3tutor/01-configure-env)

src/developing/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# 开发文档 - 目录
2+
3+
- [FishModLoader 3.x 环境配置](/developing/fml3env/index)
4+
- [ManyLib 开发文档](/developing/manylib/index)
5+
- [锈铁核心 开发文档](/developing/rustcore/index)
6+
- [FishModLoader 3 教程](/developing/fml3tutor/index)

src/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ hero:
99
actions:
1010
- theme: brand
1111
text: 相关资源
12-
link: /resources
12+
link: /resources/index
1313
- theme: alt
1414
text: 开发文档
15-
link: /developing
15+
link: /developing/index
1616

1717
features:
1818
- title: 什么是 Modded MITE

0 commit comments

Comments
 (0)