229 Commits
Author SHA1 Message Date
KAMKEEL d6d6111803 Merge dev into scribe
Brings in the 1.11.2 version bump and the removal of the shutdown flush that did
not compile. The scribe branch was forked from 8612d444 to avoid that break, so
this is the first point at which it can track dev's tip again.
2026-08-14 00:32:42 -04:00
KAMKEEL 5f49d28f7c Generate CustomNPC+ save data without launching the game
Scribe needs fixtures to test its readers against, and the only fixtures worth
having are ones CustomNPC+ wrote. A hand-authored factions.dat asserts what its
author believed the format to be, so a reader checked against it proves only
that the two agree.

So this drives the shipping data classes' own writeToNBT/writeNBT against a
bootstrapped-but-unlaunched Minecraft. What is copied rather than executed is
only the layout -- which file, under which directory -- because the controllers
reach that through getWorldSaveDirectory(), which returns null with no server,
and every save* fires SyncController into a network stack that is not there.
Each method names the controller it was copied from.

Two obstacles, both worth recording.

Item stacks needed the registry, and populating it goes through Forge:
FMLControlledNamespacedRegistry -> GameData.addPrefix, which asks
Loader.instance() for the active mod's namespace, and constructing a Loader
casts its classloader to LaunchWrapper's. Rather than reimplement the naming
rule, the singleton is filled with an unconstructed Loader so activeModContainer
returns null and addPrefix takes its own "no mod container, assume minecraft"
branch -- the branch real vanilla registration takes anyway. Verified against
minecraft:diamond as it appears in the worlds under run/saves, so the shortcut
is measured rather than assumed.

Second, nothing was reproducible: PlayerMail.writeNBT stamps TimePast from the
wall clock, and a PlayerMail hangs off every dialog and quest whether or not
mail was configured, so all 67 files differed between runs. Pinned to zero,
which is the only key here rewritten after CustomNPC+ produced it, and the count
is printed every run so it cannot spread quietly. Two runs now diff clean.

Branched from 8612d444 rather than dev, because dev's tip does not compile --
1.11.2-beta1 calls PlayerData.flushEffects() and save(boolean), neither of which
exists -- and because that commit is the baseline Scribe pins as specification.

