2.X.X - GeheimagentNr1/WorldPreGenerator GitHub Wiki

This Mod can pre generate the Minecraft dimensions per command.
The Mod is only needed on the server side, but can also be used on the client side.

Hints

The pre generation tasks are executed one after the other.
The pre generations is continued after restarts.
Chunks already generated are skipped on pre-generation.
If you run parallel pre generation, you should set "max-tick-time" in the "server.properties"-file to -1 to prevent crashes, because the tick time gets to long.
If you run parallel pre generation and get exception spams in the server log, you should restart the pre generation with a lower parallelization.

Server Config

The config file can be found in the "serverconfig" folder in the "world" folder and is named "world_pre_generator-server.toml".

  • send_feedback
    Shall a pregeneration feedback send to all online players?
  • delays
    Delays of the print and save tasks
    • print
      Time between 2 status prints
    • save
      Time between 2 saving events
  • parallel
    Parameters for the parallel generation of several chunks
    • enabled
      Should the chunks be generated in parallel?
    • count
      How many chunk generation shall run in parallel?
      If the value is "0", the number of processor cores is used.

Commands

  • /pregen list
    Lists all running pre generation tasks.

  • /pregen start <center> <radius> <dimension>
    Creates a pre generation task with the specified centre, radius and dimension.
    The centre is the position of a chunk.
    To generate for example a 4000x4000 Blocks Area with the centre in the middle of the overworld the command is:
    /pregen start 0 0 125 minecraft:overworld

  • /pregen resume <dimension>
    Resumes the pre generation task of the dimension.

  • /pregen pause <dimension>
    Pauses the pre generation task of the dimension.

  • /pregen cancel <dimension>
    Cancels the pre generation task of the dimension.

  • /pregen clear
    Cancels all pre generation tasks.

  • /pregen sendFeedback
    Shows, if the progression feedback is enabled or disabled.

  • /pregen sendFeedback <isFeedbackEnabled>
    Enables or disables progression feedback depending on isFeedbackEnabled. Generation start and finish feedback are not affected of that.

Progression State

The progress state computed is in chunks.
You get the following information in the generation messages: "A B/C (D%) E chunks/s"

  • Dimension (A)
  • Chunk generated (B)
  • Total chunks to generate (C)
  • Percentage of chunks for which generation is finished (D)
  • Rate of Chunks per second generated between this and the last message (E)

The mod is only available for version 1.14.4 and subsequent versions and is not expected to be back ported.
Thanks for the logo to Muse31.
You can use this mod in non-commercial modpacks without asking.
You can find more mods from me here.