跳转至

@minecraft/server-editor-bindings

文档版本:1.21.60.21

@minecraft/server-editor-bindings模块的0.1.0-beta版本,UUID为8518d9c7-a1f5-4bf3-acc7-78e87df595fc。该模块是script_api.minecraft/server-editor-bindings.description

依赖

该模块依赖于以下模块:

  • @minecraft/common|1.0.0|77ec12b4-1b2b-4c98-8d34-d1cd63f849d5
  • @minecraft/server|1.18.0-beta|b26a4d4c-afdf-4690-88f8-931846312678

对象

editor
static read-only editor: MinecraftEditor;
editorInternal
static read-only editorInternal: MinecraftEditorInternal;

描述
BlockPalette
BlockPaletteManager
BlockUtilities
BrushShapeManager
ClipboardChangeAfterEvent
ClipboardChangeAfterEventSignal
ClipboardItem
ClipboardManager
CurrentThemeChangeAfterEvent
CurrentThemeChangeAfterEventSignal
CurrentThemeColorChangeAfterEvent
CurrentThemeColorChangeAfterEventSignal
Cursor
CursorPropertiesChangeAfterEvent
CursorPropertyChangeAfterEventSignal
DataStore
DataStoreActionBarContainer
DataStoreActionContainer
DataStoreAfterEvents
DataStoreMenuContainer
DataStoreModalToolActivationChangedEvent
DataStoreModalToolActivationChangedEventSignal
DataStoreModalToolContainer
DataStorePayloadAfterEvent
DataStorePayloadAfterEventSignal
DataTransferManager
DataTransferRequestResponse
EditorStructureManager
ExportManager
Extension
ExtensionContext
ExtensionContextAfterEvents
GraphicsSettings
IBlockPaletteItem
InputService
InternalPlayerServiceContext
Logger
MinecraftEditor
MinecraftEditorInternal
ModeChangeAfterEvent
ModeChangeAfterEventSignal
PlaytestManager
PrimarySelectionChangeAfterEventSignal
PrimarySelectionChangedEvent
ProbabilityBlockPaletteItem
Selection
SelectionEventAfterEvent
SelectionManager
SettingsManager
SettingsUIElement
SimpleBlockPaletteItem
SimulationState
SpeedSettings
ThemeSettings
TickingAreaManager
TransactionManager
UserDefinedTransactionHandlerId
Widget
WidgetComponentBase
WidgetComponentClipboard
WidgetComponentEntity
WidgetComponentGizmo
WidgetComponentGuide
WidgetComponentRenderPrimitive
WidgetComponentRenderPrimitiveTypeAxialSphere
WidgetComponentRenderPrimitiveTypeBase
WidgetComponentRenderPrimitiveTypeBox
WidgetComponentRenderPrimitiveTypeDisc
WidgetComponentRenderPrimitiveTypeLine
WidgetComponentSpline
WidgetComponentStateChangeEventData
WidgetComponentText
WidgetGroup
WidgetManager
WidgetMouseButtonEventData
WidgetStateChangeEventData

接口

接口 描述
BlockMaskList
BrushShape
ClipboardWriteOptions
CursorProperties
CursorRay
DataTransferCollectionNameData
EditorStructure
EditorStructureSearchOptions
ExtensionOptionalParameters
GameOptions
InputBindingInfo
LogProperties
ProjectExportOptions
SettingsUIElementOptions
WeightedBlock
WidgetComponentBaseOptions
WidgetComponentClipboardOptions
WidgetComponentEntityOptions
WidgetComponentGizmoOptions
WidgetComponentGuideOptions
WidgetComponentRenderPrimitiveOptions
WidgetComponentSplineOptions
WidgetComponentTextOptions
WidgetCreateOptions
WidgetGroupCreateOptions

枚举

枚举 描述
Axis
BlockMaskListType
BlockPaletteItemType
BrushShapeType
CursorControlMode
CursorTargetMode
DaylightCycle
EditorMode
EntityOperationType
ExportResult
GamePublishSetting
GraphicsSettingsProperty
InputModifier
KeyInputType
PaintCompletionState
PaintMode
Plane
PlayerPermissionLevel
PlaytestSessionResult
PrimitiveType
ProjectExportType
SpeedSettingsProperty
SplineType
ThemeSettingsColorKey
WidgetComponentType
WidgetGroupSelectionMode
WidgetMouseButtonActionType

错误

错误 描述
InvalidWidgetComponentError
InvalidWidgetError
InvalidWidgetGroupError