mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-26 05:50:39 +00:00
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:
1 parent
1ca943ab51
commit
ecec18509c
16 files changed
+179
-135
No files matched your search
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user