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.
This commit is contained in:
piexel committed 2026-11-09 23:38:39 +01:00
1 parent 6879af515e
commit 23c93e6e74
52 files changed
+1683 -509

No files matched your search

+3 -2
View File
@@ -1431,8 +1431,9 @@ It exists so the tool lives in a module and runs on every platform: a tool that
the next start; an item's payload survives. A tool that had to do these itself would do them differently on every
platform.
- **Items, menus, sidebars are values.** `ToolItem`, `ToolMenu` and the sidebar lines are plain data the host draws with
its own widgets (VolmLib windows and scoreboards on Bukkit). No colour codes or components cross the api, for the
reason `Sender` has none.
its own widgets (VolmLib windows and scoreboards on Bukkit). Their text is `ToolText`: spans of a named colour
(`TextColor`) and a few styles, so no colour codes or components cross the api, and the host maps the spans onto
whatever its platform draws text with.
- **A platform may not have it.** `ToolWorlds.open` then returns a failed future and `Sender.player()` is empty, so a tool
tells its user instead of failing at class loading. The package is exposed to pack modules, unlike the platform
packages below `com.volmit.tooling`.