Host the batch 4 IrisApi: api and host artifacts, ModuleLoadException

- Depend on com.volmit:iris-api and com.volmit:iris-host; the probe
  compiles against the api only.
- PackModuleSet catches ModuleLoadException.
- ObjectPlacerEdit implements set(x, y, z, state) without a PlacedBlock;
  block entities sit in their own map.
- BlockStateHunk implements width(), height(), depth().
This commit is contained in:
piexel committed 2026-10-24 04:19:42 +02:00
1 parent 4bacc306e9
commit 64658013fe
16 files changed
+78 -45

No files matched your search

+5 -3
View File
@@ -22,8 +22,9 @@
* apply from: new File(settingsDir, 'gradle/irisapi-resolution.settings.gradle')
*
* IrisApi is a separate project with no published artifact, so Iris always compiles against a sibling
* checkout as a composite build. Core declares `com.volmit:IrisApi`; this substitutes it with the
* checkout's root project.
* checkout as a composite build. Core declares `com.volmit:iris-api` (what modules see) and
* `com.volmit:iris-host` (what loads and runs them); this substitutes them with the checkout's `api`
* and `host` projects.
*
* Behaviour:
* -PlocalIrisApiDirectory=<path> explicit IrisApi checkout (relative paths resolve against the
@@ -79,6 +80,7 @@ File irisResolveLocalIrisApiDirectory() {
includeBuild(irisResolveLocalIrisApiDirectory()) {
dependencySubstitution {
substitute(module('com.volmit:IrisApi')).using(project(':'))
substitute(module('com.volmit:iris-api')).using(project(':api'))
substitute(module('com.volmit:iris-host')).using(project(':host'))
}
}