Uses of Class
org.bukkit.util.RayTraceResult
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.Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.Multi and single purpose classes to facilitate various programmatic
concepts.
-
Uses of RayTraceResult in org.bukkit
Modifier and TypeMethodDescriptionWorld.rayTrace
(Location start, Vector direction, double maxDistance, FluidCollisionMode fluidCollisionMode, boolean ignorePassableBlocks, double raySize, Predicate<? super Entity> filter) Performs a ray trace that checks for both block and entity collisions.World.rayTraceBlocks
(Location start, Vector direction, double maxDistance) Performs a ray trace that checks for block collisions using the blocks' precise collision shapes.World.rayTraceBlocks
(Location start, Vector direction, double maxDistance, FluidCollisionMode fluidCollisionMode) Performs a ray trace that checks for block collisions using the blocks' precise collision shapes.World.rayTraceBlocks
(Location start, Vector direction, double maxDistance, FluidCollisionMode fluidCollisionMode, boolean ignorePassableBlocks) Performs a ray trace that checks for block collisions using the blocks' precise collision shapes.World.rayTraceEntities
(Location start, Vector direction, double maxDistance) Performs a ray trace that checks for entity collisions.World.rayTraceEntities
(Location start, Vector direction, double maxDistance, double raySize) Performs a ray trace that checks for entity collisions.World.rayTraceEntities
(Location start, Vector direction, double maxDistance, double raySize, Predicate<? super Entity> filter) Performs a ray trace that checks for entity collisions.World.rayTraceEntities
(Location start, Vector direction, double maxDistance, Predicate<? super Entity> filter) Performs a ray trace that checks for entity collisions. -
Uses of RayTraceResult in org.bukkit.block
Modifier and TypeMethodDescriptionBlock.rayTrace
(Location start, Vector direction, double maxDistance, FluidCollisionMode fluidCollisionMode) Performs a ray trace that checks for collision with this specific block in its current state using its precise collision shape. -
Uses of RayTraceResult in org.bukkit.entity
Modifier and TypeMethodDescriptionLivingEntity.rayTraceBlocks
(double maxDistance) Performs a ray trace that provides information on the targeted block.LivingEntity.rayTraceBlocks
(double maxDistance, FluidCollisionMode fluidCollisionMode) Performs a ray trace that provides information on the targeted block. -
Uses of RayTraceResult in org.bukkit.util
Modifier and TypeMethodDescriptionCalculates the intersection of this bounding box with the specified line segment.