Cursor
¶
文档版本:1.21.60.21
Cursor
类。script_api.minecraft/server-editor-bindings.cursor.description
属性¶
faceDirection
faceDirection
:uint8
- script_api.minecraft/server-editor-bindings.cursor.facedirection.description
isVisible
isVisible
:boolean
- script_api.minecraft/server-editor-bindings.cursor.isvisible.description
方法¶
getPosition
script_api.minecraft/server-editor-bindings.cursor.getposition.description
getProperties
script_api.minecraft/server-editor-bindings.cursor.getproperties.description
getRay
script_api.minecraft/server-editor-bindings.cursor.getray.description
- 返回值:
CursorRay
- script_api.minecraft/server-editor-bindings.cursor.getray.return
hide
script_api.minecraft/server-editor-bindings.cursor.hide.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.cursor.hide.return
moveBy
script_api.minecraft/server-editor-bindings.cursor.moveby.description
offset
:Vector3
- script_api.minecraft/server-editor-bindings.cursor.moveby.offset.description
- 返回值:
Vector3
- script_api.minecraft/server-editor-bindings.cursor.moveby.return
resetToDefaultState
script_api.minecraft/server-editor-bindings.cursor.resettodefaultstate.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.cursor.resettodefaultstate.return
setProperties
script_api.minecraft/server-editor-bindings.cursor.setproperties.description
properties
:CursorProperties
- script_api.minecraft/server-editor-bindings.cursor.setproperties.properties.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.cursor.setproperties.return
show
script_api.minecraft/server-editor-bindings.cursor.show.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.cursor.show.return