Package dev.booky.cloudcore.util
Interface EntityPosition
- All Superinterfaces:
io.papermc.paper.math.FinePosition,io.papermc.paper.math.Position
@NullMarked
@Experimental
public sealed interface EntityPosition
extends io.papermc.paper.math.FinePosition
-
Field Summary
FieldsFields inherited from interface io.papermc.paper.math.Position
BLOCK_ZERO, FINE_ZERO -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityPositionentity(double x, double y, double z) static EntityPositionentity(double x, double y, double z, float yaw, float pitch) static EntityPositionentity(io.papermc.paper.math.Position position) static EntityPositionentity(io.papermc.paper.math.Position position, float yaw, float pitch) static EntityPositionentity(org.bukkit.Location location) default EntityPositionoffset(double x, double y, double z) default EntityPositionoffset(int x, int y, int z) floatpitch()default EntityPositionrotate(float yaw, float pitch) default EntityPositiontoCenter()default org.bukkit.LocationtoLocation(org.bukkit.World world) floatyaw()Methods inherited from interface io.papermc.paper.math.FinePosition
blockX, blockY, blockZ, isBlock, isFine, toBlockMethods inherited from interface io.papermc.paper.math.Position
isFinite, toVector, x, y, z
-
Field Details
-
ENTITY_ZERO
-
-
Method Details
-
yaw
float yaw() -
pitch
float pitch() -
rotate
-
offset
- Specified by:
offsetin interfaceio.papermc.paper.math.FinePosition- Specified by:
offsetin interfaceio.papermc.paper.math.Position
-
offset
- Specified by:
offsetin interfaceio.papermc.paper.math.FinePosition- Specified by:
offsetin interfaceio.papermc.paper.math.Position
-
toCenter
- Specified by:
toCenterin interfaceio.papermc.paper.math.Position
-
toLocation
default org.bukkit.Location toLocation(org.bukkit.World world) - Specified by:
toLocationin interfaceio.papermc.paper.math.Position
-
entity
-
entity
-
entity
-
entity
-
entity
-