Uses of Enum Class
org.bukkit.FluidCollisionMode
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.-
Uses of FluidCollisionMode in org.bukkit
Modifier and TypeMethodDescriptionstatic FluidCollisionMode
Returns the enum constant of this class with the specified name.static FluidCollisionMode[]
FluidCollisionMode.values()
Returns an array containing the constants of this enum class, in the order they are declared.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, @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. -
Uses of FluidCollisionMode in org.bukkit.block
-
Uses of FluidCollisionMode in org.bukkit.entity
Modifier and TypeMethodDescriptionLivingEntity.getTargetBlockExact
(int maxDistance, @NotNull FluidCollisionMode fluidCollisionMode) Gets the block that the living entity has targeted.LivingEntity.rayTraceBlocks
(double maxDistance, @NotNull FluidCollisionMode fluidCollisionMode) Performs a ray trace that provides information on the targeted block.