跳到正文

LiveWorldgen

作者:Scimiguy

In-Dev tool for quickly modifying worldgen settings for visually experimentation

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

What is LiveWorldgen?

LiveWorldgen is a dev tool specifically to only be used in development environments for people who are working on worldgen content such as features, custom noise settings, carvers, etc. and don’t want to have to restart the game or reload in order to see how the settings affect the world.

This allows you to leverage your IDE’s hot-reload functionality to instantly change the way things are being generated, and continue testing ingame without any further delay

How does it work?

Simply make a new class that extends LiveWorldgenAccess, instantiate it somewhere it will be accessed (at the top of your mod’s constructor is an easy spot), then the mod will ask your instance to provide any values you want to override in realtime.
This allows you to provide new values on the fly, and see how they interact with the world.

Then whenever you make a change to any of the returning methods, reload changes in your IDE and it’ll take effect immediately

Make sure you remove the class before building your mod, so that it doesn’t go to production

常见问题

LiveWorldgen 支持哪些 Minecraft 版本?

LiveWorldgen 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric / Forge。下载时注意选择和你游戏版本一致的文件。

LiveWorldgen 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Scimiguy 的其他作品

查看全部 →