zh_cn:tutorial:datagen_setup
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| zh_cn:tutorial:datagen_setup [2024/04/15 03:10] – [手动启用数据生成] 更新,同步en solidblock | zh_cn:tutorial:datagen_setup [2025/03/25 00:42] (current) – [IDE 实现(可选)] removed the section solidblock | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| fabricApi { | fabricApi { | ||
| configureDataGeneration() | configureDataGeneration() | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | 如果你使用的是 1.21.4 以上的版本,请将上述代码的 '' | ||
| + | <code groovy> | ||
| + | fabricApi { | ||
| + | configureDataGeneration() { | ||
| + | client = true | ||
| + | } | ||
| } | } | ||
| </ | </ | ||
| Line 91: | Line 100: | ||
| '' | '' | ||
| - | ==== IDE 实现(可选) ==== | ||
| - | |||
| - | 由于我们不会总是开启终端,因此我们可以在 '' | ||
| - | |||
| - | 首先打开'' | ||
| - | |||
| - | 然后点击 '' | ||
| - | |||
| - | 在 '' | ||
| ====== 添加提供器 ====== | ====== 添加提供器 ====== | ||
zh_cn/tutorial/datagen_setup.1713150602.txt.gz · Last modified: 2024/04/15 03:10 by solidblock