MolangVariableMap
¶
文档版本:1.21.60.21
MolangVariableMap
类。script_api.minecraft/server.molangvariablemap.description
方法¶
constructor
script_api.minecraft/server.molangvariablemap.constructor.description
setColorRGB
script_api.minecraft/server.molangvariablemap.setcolorrgb.description
variableName
:string
- script_api.minecraft/server.molangvariablemap.setcolorrgb.variablename.description
color
:RGB
- script_api.minecraft/server.molangvariablemap.setcolorrgb.color.description
- 返回值:
void
- script_api.minecraft/server.molangvariablemap.setcolorrgb.return
setColorRGBA
script_api.minecraft/server.molangvariablemap.setcolorrgba.description
variableName
:string
- script_api.minecraft/server.molangvariablemap.setcolorrgba.variablename.description
color
:RGBA
- script_api.minecraft/server.molangvariablemap.setcolorrgba.color.description
- 返回值:
void
- script_api.minecraft/server.molangvariablemap.setcolorrgba.return
setFloat
script_api.minecraft/server.molangvariablemap.setfloat.description
variableName
:string
- script_api.minecraft/server.molangvariablemap.setfloat.variablename.description
number
:float
- script_api.minecraft/server.molangvariablemap.setfloat.number.description
- 返回值:
void
- script_api.minecraft/server.molangvariablemap.setfloat.return
setSpeedAndDirection
script_api.minecraft/server.molangvariablemap.setspeedanddirection.description
variableName
:string
- script_api.minecraft/server.molangvariablemap.setspeedanddirection.variablename.description
speed
:float
- script_api.minecraft/server.molangvariablemap.setspeedanddirection.speed.description
direction
:Vector3
- script_api.minecraft/server.molangvariablemap.setspeedanddirection.direction.description
- 返回值:
void
- script_api.minecraft/server.molangvariablemap.setspeedanddirection.return
setVector3
script_api.minecraft/server.molangvariablemap.setvector3.description
variableName
:string
- script_api.minecraft/server.molangvariablemap.setvector3.variablename.description
vector
:Vector3
- script_api.minecraft/server.molangvariablemap.setvector3.vector.description
- 返回值:
void
- script_api.minecraft/server.molangvariablemap.setvector3.return