Uses of Interface
io.papermc.paper.math.Position
Packages that use Position
Package
Description
Package containing maths-related API, including position API.
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
Methods in io.papermc.paper.event.world that return PositionModifier and TypeMethodDescriptionStructuresLocateEvent.Result.pos()Returns the value of theposrecord component.Constructors in io.papermc.paper.event.world with parameters of type Position -
Uses of Position in io.papermc.paper.math
Subinterfaces of Position in io.papermc.paper.mathModifier and TypeInterfaceDescriptioninterfaceA position represented with integers.interfaceA position represented with doubles.Methods in io.papermc.paper.math that return Position -
Uses of Position in org.bukkit
Classes in org.bukkit that implement PositionMethods in org.bukkit that return PositionModifier and TypeMethodDescriptionWorldCreator.forcedSpawnPosition()Gets the forced spawn position that will be applied when this world is created.Methods in org.bukkit with parameters of type PositionModifier and TypeMethodDescriptionWorldCreator.forcedSpawnPosition(@NotNull Position position, float yaw, float pitch) Sets the forced spawn position for the world created by thisWorldCreator.default FluidDataRegionAccessor.getFluidData(Position position) Gets theFluidDataat the given positionbooleanWorld.hasStructureAt(@NotNull Position position, @NotNull Structure structure) Check if the naturally-generated structure exists at the position.static booleanBukkit.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 booleanBukkit.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.booleanServer.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.booleanServer.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 booleanWorld.isPositionLoaded(@NotNull Position position) Checks if this position is loaded.default voidPlays a sound at a position.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
Methods in org.bukkit.block with parameters of type PositionModifier and TypeMethodDescriptionvoidBloom at the specified position as if an entity that drops experience just died there.default SideSign.getInteractableSideFor(Position position) Compute the side facing the specific position. -
Uses of Position in org.bukkit.boss
Methods in org.bukkit.boss with parameters of type PositionModifier and TypeMethodDescriptionvoidDragonBattle.spawnNewGateway(Position position) Spawns a new end gateway at the specified position. -
Uses of Position in org.bukkit.entity
Methods in org.bukkit.entity with parameters of type PositionModifier and TypeMethodDescriptiondefault voidEntity.lookAt(Position position, @NotNull LookAnchor entityAnchor) Causes the entity to look towards the given position.voidPlayer.openVirtualSign(Position block, Side side) Open a sign for editing by the player.default voidPlays a sound at a position.Method parameters in org.bukkit.entity with type arguments of type PositionModifier and TypeMethodDescriptionvoidPlayer.sendMultiBlockChange(Map<? extends Position, BlockData> blockChanges) Send multiple block changes.default voidPlayer.sendMultiBlockChange(Map<? extends Position, BlockData> blockChanges, boolean suppressLightUpdates) Deprecated.
Player.sendMultiBlockChange(Map)