@minecraft/server
¶
文档版本:1.21.0.24
@minecraft/server
模块的1.1.0
版本,UUID为b26a4d4c-afdf-4690-88f8-931846312678
。该模块是服务端的基础模块。
依赖
该模块依赖于以下模块:
@minecraft/common
|1.0.0
|77ec12b4-1b2b-4c98-8d34-d1cd63f849d5
对象¶
system
system
:System
- script_api.minecraft/server.system.description
world
world
:World
- script_api.minecraft/server.world.description
类¶
类 | 描述 |
---|---|
Block | |
BlockPermutation | |
CommandResult | |
Dimension | |
Entity | |
MinecraftDimensionTypes | |
Player | |
System | |
World |
接口¶
接口 | 描述 |
---|---|
EntityFilter | |
EntityQueryOptions | |
EntityQueryScoreOptions | |
RawMessage | |
RawMessageScore | |
Vector3 |
枚举¶
枚举 | 描述 |
---|---|
GameMode |
错误¶
错误 | 描述 |
---|---|
LocationInUnloadedChunkError | |
LocationOutOfWorldBoundariesError |