Package kr.toxicity.model.api.platform


package kr.toxicity.model.api.platform
Defines platform-neutral wrappers for server, entity, item, and world types.

Platform contracts allow the API and core logic to describe locations, worlds, entities, players, item stacks, namespaces, transforms, and billboards without accepting Bukkit, Fabric, or other runtime classes directly.

Example:

PlatformEntity entity = adapter.entity(nativeEntity);
PlatformLocation location = entity.location();
Since:
3.2.0
  • Class
    Description
    Adapts platform-specific objects and operations to the BetterModel API.
    Defines the billboard constraints for a display entity.
    Represents an entity in the underlying platform.
    Represents an item stack in the underlying platform.
    Defines the display context for an item model.
    Represents a living entity in the underlying platform.
    Represents a location in the underlying platform.
    Represents a namespaced key (e.g., "minecraft:apple").
    Represents an offline player in the underlying platform.
    Represents a player in the underlying platform.
    Represents an object that holds a region context (e.g., an entity or location) for task scheduling.
    Represents a world in the underlying platform (Bukkit, Fabric, etc.).