Chunks3 0.1.0-beta.4 (NeoForge)
Curse Maven Snippet
What's new
The engine follows Earth Platform up to build 87 (9960621f, with build 88's Create fixes), from build 74. Nothing
here changes how a world made with 0.1.0-beta.3 is saved, and client and server still speak cubic-3.
- Vertical view. Opt-in per-dimension vertical view window for stacked or layered worlds. Dimensions that do not set
one behave as before with no overhead.
VerticalViewandVerticalView.Policy, configured on aCubicDimensionviaverticalView(Policy): describes the visible world-Y window and fade margins for near cubes and far terrain as a function of camera height.- Near and far terrain clip hidden heights and smoothly dissolve fragments across the fade zone (fog + screen-space dither for opaque/cutout terrain, smooth alpha fade for translucent terrain and water), evaluated per fragment.
- Far water tracks and culls by its own water-mesh Y bounds across colour and depth passes and clips straddling water to the active vertical view.
- Cave occlusion culling treats cubes outside the fully shown vertical window as open so hidden rock never occludes visible cubes behind it.
- Entities, block entities (using render bounding boxes so tall visuals like beacon beams remain visible when overlapping the window), and particles are render-culled against the active vertical view without affecting simulation.
- Arriving somewhere.
CubicEvents.arriveWhenReadylands a player once the cubes about the spot are in and the structures there are known, so the first lookups there answer right; the cubes stay loaded while the arrival waits, it never lands in a cube not yet loaded (which only looks like air), and it gives up with a message after about six minutes. A player who dies or goes to another dimension first is not moved. It can name its level now, not only the home one. The server thread never makes those cubes, nor the ones for a first join or a respawn. - Chunk loaders.
/forceload, Nether portal tickets and NeoForge chunk-loader mods keep their cubes loaded and ticking with nobody near: a forced chunk about 96 blocks up and down from where/forceloadwas run (/forceload querysays which), kept through restarts, and crops and saplings grow there away from its edges. They share a cap, first come, first served:chunkLoaderCubeLimit(8,192 cubes) in the newconfig/chunks3-server.properties, or-Dchunks3.chunkLoaderCubeLimit. Operators are told when loaders go past it. Weather in a column held that way waits for its height to be known instead of reading the terrain on the server thread. - Structures. YUNG's structures, Aquamirae and others that failed in cubic worlds generate; the Generate
Structures option is honored, and surface structures stay off steep walls. Structure work no longer runs on the
server thread or waits behind another structure's lock, so big ones (ancient cities, trial chambers) no longer
freeze a server. Water, lava and redstone in a new structure flow on first load (the ticks it scheduled are handed
over as
CubeExtras). Deep Dark blocks get their block entities, passengers ride their vehicles, geodes are whole. - Generation. Ores and trees other mods add to biomes generate, under the local floor.
SurfaceGeneratorcan grow regional tree shapes (customTrees,regionalTree), leave coarse dirt out (disableCoarseDirt), knows biome mods' blocks (gen.ModdedBiomes), and keeps cave lava below sea level by default. Tree and biome caches are safe across workers. A failure whose data is missing or pending is never counted against a structure or column. - Saving and loading. Saved cubes are read on reader threads, with their columns' sky tops, so the server thread never reads terrain to take a cube in or to light one. Cubes saved as generated are written from a queue that a save never waits on and the last save finishes; a region read that hangs can't hold up shutdown past 30 seconds without progress, and an interrupted shutdown keeps its edits. Pregeneration (Chunky) fails a column as the server stops rather than counting it done.
- Memory. Near a full heap only a few heavy pieces of work run at once, a collection that leaves less than a
512 MB reserve counts as short, and caches give memory back on a thread of their own.
MemoryPressurekeeps that 512 MiB reserve (an eighth of the heap on heaps over 4 GB), so a 2 to 4 GB heap counts as tight much of the time and runs with the limit on; give a big modpack more heap. - Far terrain. No gap where near cubes meet far terrain looking downhill, and no holes at cave entrances. Without a
shader pack far terrain always draws in its own finer depth (no z-fighting through a spyglass);
FarRenderer.preciseDepthis no longer read. Near cubes sort camera-relative far from the origin. Shader packs with neither Voxy nor Distant Horizons support draw far terrain through their own terrain program (far.terrainPacks, a new switch); Iris looks up a cubic dimension's shaders as the Overworld's unless the pack maps it (-Dchunks3.iris.overworld); Voxy outputs go to the targets a pack names, with legacy texture calls and the lightmap. The depth pre-pass is off on AMD by default. On Fabric, far terrain draws on the OpenGL 3.2 context Fabric and Sodium open. When far terrain can't draw, a chat line says why once. The far cache's log says why it was emptied. - Zooming in. Zooming in no longer makes far terrain hitch. Far columns and stand-ins are read a few milliseconds
a tick (
far.decodeMs), real columns before stand-ins, not a thousand at once. Nothing is dropped, and a real column waiting to be read still counts as asked for. Far mesh uploads need only one a frame (it was eight). Every result taken, thrown-away and empty ones too, stops at the deadline, and uploads stop at a byte limit (far.uploadKb) that grows with the frame time, so one big mesh can't run past the deadline. The deadline and the meshers' queue follow a smoothed frame time, not the last frame, and the queue grows at most 128 a tick. A zoomed view that turns plans at most every few ticks (far.zoomPlanTicks); zooming in still plans at once. While a zoom settles the frame rate target no longer steps the far sharpness down (far.zoomSettleMs, at mostfar.zoomHoldMaxMs), which used to leave the view blurrier for minutes. Turning or flying while zoomed does not hold it. The performance log times far plans, horizons and reads, and counts uploads, their bytes and the biggest one. - Zoom cubes (test, off by default). With
-Dchunks3.zoom.cubes=true, in singleplayer and without a shader pack, a zoomed view draws the ground it looks at in real blocks, about 48 blocks round the aim, rather than far terrain: read-only copies from the game's own server (live, then saved, then generated, never kept or saved), with ores no face shows hidden. Far terrain stays under it and is only left out inside each tile once all its cubes are in, so it never shows a hole; zooming out and back draws them again at once. The debug screen'sZoom patchline says how much is real and how long it took, or why it is off (shader pack, under water, multiplayer). Block entities and entities are left out. For in-game testing before the server side and multiplayer come; flags inFLAGS.md. - Near cubes. Dynamic lights (with Sodium too) update cubic terrain as they move. Create's machines show after a rejoin or reload, and relight, since Flywheel reads cubes from its own threads.
- Mods. Vanilla filled maps draw the cubes, not the empty carrier chunk. Create's arms, pulleys, elevators,
scaffolding and schematics work at any height; Sable ships stay put far from the origin. Axiom on NeoForge through
Sinytra Connector. ProtoManly's Weather, Cold Sweat, Homeostatic and Tough as Nails work with cubic heights, and take
a generator's climate where it gives one (
CubeGenerator.latitude,climate,airTemperature; a Web Mercator world has latitudes by default). Ragdollified, Bloody Bits, Wakes and Immersive Vehicles. - API note for stacked-world mods: end an arrival with
CubicEvents.cancelArrival(player)(or let it land or give up), never by removing it from the queue yourself. The engine now also releases an arrival's hold that has no queued arrival, but only on the next tick of that world. Holds are keyed on a type of the engine's own, so a mod'skeepAroundholder, whatever it is named, is never released by that pass. /cubes statuscounts chunk-ticket holds. Generation failures go to the performance log as near generation.- A list of the engine's developer flags,
FLAGS.md.
Left in Earth Platform, as its own: its map data, forest type map, projections (BTE Dymaxion), sun and seasons by
place, travel, fares, the reached_place advancement, bug reports, and its world settings (forest types, coarse
dirt, regional trees and biome mods for the Earth).
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

