Location
¶
文档版本:1.21.60.21
Location
类。script_api.mojang-minecraft.location.description
属性¶
x
x
:float
- script_api.mojang-minecraft.location.x.description
y
y
:float
- script_api.mojang-minecraft.location.y.description
z
z
:float
- script_api.mojang-minecraft.location.z.description
方法¶
constructor
script_api.mojang-minecraft.location.constructor.description
x
:float
- script_api.mojang-minecraft.location.constructor.x.description
y
:float
- script_api.mojang-minecraft.location.constructor.y.description
z
:float
- script_api.mojang-minecraft.location.constructor.z.description
- 返回值:
Location
- script_api.mojang-minecraft.location.constructor.return
equals
script_api.mojang-minecraft.location.equals.description
other
:Location
- script_api.mojang-minecraft.location.equals.other.description
- 返回值:
boolean
- script_api.mojang-minecraft.location.equals.return
isNear
script_api.mojang-minecraft.location.isnear.description
other
:Location
- script_api.mojang-minecraft.location.isnear.other.description
epsilon
:float
- script_api.mojang-minecraft.location.isnear.epsilon.description
- 返回值:
boolean
- script_api.mojang-minecraft.location.isnear.return