MinecraftEditorInternal
¶
文档版本:1.21.60.21
MinecraftEditorInternal
类。script_api.minecraft/server-editor-bindings.minecrafteditorinternal.description
方法¶
fireTelemetryEvent
script_api.minecraft/server-editor-bindings.minecrafteditorinternal.firetelemetryevent.description
player
:Player
- script_api.minecraft/server-editor-bindings.minecrafteditorinternal.firetelemetryevent.player.description
source
:string
- script_api.minecraft/server-editor-bindings.minecrafteditorinternal.firetelemetryevent.source.description
eventName
:string
- script_api.minecraft/server-editor-bindings.minecrafteditorinternal.firetelemetryevent.eventname.description
metadata
:string
- script_api.minecraft/server-editor-bindings.minecrafteditorinternal.firetelemetryevent.metadata.description
getMapColorUnsafe
script_api.minecraft/server-editor-bindings.minecrafteditorinternal.getmapcolorunsafe.description
player
:Player
- script_api.minecraft/server-editor-bindings.minecrafteditorinternal.getmapcolorunsafe.player.description
getPlayerServices
script_api.minecraft/server-editor-bindings.minecrafteditorinternal.getplayerservices.description
registerExtension
script_api.minecraft/server-editor-bindings.minecrafteditorinternal.registerextension.description
registerExtension(extensionName: string, activationFunction: (arg: ExtensionContext) => void, shutdownFunction: (arg: ExtensionContext) => void, options?: ExtensionOptionalParameters): Extension
extensionName
:string
- script_api.minecraft/server-editor-bindings.minecrafteditorinternal.registerextension.extensionname.description
activationFunction
:(ExtensionContext) => void
- script_api.minecraft/server-editor-bindings.minecrafteditorinternal.registerextension.activationfunction.description
shutdownFunction
:(ExtensionContext) => void
- script_api.minecraft/server-editor-bindings.minecrafteditorinternal.registerextension.shutdownfunction.description