Git Product home page Git Product logo

pregenforge's Introduction

TerraForged

TerraForged is a world-gen mod for Minecraft (Java). This branch is being actively developed for 1.18, is very stripped back, and may be unstable.

pregenforge's People

Contributors

dags- avatar won-ton avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pregenforge's Issues

PreGen Forge not generating with the correct radius North and West of the center

Hello,

I'm generating a TF world for Vanilla use. I'll go through my steps in detail.

Install the latest version of Forge as of today (31.1.63)
Install the latest version of TerraForged and PreGenForge (0.0.13 and 0.1.0 respectively)
Start a singleplayer world in creative and select world gen type as TerraForged (no settings were changed, just default TF settings).

I set the world spawn to the center (/setworldspawn 0 63 0)
Then I run the pregenerator with /pregen start 0 0 62 minecraft:overworld to generate a radius of about 1000 blocks around spawn.
Run /pregen notify to show me when it's done.
When it's done, I close singleplayer and open up the saves folder and copy the contents of New World and paste it into a fresh Paper server hosted locally. The only plugin installed on the server is Dynamic Map to visualise the issue.

I then render a flat map for Dynamic Map, wait for it to finish, and this comes up https://imgur.com/qhZzCH2
The spawn on the dynamic map shows the point which is 0, 0 but it's 500 blocks from spawn to the edge of the dynmap on the North and West sides but East and South show 1000 blocks from spawn to the edge.

I've also verified that at the edge of the North and West borders 500 blocks from spawn, the generation doesn't continue https://imgur.com/Tu2qGJF.

Here are the logs which I got when generating in PregenForge https://pastebin.com/ZP0hEE6W

Pause and resume broken

2021-02-15_23 21 09

Pausing a pregen then resuming the generation does not work . On resume anything that had started and paused is abandoned

Halts when at max memory capacity.

I'm pregenerating 625 chunk radius world on a server with 16GB of RAM allocated solely due to the memory consumption of the process.

I have to manually pause the process and restart the server every time it hits the memory cap since it doesn't seem to dump any of it during the process. When it does hit cap it goes from rendering 30-60 chunks per second to <0 per second.

This becomes a huge inconvenience when I tried to get it done overnight and woke up the next morning and seeing that it got nearly nothing done and has halted.

PreGen Autostart Delay

Hey there,

Loving the Pregen; I have two quick questions.

Is there a way to configure an autostart delay?

My server crashed while pregen was running (i think i attempted a pregen too big) and now everytime I start up the server pregen starts up rightaway thus crashing my server again.

This pretty much means I'm in an endless loop without having a chance to run /pregen cancel or pause since it starts backup as soon as the server is ready.

Having an autostart delay would allow us to send pregen a command to cancel or pause the in progress job.

This next question is a bit off topic but if I run pregen on an area that's already been loaded does it skip it?

I'm pregening in sections (radius of about 3-5 at a time) but I don't really know how to keep track of the sections that i've already done aside from actually keeping track of notes.

Does the mod have any sort of logic that skips a chunk that's already been loaded? or does it regenerate it again?

Center argument does not work

When I try to do a pregen around a certain area, my x z coordinates get ignored and the world spawn location is used instead.

Showing the hidden stack trace from CommandUtils.getCenter gave me the following message:
IllegalArgumentException: Argument 'center' is defined as LocationInput, not class net.minecraft.util.math.Vec2f

Using Vec2Argument.getVec2f(context, "center"); works properly.

CPU utilisation is poor

Not sure if this is a forge issue or a mod issue, but whenever I run a pregeneration on my world for a radius of 2516 chunks it barely uses 15% of my CPU (see screenshots below). In addition to this the console keeps getting spammed with "Can't keep up! Is the server overloaded?" messages. I've given the server 10GB of RAM to use, and I have a Ryzen 3800x. The only mods I have installed on the server are the TerraForged and PreGenForge mods.

https://i.imgur.com/yO0Uiai.png

https://i.imgur.com/5Fyc77n.png

You can see from the second screenshot that activity on some threads is effectively 0%, whereas on the threads that are actually being somewhat utilised they barely get above 40%.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.