Skip to main content

Script API

This section covers the Script API, centered on @minecraft/server. It runs from the execution model and module versions through events, entity and world APIs, custom commands, storage, server-only modules, debugging and known limits, based on community research from 2025-10 to 2026-12-03 and the official documentation.

Page map​

PageContents
Script API overview and execution modelModule layout, manifest, TypeScript bundling, initialization order, restricted execution, scheduling, QuickJS runtime
Module versions, beta, and changes by version@minecraft/server version rules, beta dependencies, experiment toggles, changes by release
Events and combatworld/system event subscription rules, renamed events, join, interaction, item and combat events
Entities, items, and custom componentsEntity and Player APIs, custom block and item components, ItemStack and containers
World, blocks, dimensions, and effectsBlock, chunks, ticking areas, structures, custom dimensions, particles, sounds, camera, debug shapes
Custom commandscustomCommandRegistry registration, parameters, permission problems and workarounds
Dynamic properties and data storageDynamic property limits, scoreboards, tags, large-storage patterns
server-ui, server-net, server-admin, GameTestServer forms and DDUI, BDS-only modules, IPC between add-ons, GameTest and Editor
Debugging, performance, toolsContent log, /reload, VS Code debugger, profiler, tool list
Pattern recipes, known limits, open questionsCommon implementation patterns, a table of workarounds by limit, unresolved questions

The in-game measurement records for this section are in Content and rendering claim measurements.

Reading order​

If you are new, read the overview and the module version page first, then go to the API page that matches the feature you want to build (events, entities, world, commands, storage). If you get stuck, look up the symptom in the workaround table on the last page.

Sources
idSourceLicenseCommitAccessed
private-researchPrivate research (-)-2026-11-13
ms-learnMinecraft Creator documentation (Microsoft Learn)CC BY 4.0 (documentation), MIT (code)a9fd1c02026-11-13