Script API - v1.21.90.25
Preparing search index...
@minecraft/server-editor
WidgetCreateOptions
Interface WidgetCreateOptions
interface
WidgetCreateOptions
{
bindPositionToBlockCursor
?:
boolean
;
collisionOffset
?:
Vector3
;
collisionRadius
?:
number
;
lockToSurface
?:
boolean
;
selectable
?:
boolean
;
snapToBlockLocation
?:
boolean
;
stateChangeEvent
?:
(
arg0
:
WidgetStateChangeEventData
)
=>
void
;
visible
?:
boolean
;
widgetName
?:
string
;
worldBoundsMax
?:
Vector3
;
worldBoundsMin
?:
Vector3
;
}
Index
Properties
bind
Position
To
Block
Cursor?
collision
Offset?
collision
Radius?
lock
To
Surface?
selectable?
snap
To
Block
Location?
state
Change
Event?
visible?
widget
Name?
world
Bounds
Max?
world
Bounds
Min?
Properties
Optional
bind
Position
To
Block
Cursor
bindPositionToBlockCursor
?:
boolean
Optional
collision
Offset
collisionOffset
?:
Vector3
Optional
collision
Radius
collisionRadius
?:
number
Optional
lock
To
Surface
lockToSurface
?:
boolean
Optional
selectable
selectable
?:
boolean
Optional
snap
To
Block
Location
snapToBlockLocation
?:
boolean
Optional
state
Change
Event
stateChangeEvent
?:
(
arg0
:
WidgetStateChangeEventData
)
=>
void
Optional
visible
visible
?:
boolean
Optional
widget
Name
widgetName
?:
string
Optional
world
Bounds
Max
worldBoundsMax
?:
Vector3
Optional
world
Bounds
Min
worldBoundsMin
?:
Vector3
Settings
Member Visibility
External
Inherited
Private
Protected
Deprecated
Theme
OS
Light
Dark
On This Page
Properties
bind
Position
To
Block
Cursor
collision
Offset
collision
Radius
lock
To
Surface
selectable
snap
To
Block
Location
state
Change
Event
visible
widget
Name
world
Bounds
Max
world
Bounds
Min
Script API - v1.21.90.25
Loading...