Commit Graph
7 Commits
Author SHA1 Message Date
piexel 2889274291 Merge feat/structure-jigsaw-modules into port/v3-features
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.
2026-11-10 14:33:49 +01:00
piexel 3c03bba7e7 Create and delete procedural objects from the studio's entry list
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
2026-11-10 13:42:30 +01:00
piexel cf07610a0c Document the tool world, import and service api the structure move added 2026-11-10 06:33:24 +01:00
piexel ae11b38093 Move the jigsaw commands and the structure importers onto the tooling api
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.
2026-11-10 00:27:03 +01:00
piexel 23c93e6e74 Restore the Jigsaw Studio behaviour the port had dropped
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.
2026-11-09 23:38:39 +01:00
piexel 3691611c6c Give tools a platform-neutral world api and let modules ask each other's services
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.
2026-11-08 15:30:39 +01:00
piexel 925c942764 Merge IrisApi into api/ with its history
git-subtree-dir: api
git-subtree-mainline: cff15f93c5
git-subtree-split: dac8baa3ab
2026-11-06 16:52:54 +01:00