类 WidgetComponentEntity实验性

层级 (查看层级一览)

属性

clickable: boolean

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

componentType: WidgetComponentType

This property can throw when used.

InvalidWidgetComponentError

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

方法

  • 实验性

    参数

    • animationName: string

    返回 void

    无法在只读模式下调用此函数,详见 WorldBeforeEvents

    This function can throw errors.

    InvalidWidgetComponentError