Core platform interfaces and abstractions for Lord of the Tales
Defines the fundamental interfaces and data structures used across all framework and mod components. This is the foundation layer that enables platform-agnostic development.
Provides:
- Core entity interfaces (
Entity,Player,NPC) - Location and world abstractions
- Item and inventory interfaces
- Event system definitions
- Plugin lifecycle interfaces
This SDK follows the Accessor Pattern to maintain platform independence:
- Business logic depends only on SDK interfaces
- Platform adapters (e.g.,
02-adapter-hytale) implement these interfaces - No direct Hytale API imports in this module
public interface Entity {
UUID getUniqueId();
String getName();
Location getLocation();
World getWorld();
}public interface Player extends Entity {
void sendMessage(String message);
boolean hasPermission(String permission);
Inventory getInventory();
}Add as a dependency:
<dependency>
<groupId>com.argonathsystems</groupId>
<artifactId>platform-sdk</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>mvn clean installOr from the project root:
just build-allThis module includes comprehensive unit tests:
mvn test- Parent: 01-platform-core
- Runtime: No external dependencies (pure interfaces)
Copyright © 2025 Argonath Systems. All rights reserved.