跳到正文

Generator

作者:Lprogrammer

A Minecraft chunk generation datapack

收藏

介绍

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

This datapack allows you to generate terrain ahead of time and is compatible with realms. This is useful when lots of players are expected to generate chunks on your server, thus causing lots of lag. This will be especially noticeable on servers with slower hardware. This datapack is a solution to that, by pre-generation the terrain the lag will be experienced now, not when you have other players online.

Datapack installation:
If you get a message saying the pack is not supported in lower versions I have marked it as working in, ignore this as it will still work

  1. Locate the datapack folder for the specific world
  2. Drag the Pregenerator.zip file into the datapack folder
  3. Enable the datapack with /datapack enable “file/Pregenerator.zip”

Mod instalation:

  1. Follow the instructions on how to install your prefered modloader (be it Forge, Fabric, NeoForge or Quilt)
  2. Drag the downloaded .jar file into (on windows) %appdata%\.minecraft\mods
  3. Launch the world and start playing

Pregeneration:

Start by making yourself a generator admin with:

/tag @s add pregenerator_admin

To set the size in blocks in each direction (north, east, west, south) to pre-generate:

/trigger pregen_size set 200

To start the generation you can either click the green text in chat, or type:

/trigger pregen_start

The generation will stop once your desired size is reached. If you for some reason want to end it early, use:

/trigger pregen_stop

To remove the pregenerator info scoreboard, use

/scoreboard objectives setdisplay sidebar

(Not recommended) Generation speed can be sped up from the default of 1 to e.g. 2 with:

/scoreboard players set Temp pregen_speed 2

You will be told in chat once everything is done

Please report any problems on github or on my discord server.

常见问题

Generator 支持哪些 Minecraft 版本?

Generator 支持 Minecraft Java 版 1.14.4–26.3,共 44 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Generator 怎么安装?

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

评论

登录后评论和评分

Lprogrammer 的其他作品

查看全部 →