Create: Singularity 1.13.0
Curse Maven Snippet
What's new
Big builds no longer stop the server. A build, break, undo or redo of 4,096 blocks or more (new config value effortless_building.bigBuildBlocks; 0 turns this off) is carried out a slice per server tick instead of all at once: each tick it uses what is left of the tick, at most effortless_building.bigBuildMsPerTick (30 ms) and at least 2 ms. A 1,000,000-block cube used to stop the server for 9 to 19 seconds to place and 7 to 8.5 seconds to undo, and the game window for one frame of about 2 seconds. Now it is placed in about 13 seconds and undone in about 10, no server tick takes more than about 45 ms meanwhile, the longest frame is about 40 ms with shaders on (Complementary Reimagined) or off, and the action bar shows how far it is. The click itself still holds the server once for about half a second: the building mod reads the 8.5 MB request and checks the whole list before the build starts. Blocks are placed bottom up and broken top down, so sand and gravel don't fall while a build is still going up. Undo and redo stay one step for the whole build, and while a big build runs, your next builds, undos and redos wait their turn and then run in order. Building from ship storage works slice by slice as before. Smaller builds are carried out at once, exactly as before. Tested in a singleplayer game (the self-test, now also with big builds in slices, and a 1,000,000-block cube placed and undone with and without shaders). Not tested: multiplayer, a dedicated server.
This mod has no additional files