Package kr.toxicity.model.api.bukkit.platform
package kr.toxicity.model.api.bukkit.platform
Provides Bukkit implementations of platform-neutral API wrappers.
Types in this package adapt Bukkit worlds, locations, entities, players, item stacks, and the platform adapter itself to the shared BetterModel platform contracts. This keeps Bukkit-specific runtime access in the Bukkit API module instead of leaking Bukkit classes into the generic API contracts.
Example:
BukkitAdapter adapter = ...;
BukkitEntity entity = adapter.entity(bukkitEntity);
- Since:
- 3.2.0
-
ClassDescriptionProvides an adapter for converting Bukkit objects to BetterModel platform objects.Represents a Bukkit entity wrapped as a
PlatformEntity.Represents a Bukkit item stack wrapped as aPlatformItemStack.Represents a Bukkit living entity wrapped as aPlatformLivingEntity.Represents a Bukkit location wrapped as aPlatformLocation.Represents a Bukkit offline player wrapped as aPlatformOfflinePlayer.Represents a Bukkit player wrapped as aPlatformPlayer.Represents a Bukkit world wrapped as aPlatformWorld.