Skip to content

API Reference ​

Complete API index grouped by module. Marked ⭐ are common APIs (core capabilities most plugins will use).

Player & Entity ​

DocumentationDescription
⭐ PlayerPlayer: Properties, location, messages, teleport, permissions, held items
⭐ EntityEntity/Living: Type, location, status, health, speed, target (Player also belongs to entity)
⭐ LocationCoordinates and orientation (parameter/return universal)

World & Blocks ​

DocumentationDescription
⭐ WorldWorld: Time, weather, difficulty, game rules, blocks, entities, explosions
⭐ BlockBlock: Data descriptor (type/state), world operations
⭐ MaterialMaterial-level static judgment (isSolid/isAir/getMaxDurability) + registry query
ChunkChunk snapshot (batch block index, advanced performance tool)

Entity Attachments ​

DocumentationDescription
PotionPotion effects: Add/remove/clear/query
ParticleParticle generation

Items & Data ​

DocumentationDescription
⭐ ItemStackItem pure data descriptor: type/amount/meta
⭐ InventoryUnified container: Player inventory / container blocks / custom Inventory
⭐ PDCPersistent data container: Player/Block instance methods, JSON auto serialization
BossBarBoss bar: Title, progress, color, player binding
ScoreboardScoreboard: Objectives, teams
AdvancementAdvancement: Grant/revoke
RecipeRecipe: Add/remove

Events & Commands ​

DocumentationDescription
⭐ EventEvent subscription: eventWatch / eventOff
⭐ CommandCommand registration + Tab completion

Permissions ​

DocumentationDescription
⭐ PermissionPermission nodes: registerPermission, command permissions, permission check (onPermissionCheck, permission management plugins only) ecosystem hook

Files & Network ​

DocumentationDescription
⭐ FSFile system read/write (including path tools)
AssetsPackaged resources: getAssetsPath (yeow-dev) + read/extract
HTTPUnderlying HTTP client: request / global fetch
HTTP ServerHTTP server (yeow-server createServer)
ServiceInter-plugin/native services: Registration, request, subscription (more advanced, most plugins don't use)

Server & Runtime Environment ​

DocumentationDescription
ServerServer-level: Broadcast, MOTD, version, TPS
EnvRuntime environment info (local read, static snapshot)
WorkerVirtual plugins (independent thread): createWorker (advanced)
UtilData tools: gzip, UTF-8 ↔ bytes

Text & Logging ​

DocumentationDescription
TextText and MiniMessage: Markup syntax, escape rules
LogLogging: log / Logger / console