Uses of Interface
io.papermc.paper.raytracing.PositionedRayTraceConfigurationBuilder
Package
Description
The root package of the Bukkit API, contains generalized API classes.
-
Uses of PositionedRayTraceConfigurationBuilder in io.papermc.paper.raytracing
Modifier and TypeMethodDescriptionPositionedRayTraceConfigurationBuilder.blockFilter
(Predicate<? super Block> blockFilter) Sets the current block filter when looking for block collisions.Sets the direction.PositionedRayTraceConfigurationBuilder.entityFilter
(Predicate<? super Entity> entityFilter) Sets the current entity filter when looking for entity collisions.PositionedRayTraceConfigurationBuilder.fluidCollisionMode
(FluidCollisionMode fluidCollisionMode) Sets the FluidCollisionMode when looking for block collisions.PositionedRayTraceConfigurationBuilder.ignorePassableBlocks
(boolean ignorePassableBlocks) Sets whether the raytrace should ignore passable blocks when looking for block collisions.PositionedRayTraceConfigurationBuilder.maxDistance
(@org.checkerframework.checker.index.qual.NonNegative double maxDistance) Sets the maximum distance.PositionedRayTraceConfigurationBuilder.raySize
(@org.checkerframework.checker.index.qual.NonNegative double raySize) Sets the size of the raytrace when looking for entity collisions.Sets the starting location.PositionedRayTraceConfigurationBuilder.targets
(RayTraceTarget first, RayTraceTarget... others) Sets the targets for the rayTrace. -
Uses of PositionedRayTraceConfigurationBuilder in org.bukkit
Modifier and TypeMethodDescriptionWorld.rayTrace
(@NotNull Consumer<PositionedRayTraceConfigurationBuilder> builderConsumer) Performs a ray trace that checks for collisions with the specified targets.