Chunk Pregenerator Mod

Chunk Pregenerator is a mod that allows you to generate a world without actually moving around,
allowing you to take care of worldgen lag and other issues that come with newly created worlds.

Chunk Pregen is a highly optimized World Pregenerator that solves, most of the memory issues/leaks,
is easy to control with a couple commands and also is very efficient at what it is doing.

You can decide how much of your CPU is being used at any given time.
Make a task list of what it should do,
control what information you want at any given moment.
Straight forward UIs/Guis for the features that exist,
Basic World Profiling options that show issues that other profiliers don’t show,
And Retrogen that doesn’t need players and can run anywhere.

Mod can be found here:
https://minecraft.curseforge.com/projects/chunkpregenerator

Version 2.0

  • Fixed: Bug with Optifine that would crash worldload.
  • Fixed: Crashing loop with Hotload dimension autorestart system.
  • Fixed: A couple bugs with 1.7.10 mods. (Took all day)
  • Fixed: A couple typos in the WorldView.
  • Added: A Fail Option with a warning into the Preview when taking a world so it does not get stuck.
  • Fixed: A couple bugs during ports.
  • Added: A new feature that basically runs a pregen command on every new dimension that was loaded with the onDimensionCreation.txt (For ModPack Makers)
  • Fixed The Cacti bug. (Insider)
  • Fixed: Seed Text Field now supports continues buttonpresses. (Holding keys down)
  • Fixed: Changing the size of the texture would crash the previewer.
  • Fixed: Switching dimensions without applying size or starting a uncreated dimension without applying size would throw loads of OpenGLErrors because the texture wasn’t resized properly.
  • Fixed: Structures that can not actually spawn won’t be shown on the Preview
  • Fixed: Gui Scale when reduce scale button is pressed is now reduced properly. (Note if the window is really to small that the scale might be going to small still)
  • Added: Option to Control which dimensions and in which order the dimensions are shown in the Preview UI. And if it should ignore other dimensions too. (Only added for ModPack Makers)
  • Fixed: Changing the seed actually resets the world now if you started pregenerating once
  • Fixed: Tooltips weren’t drawn when the world wasn’t created
  • Fixed: Memory leaks with PostProcessing Only Generation.
  • Removed: Outdated Memory Leak Prevention Systems that was slowing down worldgen speed drastically if reached.
  • Fixed: Server Side Crashes when using certain Pregen UI features.
  • Changed: Reworked all Guis and removed loads of bugs and increased stability drastically (not including the preview gui)
  • Changed: Moved a lot of Gui Code into the Per MC version API. (Less porting work)
  • Added: Sliders have now a Scrollwheel support + when the Ctrl button is pressed it moves by a factor of 10
  • Added: Preview UI now having MultiDimension support
  • Disabled: HighCompression mode because I couldn’t get it to work at all
  • Added: Generation Type added.
  • Fixed: Stopping the Pregeneration yourself will break structure view
  • Finished: Rewrite of the Seed Previewer
  • Added: UI For A couple of commands to simplify things.
  • Fixed: A couple bugs that came up during porting.

Version 1.9.2:

  • Fixed: Auto Restart feature now tells you why its shutting down the game.

Version 1.9.1:
Map View got improved with a HeightMap (Picture), Stability fixes, and also bugfixes.

Version 1.9:
Seed Previewer, some fixes regarding guis, patreon buttons

8 Likes

This Post is definitely not a dummy just to have Speiger able to reply with Updates. Also I tagged this thing properly a while ago. XD

3 Likes

Version 1.9 is now offically released on the Curse page.

5 Likes

Awesome! 1.9 is looking really cool!

3 Likes

Version 1.9.1 is now released.
Changes can be found at the main post.

2 Likes

I got a Bug Report for you Speiger, it is very similar to the one where I caused a Block Update and shit looped around, but this time it is YOU causing a Block Update with Sand and Gravel that is being the issue.

Here is the original Post: https://forum.industrial-craft.net/thread/7156/?postID=215622#post215622

