Uses of Interface
io.papermc.paper.math.Position
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes used to manipulate the voxels in a
world
,
including special states.Classes concerning the creation of boss bars that appear at the top of the
player's screen.
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 TypeMethodDescriptiondefault FluidData
RegionAccessor.getFluidData
(Position position) Gets theFluidData
at the given positionboolean
World.hasStructureAt
(@NotNull Position position, @NotNull Structure structure) Check if the naturally-generated structure exists at the position.static 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.default boolean
World.isPositionLoaded
(@NotNull Position position) Checks if this position is loaded.World.rayTrace
(@NotNull Position start, @NotNull Vector direction, double maxDistance, @NotNull FluidCollisionMode fluidCollisionMode, boolean ignorePassableBlocks, double raySize, @Nullable Predicate<? super Entity> filter, @Nullable Predicate<? super Block> canCollide) Performs a ray trace that checks for both block and entity collisions.World.rayTraceBlocks
(@NotNull Position start, @NotNull Vector direction, double maxDistance, @NotNull FluidCollisionMode fluidCollisionMode, boolean ignorePassableBlocks, @Nullable Predicate<? super Block> canCollide) Performs a ray trace that checks for block collisions using the blocks' precise collision shapes.World.rayTraceEntities
(@NotNull Position start, @NotNull Vector direction, double maxDistance, double raySize, @Nullable Predicate<? super Entity> filter) Performs a ray trace that checks for entity collisions. -
Uses of Position in org.bukkit.block
Modifier and TypeMethodDescriptionvoid
Bloom at the specified location as if an entity that drops experience just died there.Sign.getInteractableSideFor
(@NotNull Position position) Compute the side facing the specific position. -
Uses of Position in org.bukkit.boss
Modifier and TypeMethodDescriptionvoid
DragonBattle.spawnNewGateway
(Position position) Spawns a new end gateway at the specified position. -
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 position.Modifier and TypeMethodDescriptionvoid
Player.sendMultiBlockChange
(@NotNull Map<? extends Position, BlockData> blockChanges) Send multiple block changes.default void
Player.sendMultiBlockChange
(@NotNull Map<? extends Position, BlockData> blockChanges, boolean suppressLightUpdates) Deprecated.
Player.sendMultiBlockChange(Map)