A cave value is a plain number, {min, max} that a smooth noise picks
from, or {min, max, style} where the pack's style picks. The noise's low
end gives min and its high end max. A plain number keeps the constant
path, and the carver checks for constants so they cost no more than
before. Each varying value has its own seed, named after its key, so
writing a range leaves every other field of the cave where it was.
The form covers fade, surfaceClearance and both ends of depth on the
cave; width, height, the coverage share and verticalWarp on tunnels;
size, height, coverage and roughness on caverns; spacing, thickness,
flare and vertical on pillars. Three constants become keys with
defaults that carve what they did: ceilingFade (8 blocks),
verticalWarp (0.5) and the coverage softness (0.3, an edge of 0.15).
Roughness (0.3) replaces the fixed wall detail. Tunnel coverage also
takes a plain number as the share.
Sizes do not stretch the noise, which sheared rooms into air pockets
and floating rock. A size or height that varies blends a field built at
min with one built at max, so each varying size doubles the fields read.
With size, height or roughness varying the coverage share is
approximate: a size range carves about 14% more than its ends average.
JsonForms codecs get Parts, which read a part of a form as the host
reads that type anywhere else. A cave value's style can then name a
pack's expression. A cave value is not a number to the host's bounds
check, so a validator reports values outside their key's range.
natureplanet's four cave files carve block for block what they carved
before, and the first pass's five pinned caves still match.
The Caves view no longer edits cave files. It shows each cave at the
chosen size and variant, and redraws when a file is saved. The form,
creating caves from the studio and EditableSceneView.showsNodes() are
gone.
The Caves view drops its node graph. Each cave file is one form beside
the scene, with a section for the cave, its tunnel, its cavern and the
pillars. A section the file lacks says "(unset)" and typing a value
writes it. EditableSceneView.showsNodes() lets a view ask for this.
Scenes can now be built at a size the studio picks. SceneView.sizes()
lists them, and scene() and parts() take a SceneRequest with the key,
variant and size. Caves offer 64 to 512 blocks across. The preview sends
only the carved blocks on the outside of the space, so 512 stays light.
The 3D world gets a Caves toggle. It generates the chunks of a 128, 256
or 512 square around the middle of the view and draws every air block
under the terrain top, coloured by height band, with a legend.
The carve module registers a scene view that lists every file of the
pack's caves/ folder and draws each one carved over 128 by 128 blocks
under a flat surface at Y 96, with the seed generation uses. Carved
space is drawn as blocks, tunnels light blue and caverns orange, so the
shape of the cave shows instead of the rock around it. Four variants
show the same cave in four places. Each file opens as Cave, Tunnel,
Cavern and Pillars nodes, and new caves can be created from the view.
BlockParts copied its map with Map.copyOf, whose open addressing takes
quadratic time on the colliding hash codes of a dense block grid; one
cave scene took 538 seconds. It now copies into a HashMap.
A studio that connected after the bridge's first poll got no world
event of its own, took the first hotload for its starting state and did
not redraw. Each joining studio is now sent the world state on its own.
Structures start from their origin chunk's biome, cave biome, region or
dimension, then reach into neighbouring biomes. Dust on a structure piece
now names that owner, found from the structure plan, so it works on chunks
generated before this change too. Chest markers that structures record
carry the owner as well, and a placement can now be owned by the dimension.
An object reaches past the chunk whose centre biome placed it, so dust on a
block near a biome edge named the neighbouring biome. Placements now record
their owning biome or region, and dust shows it as "Placed from biome: ...".
Chunks generated before this change carry no owner and show no such line.
Decorators get their own pattern view from the decorant module: each
biome's decorators from above, placed where their own noise allows.
The Palettes and Decorators views list the pack's snippet files in a
Snippets group, with the biomes that use each one, and mark entries
read from a snippet. PackResources gains snippetOf and snippets so a
module can tell where a settings value came from.
The 3D world draws what stands on the ground, such as grass and
flowers, as the block's own model. A plugin block that is solid on the
server but shown to players as a plant no longer counts as ground.
Jigsaw pieces record a placement marker only on storage blocks, so the
dust called every other piece block "decoration/object/stilt". Where no
marker exists, the dust now asks the modules: ObjectsAt.placementAt is
a new default API method, and the structure module answers it by
assembling the starts within structure reach again and returning the
piece whose box holds the block. A lone surface piece takes its height
from the terrain when placed, so only its column has to match.
The Bukkit and modded dust both print "Placed by: structure '<key>'
piece '<object>'", translated in every bundled locale.
Iris no longer loads a bundled iris-builtins.jar with every pack. It carries the jar only to copy into new packs (/iris std create), so a pack and a world's copy of it keep the module versions they were made with. Built-in modules report Iris's version instead of "built-in", and /iris std modules lists every module with version, id and jar and takes the pack positionally.
Structure placement and jigsaw now live in the built-in modules jar, on top of the port's weighted picking, studio tooling
and procedural object work.
api/CONTRACTS.md keeps both sides' rows: the weighted entries and the studio bake and scene creation types from the port,
and VanillaStructureContext.world, Argument.reading, PlatformStructures, tool worlds and the services lookup from the
structure move.
PackModuleResourceKindTest installs the built-in modules jar into its castle pack, as the structure move requires, and
writes the dimension and region lists as weighted entries, as the port requires.
StructurePlacing takes the structure move's version. Its int sentinel for a sampled height is replaced by an explicit
sampledHeight flag that calls ObjectRun.automatic, and explicit pieces pass their world Y minus the world's minimum, so an
explicit world Y below zero stays a height (e3dd61c17).
StructureOutputPinTest.everyScenarioPlacesThePinnedStructures is re-baselined for the underground scenario's writes hash
only (9176f55f60410c117cdd9d5e to 1025f82c04539d4881a0e92b): pieces at world Y -1 are now placed there instead of on the
surface. The start count, the piece hash and every other scenario are unchanged.
A view's entries can now be created from a starter tree in a chosen folder and deleted from the browser. Deleting lists the pack files that still name the entry, then moves it to the desktop trash, or the pack's .iris/trash where there is none. An EditableSceneView opts in with SceneCreation; the host does the writing.
v3: d6e6fc3ef
Authors could not tell which part of a procedural object placed a block. A click on a block in the Procedural view now finds its part and chooses the node that draws it; choosing a node lights up its blocks and draws everything else faintly. SceneView gains hasParts and parts (BlockParts), served as scene-parts, aligned with the scene's blocks. No pins moved: the trace bakes with its own builder and generation is untouched, ProceduralObjectsGoldenTest digests are unchanged.
v3: ff0190384
Rarity gave every list entry a share of 1 / rarity and children rounded slots; a weight on the list entry says what a pack author means. Dimension regions, region biome lists, biome children and carving children are now entries with a weight (1 to 1000), picked along the list in the order written, region and biome lists giving the edge to the earlier entry and children to the later. A biome keeps itself among its children only where it lists itself. PackBiome and PackRegion carry the weighted lists, and the carving module picks with the API's Weighted.pick. Rarity is gone from biomes and regions, and the three fixture packs are rewritten to the entry format.
No pin or golden moved: the changed generator seed only touches biomes of rarity other than 1, and no pinned world reads one. The fixture packs now have weights where their regions had rarities: pack-before-the-port forests 15, magnetics 1; pack-before-loot-and-spawn hot 10, terralost 6, mushroom 2, swamp 15, the rest 1.
v3: 0fbce6ba2 a598b4323 96beb86e0
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
Authors could not see what a procedural object costs generation. The Procedural view now bakes the chosen entry five times in the background, keeps the median run, and rates it Light, Moderate or Heavy against a server tick, with each stage's time in the tooltip. SceneView gains isBaked and timeBake (one run, a BakeRun); the studio asks five times so a newer choice stops the rest. No pins moved: generation bakes with BakeProfile.NONE and nothing in packs changed.
v3: 9e30508e3 7d240ddf8
iris:structure places and locates structures and owns the structure commands; iris:jigsaw owns the model, the
assembler, the importers, the studio and the jigsaw commands. Both load from the jar, and the studio now lives with
its tool world: it is created by the first jigsaw command and closes with the world. The host's structure host,
model module, assemblies seam and studio host are gone. A datapack's structures are imported through the new
DatapackStructureImport service.
Structure placement, its locator, the cave anchor resolver and the native start planner now take the pack world and its
running world, and StructurePlacing writes through the mantle stage context and the placement graph. Terrain carving
draws its noise from the pack's noise factory. The api gains clearBlock/clearAttached on PlacementTerrain,
RunningWorld.carvedAt and VanillaStructureContext.world; modules get the host's seed purposes through their world view.
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
Placement code caught Throwable and logged it, so a closed session, a stopping executor or an OOM inside a placement left a half-built chunk that was then persisted. A classifier in the api separates those failures from content failures: the first are rethrown, the second are skipped with one rate-limited warning per kind, subject and failure type.
Upstream: 54f3595baebe4aa1e47b38f7584f4f7e92a48cf9e01d9
Add PlatformStructures, the capability the structure importers read the platform through: templates, registered
structures and structure sets, jigsaw structures, template pools with their connectors, and a closable capture area.
The Bukkit host implements it in the plugin and takes over all reflection, the structure manager and the NMS calls; the
importers keep only their model-building logic and report through the api sender. CommandContext.platformStructures()
reaches it, ToolPlayer.targetBlock() lets a command read what the player looks at.
CommandJigsaw, JigsawStudioBridge, IrisStructureHandler, the Director import and capture of CommandStructure and the
modded stubs that explained the Bukkit workflow are replaced by the neutral jigsaw command tree in
core/structure/tooling, mounted by StructureModelModule. Import and capture are now jigsaw sub-commands.
The graph editor, the vanilla exporter and StructureIndexService speak api types: IrisObject hands out its contents as
BlockState and BlockEntityData, exports go below ToolPack.outputFolder(), and the index writes through ToolPack.edit.
The move lint is at 0 for the B2 set.
Styled text crosses the tool api as ToolText, so menus, items, sidebar and chat show
the colours they showed before. give reports a full inventory, containers and machines
mark their bay dirty again through containerChanged, teleports and portals reach the
studio when they happen, a chunk is loaded when the platform says so, the open tool
world is the open studio project to every command that asks, materialization compares
whole block states, a block that cannot be turned stays distinct from air, and a piston
is checked and marked by the same blocks as before.
ToolWorldListener gets closeRefusal() and closing(by) so a tool world that holds the
studio slot can keep its owner's work safe. MenuClick tells a middle click from a
left or right one.
PackWorld, ValidationContext and ToolPack answer services(type) with the pack's providers.
com.volmit.tooling.world lets a tool open a painter-backed world and drive its players,
menus, items and block changes; ToolPack.worlds() and Sender.player() reach it. The Bukkit
adapter implements it over the studio world creation with a painter slot keyed by world,
one protection listener, VolmLib menus, persistent-data items and BoardSVC sidebars. Other
platforms answer that tool worlds are not supported yet.
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.
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.
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.
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.
A module registers a root Command through ToolingRegistry.registerCommand: typed
Arguments (word, text, integer, decimal, flag, choice, resource, registered),
sub-commands, and a CommandAction that runs against a CommandContext with a
ToolPack, a Sender and the platform's registries. ToolPack.edit is the one way to
change pack files; ObjectCodec reads and writes the host's object format.
The host catalogues the root commands and fails a pack load when two modules
claim one root name or alias, naming both.
ValidationContext.platform() hands a validator the ids the running
server registers, keyed by the same Reference a @Ref option names, so
a module checks that a structure, structure set or template pool exists
without reaching into the host. Empty when the host validates without a
platform.
PackWorld.seed(purpose) is a default method, WorldRandom.purposeSeed of
the world seed, for every host and purpose: the exception that let a
host answer its own built-ins with older seeds is gone. An unknown style
name or a missing expression now fails like a missing image map, instead
of sampling flat or falling back to the base style.
@Ref had two attributes of which exactly one had to be given, checked
only at pack load. One annotation per concept makes a wrong
combination a compile error; giving both still fails the load.
The open (type, attributes) shape promised markers the host refused at
runtime. PackMarker, TreeMaterial and BuriedTreasure make an unkept
marker a compile error and remove the shared id strings.
The varargs over a generic Class made every caller compile with an
unchecked generic array warning. One type per call matches
registerResourceKind and registerValidator.
The highest block of a column is highest(x, z, ignoreFluid) wherever it is
asked, and a sapling's surroundings read a block with get like every other
block view. The registry's property change is withPropertyIfAccepted, as it
checks the block and keeps a content plugin's block, unlike
BlockState.withProperty. BlockView no longer links the removed
PlacementContext.blocks().
JsonText only reads now; splicing text is the host's, as the studio makes
every write. JsonPath steps are a sealed Key or Index. Absent values are
empty instead of -1 or blank: GraphNode.part, BlockPattern.pickAt and the
entries' group. GraphNode's child list, movability and additions are one
Edits record.
README and DESIGN describe the tooling package, CONTRACTS maps it, and the
docs no longer name the types the last batch removed.
The object generator registration (registerObject, ObjectGenerator,
ObjectGeneratorFactory, ObjectGenerationContext, FeatureRole): the host
catalogued generators but never called one. PlacementContext.objects()
with ObjectTransformer and ObjectTransform, PlacementContext.blocks()
(placementTerrain() answers the same), BlockPalette,
EntitySpec.extensions and Reference.BIOME go too.
JsonText parses a pack file and splices it while keeping its formatting
(v3e's JsonSource). EditableSceneView tells the studio which file an
entry is written in and reads that file as a NodeGraph: nodes at JSON
paths with their part id, roles, settings types and what can be added.