Biome, region and child lists are about to count entries by weight. The pick walks such a list with a noise from 0 to 1 and takes an edge rule, so a module that picks from a pack's lists lands on the entry the host does.
v3: 96beb86e0
continentZoom rescaled the baked style noise instead of zooming its input, so fractures kept their unzoomed size. No pins moved: none use a fractured continent style with continentZoom other than 1.
v3: 98bc84fc5
Zed's JSON server caches schema files until its configuration changes and never reports schema file edits. Schema files are now written through one writer that hands back the text, and a hash of those texts goes into the Zed settings as irisSchemaHash, so regenerated schemas reach the editor.
v3: f31d41a9f
A list that references a snippet file holding a JSON array now takes all of its entries in place, in both the pack Gson and the module settings decoder. A single-value reference to such a file logs an error and loads null in the pack Gson, and is a settings error in the module decoder. Snippet-file schemas accept one entry or a list, and the decorator-snippet validator checks each entry of an array file. No pins or goldens moved.
v3: 8ba8c7b2d
overlayNoise now links generator files with a min and max, like biome generators, so overlays get composites, exponent, cliffs and cells. Heights come from link.getHeight with seed heightSeed + 571093, in the main and upper dimensions; exported packs now include overlay generators. Inline styles are no longer read, and the unused IrisShapedGeneratorStyle is removed.
No pin, golden or digest moved: no test pack uses overlayNoise, and worlds without it generate identically. Worlds with overlay noise change, since the noise now comes from a different seed.
v3: ef77fc5a8
Lets a pack curve the combined composite value of an IrisGenerator before opacity, so the final height can be shaped instead of each layer. Defaults to 1, which leaves existing generators and pinned values untouched.
v3: 1fe588837
The snippet-type adapter fell back to defaults without consuming the broken value, so a list retried the same entry forever. Read the whole JSON value first, then convert it, and name the type, path and exception message in the error.
v3: 4b437207c
The remembered "plant survives on ground" answers went stale when the server or CraftEngine reloaded resources, so they are now cleared on both events. The post-stage foliage removal second-guessed the server rule and deleted foliage that is not a decoration, so it is gone.
Pins: none moved; the only changed test is SurfaceSmoothingTest, which now expects the fern to stay.
v3: af333cc93
A bad save still hotloaded: the loaders return null for unparseable files, so the pack lost those biomes or regions. The new PackHotloadGuard keeps files that fail to parse until they parse, skips the hotload, logs it and sends a failed studio hotload message. Both the Bukkit generator and the modded studio hotload service gate on it, and the callback returns normally so the watcher does not retry.
v3: fe825040a
ZedProjectSettings writes <pack>/.zed/settings.json, a .json file inside the watched pack, so hand edits reloaded the studio engine. Both watchers now share one PackHotloadFolder factory that ignores the folder. The chunk/hotload exclusion is already covered by the engine transition seal.
v3: 28968673a
Expression noise always received three coordinates from CNG, so a 2D sample read z as 0 instead of the 2D form. CNG now passes the dimension count through noiseOf and noiseSignedOf, and ExpressionNoise evaluates 2D samples with the 2-argument expression. Other generators use the defaults and are unchanged, so no pin moved.
v3: a38d7e5d7
Windows otherwise outlive the plugin and keep drawing with threads its shutdown has stopped. GuiHost.closeWindows disposes every managed frame on the Swing thread and waits at most 5 s, in case that thread is itself waiting on the server. The Bukkit plugin runs it with its post-shutdown cleanup and the modded stop sequence runs it before clearing the GUI host.
v3: 6793e34d8
Iris rewrote spigot.yml timeout-time and paper-global.yml early-warning-delay without keeping the old values, so turning the setting off never undid it. The originals are now recorded in server-timeouts.json before the raise and restored on later starts unless the operator has changed the value since. Writes are atomic and go through symbolic links to the real file. The recovery bookkeeping reads server YAML through a small interface that ServerConfigurator implements, so the new class carries no Bukkit coupling.
Upstream: b357eee18
A stale ~/.m2 artifact could shadow the composite VolmLib or published artifacts, and ItemsAdder only resolved through mavenLocal. mavenLocal() is now added only with -PuseMavenLocal=true or when the composite VolmLib is off, and ItemsAdder uses beer.devs:itemsadder-api 4.0.17 from maven.devs.beer.
Upstream: c83d6964f
Ceiling layers borrowed the thickness noise of the surface layer at the same index, so ceiling layers beyond the surface layer count were dropped and the validator rejected such packs. Each ceiling layer now has its own cached noise, seeded as before, every declared layer is generated, and the validator accepts any count.
TerrainLayersPinTest re-baselined (length 143112 -> 147047, hash 149645537 -> 216639495). Only the MEADOW ceiling output changed, in both the plain and the exploded runs; surface, sea and smoothing output of every biome is identical, and the biomes without ceiling layers are untouched:
- MEADOW ceiling, plain: 5724 -> 7400 characters. Its fourth layer (basalt) is now emitted instead of cut off at the three surface layers.
- MEADOW ceiling, exploded: 13788 -> 16047 characters. Same fourth layer, plus the barrier separators around it.
- Layers 0 to 2 of MEADOW's ceiling now take thickness from their own style and zoom instead of the surface layers' (SIMPLEX zoom 0.3 against the default style for layer 0, the default style against CELLULAR zoom 0.25 for layer 1), so their block counts change at most columns, e.g. column -400,-400 went from "clay tuff deepslate calcite" to "clay clay tuff deepslate tuff calcite basalt".
Upstream: 23bad0e1a
ServerTimeoutConfiguration is a new core file that imports org.bukkit, which the purity ratchet rejects. Whether it is allowlisted or moved into the Bukkit adapter is the maintainer's call; this reverts b18cc310d until then.
The NMS adapter compiles against GenerationSessionException, which now carries the API's EngineFailure marker, so it needs the API on its compile path. moddedTest reads sources the NMS convert task rewrites and has to be ordered after it. The lifecycle contract test follows the generateNoise body into generateNoiseChunk.
NativeStructureWorldgenAccess keeps both sides: writes are still recorded for the stale deferred-record check, and they go through the POI reconciler when one is bound.
The loader jar and modded test tasks were always rerun because their input list was incomplete. They now list the api, agent, lombok and resolution files the nested builds read, hash sources by relative path, and pass the local VolmLib checkout through the environment so its absolute path is no longer an input. They still always run when VolmLib resolves from the published snapshot.
Upstream: 0bdacc6fe15826162b7986698c1
Pack authors can drop a datapack ZIP into Iris/datapacks/imports or list a
file: URL in datapackImports; dropped ZIPs apply to every dimension. Local
sources are copied without following symlinks and their bytes feed the
startup validation fingerprint so the cache invalidates when a ZIP changes.
Upstream: 333b766d2
Empty catch (Throwable ignored) blocks in pregen hid failed capability probes, a stranded plugin chunk ticket and failed mantle cleanup. Probes now log their name and cause at debug through PregenDiagnostics, and real losses go through IrisLogging.reportError. The chunk load failure trace is emitted before the metrics snapshot so a failing snapshot cannot silence it.
Upstream: e030ac3be
The modded-common tests only ran when a loader wrapper was built by hand, and the buildSrc tests never ran because Gradle only asks for the buildSrc jar. A root moddedTest task now runs the modded-common suite through the Fabric build and check depends on it; the buildSrc jar depends on the buildSrc tests.
Upstream: 7841efed5
On Paper only the server thread advances chunk tasks, so a stop that blocks on a running pregen can wait forever. Stop now polls the native chunk queue while joining the pregen worker, and pregen skips eviction and flush scheduling once the server is stopping.
Upstream: 083e68986
The compactor streamed through ZipInputStream and ZipOutputStream, so it never checked entry integrity and silently accepted duplicate entries. It now reads with ZipFile, fails the build on a size or CRC mismatch or a duplicate name, and writes a seekable ZIP without data descriptors.
Upstream: c1bcdd0a9
Iris rewrote spigot.yml timeout-time and paper-global.yml early-warning-delay without keeping the old values, so turning the setting off never undid it. The originals are now recorded in server-timeouts.json before the raise and restored on later starts unless the operator has changed the value since. Writes are atomic and go through symbolic links to the real file.
Upstream: b357eee18
Runs whose hooks opt out of sneaking were still halted when the player released sneak, and the run-control check required sneaking regardless.
Upstream: 241260a76
A throw inside chunk generation left the server's chunk futures unsettled, so the async pregen waited on requests that never completed. Generation failures now reach the running job for the same world, which fails every outstanding request with the failing chunk as cause, and close gives up on stragglers after a 60 second drain deadline.
Upstream: 6c7796f12
Iris commands acted on whatever WorldEdit selection a player had when no Iris wand was held. Only Iris wands count now, and the worldEditWandCUI setting is gone. The dedicated /object we command still grabs a WorldEdit selection.
Upstream: c53e9f826
The Spigot terminal console resets SIGQUIT, which stops the Iris agent from attaching. Copy the SIGTERM handler back onto SIGQUIT after SlimJar loads when they differ.
Upstream: 21ab5baf2
An object or structure piece placed at world Y -1, or at any Y that lands below zero, was treated as "sample the height" because every stage tested requestedY < 0. Automatic height is now an explicit flag on the placement run, set by the automatic entry points, and explicit heights of any sign are placed where asked. Automatic placements keep their seeds and heights.
Upstream: 9f0615a97
getIrisVersion returned -1 for releases like 4.3.4 and threw NumberFormatException on non-numeric versions. It now parses the release number and returns -1 when the version is malformed or overflows.
Upstream: 4b44bcb12
The wrapper cache was keyed by string and never evicted, so a registry replacement could return wrappers around the old Biome. It now uses weak native keys with a 4096 entry cap and reads the canonical key once on insertion.
Upstream: cb85a09c0
A disabled Iris stayed reachable through statics and a re-enable in the same JVM answered from the previous boot's caches. Disable now releases the instance, services, capability singletons and host bindings, and reaching Iris afterwards fails with "Iris is disabled" instead of a NullPointerException.
Upstream: 6c6dba023
/iris worlds, /iris info and /iris seed printed the server level seed and a per-session chunk counter. They now read the engine's world seed and persisted chunk total, and each row is labeled by its own dimension id.
Upstream: 0c9ae9ed49a241b85c
A cold dimension loads the pack and binds the engine on its first chunk, so the 10 s deadline failed teleports that would have worked. /iris tp, primary world routing and Iris Vision now share one 120 s deadline, and /iris tp reports a failed teleport, an unloaded dimension, an offline player or a refused teleport separately instead of always claiming the dimension is not loaded.
Upstream: 82fa696112d5af3b61f55fde17d
Hollowing allocated six IrisPosition probes per voxel and mask expansion one per candidate voxel. Both now look membership up in an origin-relative long key set, falling back to position equality for sets too wide to pack.
Upstream: 79af11c43
Native structures overwrite blocks that still have deferred records in the mantle,
so the later materialization pass replayed them onto the structure. Record the
positions each structure placement wrote and drop the records there.
Upstream: ff537f4ab
A custom block record replayed onto a block that was flattened or replaced writes
a ghost block, and a tile record onto a different block fails with a warning.
Resolve each carrier once per chunk pass and skip stale records on Bukkit and modded.
Upstream: dbc9d9537
Iris carried copies of VolmLib's storage hunks, interpolation statics and HunkFace, plus wrappers nothing used. The storage hunks and IrisInterpolation now extend VolmLib's, Hunk uses VolmLib's HunkFace, and the Iris rangeScale stays so interpolation output does not change. The newly shipped VolmLib classes leave the Bukkit jar's left-out list.
Upstream: 355d7f413355161408114cc68a0
Native structure placement skipped POI updates, leaving beds and job sites without records. Dirty sections are now marked while the structure is placed and reconciled on chunk load on the owning thread.
The NMS adapter test classpath gains the mockito-core version core already uses, for the new tests.
Upstream: a28614c04
The modded storage set left out the copper chest variants, so loot was never filled in them and they were skipped by post-load updates.
Upstream: 56178b0e0
One chunk throwing in a level's update pass skipped every chunk after it, and a
retry re-ran the loot of updates that had already been applied. A failed chunk
now stays unetched and is retried on a later pass while the rest of the level
carries on; only a closed engine or mantle ends the pass. Completed updates are
forgotten before a failure propagates so a retry never refills a chest.
Upstream: 5cadd9b8cdd4633ad3
A stack cut short by the height limit stopped on a body block because the top threshold was computed from the unclipped length. Clamp the stack to the room under the ceiling before placing, and treat a single-block stack as the top block.
Upstream: 75353d43c5baea8dd5
The floating object stage widened the mantle window by at least 16 blocks and sampled every column of each chunk even when no floating biome places an object. Reach is now 0 unless a placement list has entries, with 16 as the fallback when the scan fails, and placing returns early when the reach is 0.
Upstream: 875735517
Ambient spawning calls the spawner on the main thread, where a next-tick future
can never complete. Run the below-ground check through the region future, which
runs inline on the owning thread.
Upstream: 0c760d925