Vector2 wrapper class which can be used as a Vector2 for APIs on @minecraft/server which require a Vector2.
用于 @minecraft/server 中需要用到 Vector2 的 API 的 Vector2 包装类。
可选
X component of the two-dimensional vector.
Y component of the two-dimensional vector.
Returns a string representation of an object.
Vector2 wrapper class which can be used as a Vector2 for APIs on @minecraft/server which require a Vector2.
用于 @minecraft/server 中需要用到 Vector2 的 API 的 Vector2 包装类。