Commit Graph
5 Commits
Author SHA1 Message Date
Algent a56f90caa3 test: characterize converter lifecycle 2026-09-05 18:02:10 +02:00
Algent e0886ff6af feat: expose registered part factory lookup 2026-09-05 13:42:51 +02:00
Algent 2a5298077f test: characterize registered factory lookup 2026-09-05 13:34:35 +02:00
Algent 49ed6fd751 fix: restore Schematica registry reflection compatibility 2026-08-27 14:02:47 +03:00
Algent ff380ee3bc test: characterize MultiPartRegistry
Splits the characterization across both layers, because part registration
needs FML's active mod container and throws without one, so it cannot run
headless at all.

Plain JVM covers what is reachable: converters are dispatched per block,
a converter returning null does not stop the scan, converters registered
for another block are never consulted, a converter claiming several blocks
is registered for each, and an unknown mod container throws rather than
returning null.

The Forge server suite covers registration itself, and deliberately
exercises both overloads downstream depends on. Content registers through
the deprecated IPartFactory array form that seven jars use, and each
microblock class registers through the IPartFactory2 varargs form that
ProjRed uses, so resolving mc_torch and mcr_face proves both paths. Part
ids also round trip through the shared IDWriter carrier.

78 plain-JVM tests and 5 server tests, all passing against the untouched
Scala.
2026-08-15 10:31:59 +02:00