Uses of Interface
io.papermc.paper.math.Position
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.-
Uses of Position in io.papermc.paper.event.world
Modifier and TypeMethodDescriptionStructuresLocateEvent.Result.pos()
Returns the value of thepos
record component. -
Uses of Position in io.papermc.paper.math
Modifier and TypeInterfaceDescriptioninterface
A position represented with integers.interface
A position represented with doubles. -
Uses of Position in org.bukkit
Modifier and TypeMethodDescriptionstatic boolean
Bukkit.isOwnedByCurrentRegion
(@NotNull World world, Position position) Returns whether the current thread is ticking a region and that the region being ticked owns the chunk at the specified world and block position.static boolean
Bukkit.isOwnedByCurrentRegion
(@NotNull World world, Position position, int squareRadiusChunks) Returns whether the current thread is ticking a region and that the region being ticked owns the chunks centered at the specified block position within the specified square radius.boolean
Server.isOwnedByCurrentRegion
(@NotNull World world, Position position) Returns whether the current thread is ticking a region and that the region being ticked owns the chunk at the specified world and block position.boolean
Server.isOwnedByCurrentRegion
(@NotNull World world, Position position, int squareRadiusChunks) Returns whether the current thread is ticking a region and that the region being ticked owns the chunks centered at the specified block position within the specified square radius. -
Uses of Position in org.bukkit.entity
Modifier and TypeMethodDescriptiondefault void
Player.lookAt
(Position position, LookAnchor playerAnchor) Causes the player to look towards the given location.