sapdon 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,12 +31,12 @@ npm install -g sapdon
|
|
|
31
31
|
### 创建新项目
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
|
-
sapdon create
|
|
34
|
+
sapdon create hello_sapdon
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
根据提示输入项目信息:
|
|
38
38
|
```text
|
|
39
|
-
✔ Project Name:
|
|
39
|
+
✔ Project Name: hello_sapdon
|
|
40
40
|
✔ Project Description: 我的第一个 Sapdon 模组
|
|
41
41
|
✔ Author Name: YourName
|
|
42
42
|
✔ Project Version: 1.0.0
|
|
@@ -46,7 +46,7 @@ sapdon create my-first-mod
|
|
|
46
46
|
### 项目结构
|
|
47
47
|
|
|
48
48
|
```
|
|
49
|
-
|
|
49
|
+
hello_sapdon/
|
|
50
50
|
├── res/ # 资源文件(纹理/模型/音效)
|
|
51
51
|
├── scripts/ # 游戏脚本
|
|
52
52
|
├── build.config # 构建配置
|
|
@@ -72,7 +72,7 @@ my-first-mod/
|
|
|
72
72
|
|
|
73
73
|
1. 在终端中输入以下命令以构建 `hello_sapdon` 项目:
|
|
74
74
|
```bash
|
|
75
|
-
|
|
75
|
+
sapdon build hello_sapdon
|
|
76
76
|
```
|
|
77
77
|
2. 构建完成后,您将在 `hello_sapdon` 文件夹下看到一个 `dev` 文件夹,其中包含构建好的 Addon 包。
|
|
78
78
|
|
|
@@ -98,8 +98,8 @@ npm update sapdon
|
|
|
98
98
|
{
|
|
99
99
|
"dependencies": [
|
|
100
100
|
{
|
|
101
|
-
"module_name": "@minecraft/server
|
|
102
|
-
"version": "1.
|
|
101
|
+
"module_name": "@minecraft/server",
|
|
102
|
+
"version": "1.8.0"
|
|
103
103
|
}
|
|
104
104
|
]
|
|
105
105
|
}
|