Skip to content

适用于 Minecraft 1.12.2 的 Default World Generator (port) 模组

为客户端和服务器更改默认世界生成器!

次浏览
21 次浏览
已更新
已更新 18.10.2026
  • 1.12 — 1.12.2

关于 Default World Generator (port) 模组

首先:这个项目最初是将 fireball1725 的 1.7.10 模组 Default World Generator 移植到 1.8.9。目的是帮助我自己和其他人在整合包中使用或创建替代“世界类型”的项目。

从版本 1.12-2.3 开始:

许可协议:

我是在 MIT 许可下获得此模组的,因此也以相同的许可重新分发它。

这意味着它可以自由地用于任何整合包。但是,如果你将此帖翻译成其他语言,请尽量链接回此帖。

使用方法:

注意此页面包含 v2.0 及以上版本(运行于 mc1.12+)的说明

有关如何使用旧版本的信息,请参阅:

  • MC 1.9.、1.10. 和 1.11.:请参阅这些说明!
  • MC 1.8.9:请参阅:请参阅原始文本配置说明!

在 v2.0+ 中,所有选项只能在 Minecraft 客户端内使用。

  • 加载 Minecraft 标题界面
  • 点击 Mods
  • 选择 Default World Generator
  • 点击 configure

此时你将进入编辑器 gui。

提示:

  • 如果你只想要一个默认值,并且不弹出列表来选择世界类型,那么所有内容都必须不被列出,在这种情况下,第一个元素被视为主要元素,并将用于设置用户的世界类型默认值
  • 如果未留空,种子现在会与生成器/世界类型锁定。这允许数据包中预制的区块数据。
  • 世界名称是默认新世界名称的一部分
  • 使用一组列出的配置时,自定义图标的 png 文件放入 config/defaultworldgenerator-port/.png(放入后你可以按图标按钮来切换它们)
  • init 命令只是命令(如 "say Hello World"),每次加载单人世界或启动服务器世界时都会运行。这些可用于运行 mcfunctions,或设置 gamerules,并且每个预设可以不同。(一个非常有用的做法可能是运行 "gamerule gameLoopFunction <packname:presetname>",以便为你的整合包每 tick 启动一个后台函数)
  • “datapacks”代表所列目录及其子目录中的任何文件。所列目录必须位于 config/defaultworldgenerator-port/<name> 中。因此,如果你想更改 common 数据包中的 endermite 战利品表,你需要包含文件 config/defaultworldgenerator-port/common/data/loottables/minecraft/entities/endermite.json

与之前的版本不同,当整合包更新时,这些文件集将自动同步到存档文件。

一系列涵盖更高级配置概念和想法的视频即将发布。

新内容(更新日志):

虽然这最初只是一个简单的移植,但随着时间的推移,该模组有了许多新增、调整,甚至为 1.12 进行了大修。以下是按时间倒序排列的更改:

  • [截至 v1.12-2.3]:与 Pack Mode 集成。设置一个预设以使用你通过 CraftTweaker/Pack Mode 配置的特定模式。然后该预设会强制执行此模式,从而自动通知用户需要重启,并在加载世界时设置该模式。
  • [截至 v1.12-2.0]:初始命令,一组可以在每次服务器启动(或加载单人游戏)时运行的命令,可以设置难度、gamerules 和 mcfunctions
  • [截至 v1.12-2.0]:每个世界可以支持一个或多个“数据包”文件集,这些现在也移到了 config/defaultworldgenerator-port/ 中(例如 config/defaultworldgenerator-port/common/data/loottables/minecraft/entities/endermite.json 对应 1.11. endermite 战利品表示例)
  • [截至 v1.12-2.0]:当世界类型被锁定时,种子现在也被锁定(这允许“数据包”功能将现有世界注入新游戏,因为种子必须匹配以避免出现断层。
  • [截至 v1.12-2.0]:在结构按钮上添加了强制或禁用它的切换
  • [截至 v1.12-2.0]:专用服务器现在会询问你想使用哪个预设(如果有多个处于活动状态),否则强制使用该预设(而不是在没有 server.properties 时仅预先默认它。
  • [截至 v1.12-2.0]:允许多个预设,并让用户在世界启动前选择
  • [截至 v1.12-2.0]:将配置更改为二进制配置(现在必须在客户端中配置)
  • [截至 v1.11.2-1.0]:默认世界数据:如果你的整合包根目录中有一个名为 DefaultWorldData 的目录,该目录中的文件将被复制到新的游戏存档中(或者在你添加此目录后第一次加载世界时)这允许你将 loottables 和结构注入新世界,从而覆盖 mc/模组默认值。(例如 DefaultWorldData/data/loottables/minecraft/entities/endermite.json 将覆盖 endermite loottable)
  • [截至 v1.11.2-1.0]:奖励箱可以默认启用(并可选锁定),可以在 gui 配置或配置文件中设置
  • [截至 v1.9.4-0.4]:客户端 GUI 中用于高级配置(从标题界面进入 -> Mods -> Default World Generator -> config)这里所有设置都可以在 Minecraft 客户端内设置,此外世界生成器从有效条目列表中选择,自定义使用相关的自定义 gui)所有设置都可以从 gui 编辑,因此你不需要手动编辑配置,只需在完成后将其复制到你的整合包中。
  • [截至 v1.9.4-0.4]:能够设置推荐种子,注意如果用户手动设置,即使世界类型被锁定也可以覆盖它,但是当选择新世界时默认会使用它,并且在创建服务器实例时默认也会使用它。
  • 超级平坦配置已被移除,改为简单地使用 "S:CustomizationJson=",如果你使用“customized”世界生成器,这是 json,但在“customized”和“flat”中实际上都是“preset”字符串。希望这能适用于大多数世界类型自定义。
  • 修复了我在 1.7.10 中注意到的一个小故障,如果你将默认值更改为自定义值,比如 superflat。你无法配置它,现在默认值完全可被用户覆盖,除非它被配置为锁定。
  • 服务器支持。此版本的模组不再是仅客户端,并且不会在服务器上崩溃,此外它会尝试使用配置的预设启动服务器,因此你不需要在每次配置新实例时记住设置 level-type。

如何安装 Default World Generator (port)

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the mod for Minecraft 1.12–1.12.2 automatically.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. Download the file for your version

    In the version list above, pick the file DefaultWorldGenerator-port-1.12-2.3.jar (191 KB) for your game version.

  2. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.

  3. Launch the loader profile

    Open “Mods” in the main menu: Default World Generator (port) should be in the list.

Minecraft 1.12.2 runs on Java 8: with a different Java version the game may close right after launch.

版本

含依赖项

Minecraft加载器文件日期操作
1.12.1—DefaultWorldGenerator-port-1.12-2.3.jar191 KB
1.12.1—DefaultWorldGenerator-port-1.12-2.2.jar186 KB
1.12—DefaultWorldGenerator-port-1.12-2.1.jar185 KB

常见问题

Which Minecraft versions does Default World Generator (port) work on?

There are files for 1.12.2, 1.12.1, 1.12. The newest is 1.12.2.

Which Java does Default World Generator (port) need?

Minecraft 1.12.2 runs on Java 8. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.

Where can I download Default World Generator (port) safely?

On this page: the file DefaultWorldGenerator-port-1.12-2.3.jar (191 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: d3f19e09346849b71a447b5e6253f9b2cd110756.

评价

成为第一个评价 Default World Generator (port) 的人

评论 0

登录后即可评论登录

相似模组

全部模组

了解更多