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
(@NotNull Location start, @NotNull Vector direction, double maxDistance, @NotNull FluidCollisionMode fluidCollisionMode, boolean ignorePassableBlocks, double raySize, @Nullable Predicate<Entity> filter) Performs a ray trace that checks for both block and entity collisions.World.rayTraceBlocks
(@NotNull Location start, @NotNull Vector direction, double maxDistance) Performs a ray trace that checks for block collisions using the blocks' precise collision shapes.World.rayTraceBlocks
(@NotNull Location start, @NotNull Vector direction, double maxDistance, @NotNull FluidCollisionMode fluidCollisionMode) Performs a ray trace that checks for block collisions using the blocks' precise collision shapes.World.rayTraceBlocks
(@NotNull Location start, @NotNull Vector direction, double maxDistance, @NotNull FluidCollisionMode fluidCollisionMode, boolean ignorePassableBlocks) Performs a ray trace that checks for block collisions using the blocks' precise collision shapes.World.rayTraceEntities
(@NotNull Location start, @NotNull Vector direction, double maxDistance) Performs a ray trace that checks for entity collisions.World.rayTraceEntities
(@NotNull Location start, @NotNull Vector direction, double maxDistance, double raySize) Performs a ray trace that checks for entity collisions.World.rayTraceEntities
(@NotNull Location start, @NotNull Vector direction, double maxDistance, double raySize, @Nullable Predicate<Entity> filter) Performs a ray trace that checks for entity collisions.World.rayTraceEntities
(@NotNull Location start, @NotNull Vector direction, double maxDistance, @Nullable Predicate<Entity> filter) Performs a ray trace that checks for entity collisions. -
Uses of RayTraceResult in org.bukkit.block
-
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, @NotNull FluidCollisionMode fluidCollisionMode) Performs a ray trace that provides information on the targeted block.default @Nullable RayTraceResult
LivingEntity.rayTraceEntities
(int maxDistance) Gets information about the entity being targetedLivingEntity.rayTraceEntities
(int maxDistance, boolean ignoreBlocks) Gets information about the entity being targeted -
Uses of RayTraceResult in org.bukkit.util