类 WidgetComponentText实验性

层级 (查看完整内容)

属性

color: RGBA

无法在只读模式下修改此属性,详见 WorldBeforeEvents

componentType: WidgetComponentType

This property can throw when used.

InvalidWidgetComponentError

label: string

无法在只读模式下修改此属性,详见 WorldBeforeEvents

location: Vector3

This property can throw when used.

minecraftserver.InvalidWidgetComponentError

lockToSurface: boolean

无法在只读模式下修改此属性,详见 WorldBeforeEvents

name: string

This property can throw when used.

InvalidWidgetComponentError

offset: Vector3

无法在只读模式下修改此属性,详见 WorldBeforeEvents

valid: boolean
visible: boolean
widget: Widget

This property can throw when used.

InvalidWidgetComponentError

方法