70 files across four worlds: maximal walks every enum and flag, defaults is what
a fresh world gets, edge is legal content readers get wrong, and legacy ages
documents by removing keys to exercise the upgrade path. Dialogs and factions
so far; the remaining systems follow.
2026-08-14 00:10:02 -04:00
KAMKEEL 5403060ee5 1.11.2-beta1 2026-08-13 23:14:01 -04:00
Kam 16f0022505 1.11.1 2026-03-13 17:20:12 -04:00
Kam 19d6ec7e52 1.11 Release 2026-03-11 16:04:56 -04:00
Kam c6eadbd193 1.11 Final Pre-Release 2026-03-11 14:09:43 -04:00
Kam 63ebc409f0 1.11 and 1.2 2026-03-10 19:56:23 -04:00
Kam 74c79e1a5c Add Doc Support for CNPC+ and Extract into Config.JS File for easier Constants Handling 2026-03-10 17:07:20 -04:00
Kam f4fdde4a0b Merge branch 'dev' into syntax-highlighter-unified 2026-03-09 23:56:21 -04:00
Kam 3d1a0b5418 1.11 Pre Release 3 2026-03-09 23:56:12 -04:00
Kam abf5da8b66 Merge branch 'dev' into syntax-highlighter-unified 2026-03-09 17:39:11 -04:00
Kam c423ab43f1 1.11 Pre Release 2 2026-03-09 17:38:59 -04:00
Kam 1efafeef2f Merge branch 'dev' into syntax-highlighter-unified 2026-03-09 16:22:10 -04:00
Kam f3676cd99e Update API 2026-03-09 16:20:18 -04:00
Kam 06dc722aca Merge branch 'dev' into syntax-highlighter-unified 2026-03-08 20:10:51 -04:00
Kam ed176cfaf5 1.11 Pre Release 1 2026-03-08 20:10:45 -04:00
Kam 5b1301aac5 Merge branch 'dev' into syntax-highlighter-unified 2026-03-06 22:04:44 -05:00
Kam e6ad49327a 1.11 Beta 15 2026-03-06 22:04:36 -05:00
Kam 1885308639 Merge branch 'dev' into syntax-highlighter-unified 2026-03-05 04:42:28 -05:00
Kam 211f741a64 1.11 Beta 14 2026-03-05 04:41:56 -05:00
bigguy345 e8b0c6a542 Merge remote-tracking branch 'origin/syntax-highlighter-unified' into syntax-highlighter-unified 2026-03-05 00:32:34 +02:00
Kam c5cd2d7ce1 Merge branch 'dev' into syntax-highlighter-unified 2026-03-04 16:21:29 -05:00
Kam 5a879cd6a5 Beta 13.1 2026-03-04 16:21:22 -05:00
bigguy345 60fc7ec252 Add ECMAScript 5.1 global imports like Math/JSON/Date/Number 2026-03-04 13:21:40 +02:00
Kam 2eecf9c230 Merge branch 'dev' into syntax-highlighter-unified 2026-03-03 23:01:37 -05:00
Kam 2f33abc75c 1.11 Beta 13 2026-03-03 23:01:03 -05:00
Kam 8ed04fb58b Merge branch 'dev' into syntax-highlighter-unified 2026-03-01 21:08:36 -05:00
Kam 2448655fc4 1.11 Beta 12 2026-03-01 21:07:52 -05:00
Kam 3d21a7634c Merge branch 'dev' into syntax-highlighter-unified 2026-02-26 19:29:16 -05:00
Kam 04e6cbe6cf 1.11 Beta 11 2026-02-26 19:29:08 -05:00
bigguy345 f9f1cb760c Merge remote-tracking branch 'origin/syntax-highlighter-unified' into syntax-highlighter-unified 2026-02-25 17:14:12 +02:00
bigguy345 4d08f85419 Enrich .d.ts files with the interface implementation fields, so in scripts calls like event.npc and event.player are now syntax highlighted and type resolved 2026-02-25 16:37:41 +02:00
Kam f07ec0df33 Merge branch 'dev' into syntax-highlighter-unified 2026-02-25 04:33:12 -05:00
Kam 3476f6bd94 1.11 Beta 10 2026-02-25 04:33:00 -05:00
Kam 39025c41b3 Merge branch 'dev' into syntax-highlighter-unified 2026-02-24 19:16:32 -05:00
Kam 01b08f9fbf 1.11 Beta 9.1 2026-02-24 19:16:23 -05:00
Kam 86541779db Merge branch 'dev' into syntax-highlighter-unified 2026-02-24 15:30:28 -05:00
Kam 7c8f18f65e 1.11 Beta 9 2026-02-24 15:28:01 -05:00
Kam 57308e278c Merge branch 'dev' into syntax-highlighter-unified 2026-02-23 18:51:05 -05:00
Kam 8e6436dc69 1.11 Beta 8.1 2026-02-23 18:50:51 -05:00
Kam 20168406b5 Merge branch 'dev' into syntax-highlighter-unified 2026-02-23 17:51:18 -05:00
Kam 1e26cf6cb0 1.11 Beta 8 2026-02-23 17:51:11 -05:00
Kam da2604e3d6 Merge branch 'dev' into syntax-highlighter-unified 2026-02-22 17:16:30 -05:00
Kam 0f00bd6ba3 Why 2026-02-22 17:16:23 -05:00
Kam c0ce53a814 Merge branch 'dev' into syntax-highlighter-unified 2026-02-22 16:46:18 -05:00
Kam 2a3417e31b Beta 7 2026-02-22 16:42:49 -05:00
Kam 79fa879eb6 Merge branch 'dev' into syntax-highlighter-unified 2026-02-21 17:44:01 -05:00
Kam 26da3ae2f9 1.11 Beta 6.1 2026-02-21 17:43:41 -05:00
Kam 520c810476 Merge branch 'dev' into syntax-highlighter-unified 2026-02-21 14:47:33 -05:00
Kam 55370b26a0 1.11 Beta 6 2026-02-21 14:47:26 -05:00