Script API - v1.26.20.22
Preparing search index...
@minecraft/server
MolangVariableMap
Class MolangVariableMap
Index
Constructors
constructor
Methods
set
Color
RGB
set
Color
RGBA
set
Float
set
Speed
And
Direction
set
Vector3
Constructors
constructor
new
MolangVariableMap
()
:
MolangVariableMap
Returns
MolangVariableMap
Methods
set
Color
RGB
setColorRGB
(
variableName
:
string
,
color
:
RGB
)
:
void
Parameters
variableName
:
string
color
:
RGB
Returns
void
Throws
This function can throw errors.
World Ready
This function can't be called in
early-execution mode
.
set
Color
RGBA
setColorRGBA
(
variableName
:
string
,
color
:
RGBA
)
:
void
Parameters
variableName
:
string
color
:
RGBA
Returns
void
Throws
This function can throw errors.
World Ready
This function can't be called in
early-execution mode
.
set
Float
setFloat
(
variableName
:
string
,
number
:
number
)
:
void
Parameters
variableName
:
string
number
:
number
Returns
void
Throws
This function can throw errors.
World Ready
This function can't be called in
early-execution mode
.
set
Speed
And
Direction
setSpeedAndDirection
(
variableName
:
string
,
speed
:
number
,
direction
:
Vector3
,
)
:
void
Parameters
variableName
:
string
speed
:
number
direction
:
Vector3
Returns
void
Throws
This function can throw errors.
World Ready
This function can't be called in
early-execution mode
.
set
Vector3
setVector3
(
variableName
:
string
,
vector
:
Vector3
)
:
void
Parameters
variableName
:
string
vector
:
Vector3
Returns
void
Throws
This function can throw errors.
World Ready
This function can't be called in
early-execution mode
.
Settings
Member Visibility
External
Inherited
Private
Protected
Deprecated
Beta
Write Privilege
World Ready
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
set
Color
RGB
set
Color
RGBA
set
Float
set
Speed
And
Direction
set
Vector3
Script API - v1.26.20.22
Loading...
Throws
This function can throw errors.
World Ready
This function can't be called in early-execution mode.