net.minecraft.util.ReportedException: Exception getting block type in world
at net.minecraft.world.WorldServer.func_72955_a(WorldServer.java:568)
at pregenerator.impl.processor.ChunkHelper.cleanUp(ChunkHelper.java:84)
at pregenerator.impl.processor.ChunkProcess.onTickStart(ChunkProcess.java:114)
at pregenerator.impl.processor.ChunkProcessor.onServerTickEvent(ChunkProcessor.java:94)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_65_ChunkProcessor_onServerTickEvent_ServerTickEvent.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
at cpw.mods.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:247)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:590)
at fastcraft.u.a(F:289)
at fastcraft.H.aq(F:36)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:396)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
Caused by: java.lang.ClassCastException: gregapi.block.multitileentity.example.MultiTileEntityChest cannot be cast to net.minecraft.tileentity.TileEntityChest
at net.minecraft.world.gen.feature.WorldGenDungeons.func_76484_a(WorldGenDungeons.java:129)
at net.minecraft.world.gen.ChunkProviderGenerate.func_73153_a(ChunkProviderGenerate.java:418)
at net.minecraft.world.gen.ChunkProviderServer.func_73153_a(ChunkProviderServer.java:279)
at net.minecraft.world.chunk.Chunk.func_76624_a(Chunk.java:1040)
at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:190)
at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:131)
at net.minecraft.world.gen.ChunkProviderServer.func_73158_c(ChunkProviderServer.java:101)
at net.minecraft.world.gen.ChunkProviderServer.func_73154_d(ChunkProviderServer.java:199)
at net.minecraft.world.World.func_72964_e(World.java:419)
at net.minecraft.world.World.func_147439_a(World.java:345)
at net.minecraft.world.World.func_147460_e(World.java:693)
at net.minecraft.world.World.func_147459_d(World.java:648)
at net.minecraft.world.World.func_147444_c(World.java:613)
at net.minecraft.world.World.markAndNotifyBlock(World.java:488)
at net.minecraft.world.World.func_147465_d(World.java:466)
at net.minecraft.world.World.func_147468_f(World.java:573)
at net.minecraft.block.BlockFalling.func_149830_m(BlockFalling.java:61)
at net.minecraft.block.BlockFalling.func_149674_a(BlockFalling.java:40)
at net.minecraft.world.WorldServer.func_72955_a(WorldServer.java:550)
at pregenerator.impl.processor.ChunkHelper.cleanUp(ChunkHelper.java:84)
at pregenerator.impl.processor.ChunkProcess.onTickStart(ChunkProcess.java:114)
at pregenerator.impl.processor.ChunkProcessor.onServerTickEvent(ChunkProcessor.java:94)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_65_ChunkProcessor_onServerTickEvent_ServerTickEvent.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
at cpw.mods.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:247)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:590)

3 Likes

Em yeah we talked about that in irc/discord, lets hope your fix works. I dont want to blame you just in case.

2 Likes

@OvermindDL1 please find whatever setting it takes for Speiger and other people to actually be able to do update Posts on here, he cannot double-post on his own Mods Thread.

1 Like

Thanks and:
Version 1.9.2 is now out the most important update ever in history.

2 Likes

Doesn’t @SuperCoder79 double post his updates without issue?

I can double post my updates but my updates are days apart, so maybe it doesn’t count as a double post?

1 Like

Only because I made him Rank Regular, what I now also did with Speiger after all of this. But I cant just do this for every random person that starts to make addons/mods. These are people I semi-trust with their power.

1 Like

Isn’t Rank Regular achieved like really quickly though? I’m at least that on every Discourse forum I frequent with hardly any regularity… o.O

Checking… Yeah it’s super easy, from their docs:

To get to trust level 3, in the last 100 days…

  • Must have visited at least 50% of days
  • Must have replied to at least 10 different topics
  • Of topics created in the last 100 days, must have viewed 25% (capped at 500)
  • Of posts created in the last 100 days, must have read 25% (capped at 20k)
  • Must have received 20 likes, and given 30 likes.*
  • Must not have received more than 5 spam or offensive flags (with unique posts and unique users for each, confirmed by a moderator)
  • Must not have been suspended

* These likes must be across a minimum number of different users (1/5 the number), across a minimum number of different days (1/4 the number). Likes cannot be from PMs.

It’s Trust Level 4 and higher (which is not admin; moderators and admin are not trust levels, they are explicit levels, it is impossible to ‘acquire’ them via trust) that is hard to achieve, only received by the truly active members

1 Like

Released Version 2.0 With massive new features!!!

3 Likes