跳转至

MinecraftEditorInternal

文档版本:1.21.60.21

MinecraftEditorInternal类。script_api.minecraft/server-editor-bindings.minecrafteditorinternal.description

方法

fireTelemetryEvent

script_api.minecraft/server-editor-bindings.minecrafteditorinternal.firetelemetryevent.description

fireTelemetryEvent(player: Player, source: string, eventName: string, metadata: string): void
getMapColorUnsafe

script_api.minecraft/server-editor-bindings.minecrafteditorinternal.getmapcolorunsafe.description

getMapColorUnsafe(player: Player, coordinate: Vector3): RGBA
getPlayerServices

script_api.minecraft/server-editor-bindings.minecrafteditorinternal.getplayerservices.description

getPlayerServices(player: Player): InternalPlayerServiceContext
registerExtension

script_api.minecraft/server-editor-bindings.minecrafteditorinternal.registerextension.description

registerExtension(extensionName: string, activationFunction: (arg: ExtensionContext) => void, shutdownFunction: (arg: ExtensionContext) => void, options?: ExtensionOptionalParameters): Extension