Vector2 wrapper class which can be used as a Vector2 for APIs on @minecraft/server which require a Vector2.
Optional
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.