ModLocation
Represents a Mod location wrapped as a PlatformLocation.
Since
2.0.0
Parameters
level
the NMS level
x
the x coordinate
y
the y coordinate
z
the z coordinate
pitch
the pitch
yaw
the yaw
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Creates a ModLocation from an entity's position.
Creates a ModLocation from the position vector with zero pitch and yaw.
@NotNull
Creates a ModLocation from the coordinates with zero pitch and yaw.
@NotNull
Creates a ModLocation from the position vector.
@NotNull
Creates a ModLocation from the coordinates.
Link copied to clipboard
Creates a ModLocation from an entity's eye position.
Link copied to clipboard