Add platform adapter contract

This commit is contained in:
George
2026-06-07 14:04:27 +01:00
parent 482e981c36
commit 7045df9a21
@@ -0,0 +1,25 @@
package com.livingworld.platform;
import java.nio.file.Path;
/**
* Loader boundary used by the Living World bootstrap.
*/
public interface PlatformAdapter {
String getPlatformName();
String getMinecraftVersion();
String getLoaderVersion();
boolean isDedicatedServer();
Path getWorldSaveDirectory();
void registerCommands();
void registerServerTickHook();
void registerPlayerEventHooks();
}