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
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
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
Fluid entities were placed above the sea and checked against the block below and for air, so they could not spawn where they live. They now take a Y inside the fluid, are always surface-checked (marker spawns too), and both hosts test the block itself and require the fluid across the entity's volume.
Upstream: e33e6a632
Decorated vines had every face cleared and reattached to sturdy neighbours, so ceiling decorators that stack vines downward made flat sheets instead of curtains. Authored side faces now stay where a sturdy block or the vine above holds them, a sturdy ceiling holds them and adds the up face, and glow lichen is still not held by lichen above.
Upstream: 6d6bd4f05c2eb8b5f4067fffe06
Nothing in production selected the 2D noise kernels, and the vector one measured 0.07x scalar on 2-lane NEON. Remove them with their SimdSupport plumbing, their parity test and the jar check entry, and note in the simd-bench README that they are a candidate Iris does not ship.
Upstream: 45b9ff8e1
Parent lookups built the whole boundary field per column even where no floating child needs edge distances, and the noise biome cache bound was checked on every insert. Parent lookups now read the biome source directly, and the cache bound is checked only at quart y multiples of 64.
Upstream: f2236a8488b5c109d5
A NaN or infinite generator bound or noise value otherwise spreads into height caches and interpolation. Averaging now throws at the first bad sample.
Upstream: 5a5e8a8dc
The carve stage writes only cave_floor markers. The marker skips in the block
drop router, the marker spawn scanner and the modded block break and spawn
handlers, and the modded /iris what markers suggestion, no longer name
cave_ceiling.
/iris what markers' parameter help says "Marker name such as cave_floor". The
key is renamed to match, in the catalog and all 18 message files.
StructureAnchorMode.CAVE_CEILING is a different thing and stays.
DeclaredBounds checks it with @MinNumber and @MaxNumber, so pack load,
validation and every resource decode refuse an option written with fewer items
than it declares, naming the option: decorators[1].palette has 0 items; it must
have at least 1. An option the pack does not write is the module's default and
is not checked.
70 options carried @MinItems(1) but default to an empty list, and packs write
[] for them, such as the cave profile's modules or a decorator's blacklist.
Only the three palettes that default to a block keep it: PaletteSpec.palette,
PaletteLayer.palette and Decorator.palette. The loader enforces @MinItems now.
A reference is snippet/<name>, a file below snippet/<snippet folder>/. A
pack still written as snippet/decorator/bush, in the layout from before the
folder was iris/decorant/decorator, was reported as having no file
snippet/iris/decorant/decorator/decorator/bush.json, which reads like a
doubled path in the lookup. The lookup is right; the message now names the
folder the name is relative to.
- /iris help structure no longer lists the cut place, nor list, info and
verify, which live under /iris module now. The group text names import and
capture.
- /iris help lists the module command.
- Rendering the goto and find sections threw "Unknown message key" because
the unregistered entry's text was never in the catalog. It is now.
- A test checks every documented word of every section against the
Brigadier tree, and that every section renders.
- 4 localisation keys lost their last user and were removed from the
catalog and all 18 files.
Module commands get their own branch, with the alias /iris m. <root> is the
root a module registers through ToolingRegistry.registerCommand, so
/iris module structure list|info|verify replaces /iris structure list.
- Bukkit: the branch word is taken before the Director runs; the Director
first, then dispatcher fallback and the merged completions are gone. The
first word completes "module".
- Modded: the greedy-string tails at the /iris root and inside the
structure literal are gone. The module and m literals take one greedy
string, because the roots belong to the modules of the pack the sender
resolves to when the line runs, so they cannot be Brigadier nodes when the
tree is built.
- /iris module alone lists the mounted roots and their commands; an unknown
root is an error that points to that list.
- Permissions are unchanged: iris.all, and commands opened to everyone.
- /iris structure import and capture stay Director commands.
README is for module authors; the 190 lines about loading packs and
running stages are in HOST.md, linked from README. The host example uses
the packages Iris exposes today and no longer shows the deprecated
describingHostTypesIn. DESIGN records that Sender.extension is a
deliberate platform-tooling door that stays.
Boring an object mutated the shared IrisObject, so what a placement saw
depended on which placement bored it first. IrisObject now keeps one bored
copy, made on the first ask and dropped when its blocks change, so later
asks cost a field read. The bore runs under the read lock without
changing the original.
PlaceableObject was described as immutable and implementable. The host
rejects foreign implementations, and smartBored now returns a copy
instead of changing the shared object. The javadoc and README say so.
The running world's saved state checks each key against the pack
catalog's registered saved keys and refuses an unregistered key or
another key with a registered id. Mantle and saved keys follow the api's
ResourceId ids and StorageCodec.
SavedKey moves to com.volmit.data and Codec becomes StorageCodec, which
ends the clash with JsonForms.Codec. SavedKey.id and MantleKey.id are
ResourceIds, so the copied id regex is gone. Modules register saved keys
in setup with FeatureRegistry.registerSaved, owned like mantle keys, and
RunningWorld.saved rejects a key that is not the registered one.
running() and the structure host were created lazily without
synchronisation, so two first callers got two instances. Two running
worlds mean two SavedWorldStates and one of them is never saved. Both are
now final fields built with the world. A concurrency test reproduces the
split on the old code.
Carves and applies a fixed block of chunks of one seed, every chunk carved
before any is applied, and pins a digest of the planned cavern cells and of the
final blocks. Set IRIS_CARVE_BENCH to time the passes.
CarvedVoids is IrisApi's carved-void layer over the mantle's MatterCavern slice,
which stays the storage form every other reader uses: the liquid byte is the
fill and a custom biome key is a pack biome id. It remembers the slices it
touched last, writes the shared constants and reads an area in order from a flat
grid, so the carver's per-block writes and the apply stage's visit stay cheap.
Placements and edits see it read-only. MatterMantle, OwnChunkMatter and the
loaded-chunk reads behind them are gone.
The carver, its fluid-support and orphan passes, CaveApplying and CarvedSpace
read and write IrisApi's carved-void layer instead of VolmLib matter slices.
Cave floors for the spawners are marked by the carve mantle stage through
PlacementTerrain.mark, from the planned voids; cave ceiling markers, which
nothing read, are gone. CaveApplying reads the 16 blocks around its chunk
through the chunk stage's mantle view, not only the neighbours already in
memory. MatterMantle and the module's Cavern are deleted.
CarvedVoid says what fills a carved block (open, fluid, lava or air) and
optionally the biome it shows; the plain fills are shared constants so a carver
allocates nothing per block. A mantle stage writes the layer, a chunk stage
reads it and its writes throw. Placements and edits see it read-only.
The module now draws the chunk random, density and heightmap from the API, so
IrisLegacyStreams, the ToolWorld extension and the placement form that cached
Iris's noise for them have no reader left.
SavedWorldState reads a value when first asked for and writes it, framed with
the codec version, when the engine saves its data and when the world stops, so a
hotload hands the new world what the old one wrote. A rejected payload is logged
and replaced by the key's initial value. Spawner cooldowns leave IrisEngineData
and the EngineSpawnCooldowns facade; old cooldowns in engine data are not migrated.
The chunk random is seeded from a purpose seed and the chunk, the density from
StyledRange over the API noise factory, and VirtualHeightmap builds the virtual
heightmap from NoiseSampler. LegacyStreams and ObjectPlacement.hostForm, which
only served Iris's placement form, are removed. The chunk random and density
noise now differ from the old streams; heightmaps are unchanged.
SpawnCooldownBook holds when each spawner last fired in the world and in each
chunk and is saved with the world through a SavedKey. The SpawnCooldowns facade,
which only existed because API state was memory only, is gone.
A world's state store is memory only, so Iris offered spawner cooldowns through a
facade to persist them. SavedKey names a value with its codec and initial value;
the host reads it on first ask and writes it when it saves and stops the world.