Honor bound platform

- Route shared runtime hooks through the active Iris platform instead of classpath presence.
- Keep Bukkit-specific mantle and Matter behavior behind explicit platform capabilities.
- Cover hybrid classpaths and bound hook precedence with regression tests.
This commit is contained in:
Brian Neumann-Fopiano
2026-08-28 16:29:53 -04:00
parent 1ca943ab51
commit ecec18509c
16 changed files with 179 additions and 135 deletions
@@ -66,6 +66,14 @@ public interface IrisPlatform {
*/
PlatformBiomeWriter biomeWriter();
default Class<?> classifyMantleValue(Object value) {
return value.getClass();
}
default boolean supportsMatterWorldIo() {
return false;
}
/**
* Root folder Iris owns for packs, settings and generated data. Created if missing. Never null.
*/