Uses of Enum Class
org.bukkit.block.BlockFace
Package
Description
Classes used to manipulate the voxels in a
world
,
including special states.Generalized BlockData classes.
Specific BlockData classes relevant to only a given block or set of blocks.
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.Events
relating to entities that hang
.Classes that represents various voxel types and states.
Classes relevant to specific material types.
Multi and single purpose classes to facilitate various programmatic
concepts.
-
Uses of BlockFace in com.destroystokyo.paper.block
Modifier and TypeMethodDescriptionTargetBlockInfo.getBlockFace()
Deprecated, for removal: This API element is subject to removal in a future version.Get the targeted BlockFaceModifierConstructorDescriptionTargetBlockInfo
(@NotNull Block block, @NotNull BlockFace blockFace) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of BlockFace in io.papermc.paper.block
Modifier and TypeMethodDescriptionMovingPiston.getDirection()
The direction that the current moving piston is pushing/pulling a block in. -
Uses of BlockFace in io.papermc.paper.event.block
ModifierConstructorDescriptionDeprecated.TargetHitEvent
(Projectile projectile, Block block, BlockFace blockFace, int signalStrength) -
Uses of BlockFace in io.papermc.paper.event.entity
ModifierConstructorDescriptionWaterBottleSplashEvent
(ThrownPotion potion, @Nullable Entity hitEntity, @Nullable Block hitBlock, @Nullable BlockFace hitFace, Map<LivingEntity, Double> affectedEntities, Set<LivingEntity> rehydrate, Set<LivingEntity> extinguish) -
Uses of BlockFace in io.papermc.paper.math
Modifier and TypeMethodDescriptiondefault BlockPosition
Returns a block position offset by 1 in the direction specified.default BlockPosition
Returns a block position offset in the direction specified multiplied by the amount. -
Uses of BlockFace in org.bukkit.block
Modifier and TypeMethodDescriptionGets the face relation of this block compared to the given block.BlockFace.getOppositeFace()
Skull.getRotation()
Deprecated.static BlockFace
Returns the enum constant of this class with the specified name.static BlockFace[]
BlockFace.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionboolean
Block.applyBoneMeal
(@NotNull BlockFace face) Simulate bone meal application to this block (if possible).int
Block.getBlockPower
(@NotNull BlockFace face) Returns the redstone power being provided to this block faceBlock.getRelative
(@NotNull BlockFace face) Gets the block at the given faceBlock.getRelative
(@NotNull BlockFace face, int distance) Gets the block at the given distance of the given faceboolean
Block.isBlockFaceIndirectlyPowered
(@NotNull BlockFace face) Returns true if the block face is being indirectly powered by Redstone.boolean
Block.isBlockFacePowered
(@NotNull BlockFace face) Returns true if the block face is being powered by Redstone.boolean
Ring this bell.boolean
Ring this bell.void
Skull.setRotation
(@NotNull BlockFace rotation) Deprecated.useBlockData
-
Uses of BlockFace in org.bukkit.block.data
Modifier and TypeMethodDescriptionDirectional.getFacing()
Gets the value of the 'facing' property.Rotatable.getRotation()
Gets the value of the 'rotation' property.Modifier and TypeMethodDescriptionMultipleFacing.getAllowedFaces()
Gets all of this faces which may be set on this block.Directional.getFaces()
Gets the faces which are applicable to this block.MultipleFacing.getFaces()
Get all of the faces which are enabled on this block.Modifier and TypeMethodDescriptionboolean
Checks if this block has the specified face enabled.boolean
BlockData.isFaceSturdy
(@NotNull BlockFace face, @NotNull BlockSupport support) Checks if a state'sBlockFace
is capable of providing a given level ofBlockSupport
for neighbouring block states.void
Set whether this block has the specified face enabled.void
Sets the value of the 'facing' property.void
Rotatable.setRotation
(@NotNull BlockFace rotation) Sets the value of the 'rotation' property. -
Uses of BlockFace in org.bukkit.block.data.type
Modifier and TypeMethodDescriptionPointedDripstone.getVerticalDirection()
Gets the value of the 'vertical_direction' property.Modifier and TypeMethodDescriptionRedstoneWire.getAllowedFaces()
Gets all of this faces which may be set on this block.PointedDripstone.getVerticalDirections()
Gets the faces which are applicable to this block.Modifier and TypeMethodDescriptionChecks the type of connection on the specified face.Gets the height of the specified face.void
RedstoneWire.setFace
(@NotNull BlockFace face, @NotNull RedstoneWire.Connection connection) Sets the type of connection on the specified face.void
Wall.setHeight
(@NotNull BlockFace face, @NotNull Wall.Height height) Set the height of the specified face.void
PointedDripstone.setVerticalDirection
(@NotNull BlockFace direction) Sets the value of the 'vertical_direction' property. -
Uses of BlockFace in org.bukkit.entity
Modifier and TypeMethodDescriptionShulker.getAttachedFace()
Gets the face to which the shulker is attached.ShulkerBullet.getCurrentMovementDirection()
Gets the current movement direction.Entity.getFacing()
Get the closest cardinalBlockFace
direction an entity is currently facing.default BlockFace
LivingEntity.getTargetBlockFace
(int maxDistance) Gets the blockface of that block that the living entity has targeted, ignoring fluidsLivingEntity.getTargetBlockFace
(int maxDistance, TargetBlockInfo.FluidMode fluidMode) Deprecated, for removal: This API element is subject to removal in a future version.LivingEntity.getTargetBlockFace
(int maxDistance, @NotNull FluidCollisionMode fluidMode) Gets the blockface of that block that the living entity has targetedModifier and TypeMethodDescriptionvoid
Shulker.setAttachedFace
(@NotNull BlockFace face) Sets the face to which the shulker is attached.void
ShulkerBullet.setCurrentMovementDirection
(BlockFace movementDirection) Set the current movement direction.boolean
Hanging.setFacingDirection
(@NotNull BlockFace face, boolean force) Sets the direction of the hanging entity, potentially overriding rules of placement. -
Uses of BlockFace in org.bukkit.event.block
Modifier and TypeMethodDescriptionBlockDamageEvent.getBlockFace()
Gets the BlockFace the player is interacting with.BellRingEvent.getDirection()
Get the direction in which the bell was rung.BlockPistonEvent.getDirection()
Return the direction in which the piston will operate.BlockFromToEvent.getFace()
Gets the BlockFace that the block is moving to.ModifierConstructorDescriptionBlockDamageEvent
(@NotNull Player player, @NotNull Block block, BlockFace blockFace, @NotNull ItemStack itemInHand, boolean instaBreak) BlockFromToEvent
(@NotNull Block block, @NotNull BlockFace face) BlockPistonEvent
(@NotNull Block block, @NotNull BlockFace direction) BlockPistonExtendEvent
(@NotNull Block block, int length, @NotNull BlockFace direction) Deprecated.BlockPistonExtendEvent
(@NotNull Block block, @NotNull List<Block> blocks, @NotNull BlockFace direction) BlockPistonRetractEvent
(@NotNull Block block, @NotNull List<Block> blocks, @NotNull BlockFace direction) -
Uses of BlockFace in org.bukkit.event.entity
Modifier and TypeMethodDescriptionEntityPlaceEvent.getBlockFace()
Returns the face of the block that the entity was placed onProjectileHitEvent.getHitBlockFace()
Gets the block face that was hit, if it was a block that was hit and the face was provided in the event.ModifierConstructorDescriptionEntityPlaceEvent
(@NotNull Entity entity, @Nullable Player player, @NotNull Block block, @NotNull BlockFace blockFace) Deprecated.EntityPlaceEvent
(@NotNull Entity entity, @Nullable Player player, @NotNull Block block, @NotNull BlockFace blockFace, @NotNull EquipmentSlot hand) ExpBottleEvent
(@NotNull ThrownExpBottle bottle, @Nullable Entity hitEntity, @Nullable Block hitBlock, @Nullable BlockFace hitFace, int exp) LingeringPotionSplashEvent
(@NotNull ThrownPotion potion, @Nullable Entity hitEntity, @Nullable Block hitBlock, @Nullable BlockFace hitFace, @NotNull AreaEffectCloud entity) PotionSplashEvent
(@NotNull ThrownPotion potion, @Nullable Entity hitEntity, @Nullable Block hitBlock, @Nullable BlockFace hitFace, @NotNull Map<LivingEntity, Double> affectedEntities) ProjectileHitEvent
(@NotNull Projectile projectile, @Nullable Entity hitEntity, @Nullable Block hitBlock, @Nullable BlockFace hitFace) -
Uses of BlockFace in org.bukkit.event.hanging
Modifier and TypeMethodDescriptionHangingPlaceEvent.getBlockFace()
Returns the face of the block that the hanging entity was placed onModifierConstructorDescriptionHangingPlaceEvent
(@NotNull Hanging hanging, @Nullable Player player, @NotNull Block block, @NotNull BlockFace blockFace, @Nullable EquipmentSlot hand) Deprecated.HangingPlaceEvent
(@NotNull Hanging hanging, @Nullable Player player, @NotNull Block block, @NotNull BlockFace blockFace, @Nullable EquipmentSlot hand, @Nullable ItemStack itemStack) -
Uses of BlockFace in org.bukkit.event.player
Modifier and TypeMethodDescriptionPlayerBucketEvent.getBlockFace()
Get the face on the clicked blockPlayerInteractEvent.getBlockFace()
Returns the face of the block that was clickedModifierConstructorDescriptionPlayerBucketEmptyEvent
(@NotNull Player who, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand) Deprecated.PlayerBucketEmptyEvent
(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand) Deprecated.PlayerBucketEmptyEvent
(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand, @NotNull EquipmentSlot hand) PlayerBucketEvent
(@NotNull Player who, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand) Deprecated.PlayerBucketEvent
(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand) Deprecated.PlayerBucketEvent
(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand, @NotNull EquipmentSlot hand) PlayerBucketFillEvent
(@NotNull Player who, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand) Deprecated.PlayerBucketFillEvent
(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand) Deprecated.PlayerBucketFillEvent
(@NotNull Player who, @NotNull Block block, @NotNull Block blockClicked, @NotNull BlockFace blockFace, @NotNull Material bucket, @NotNull ItemStack itemInHand, @NotNull EquipmentSlot hand) PlayerInteractEvent
(@NotNull Player who, @NotNull Action action, @Nullable ItemStack item, @Nullable Block clickedBlock, @NotNull BlockFace clickedFace) PlayerInteractEvent
(@NotNull Player who, @NotNull Action action, @Nullable ItemStack item, @Nullable Block clickedBlock, @NotNull BlockFace clickedFace, @Nullable EquipmentSlot hand) PlayerInteractEvent
(@NotNull Player who, @NotNull Action action, @Nullable ItemStack item, @Nullable Block clickedBlock, @NotNull BlockFace clickedFace, @Nullable EquipmentSlot hand, @Nullable Vector clickedPosition) -
Uses of BlockFace in org.bukkit.material
Modifier and TypeFieldDescriptionprotected static final BlockFace
Comparator.DEFAULT_DIRECTION
Deprecated, for removal: This API element is subject to removal in a future version.protected static final BlockFace
Diode.DEFAULT_DIRECTION
Deprecated, for removal: This API element is subject to removal in a future version.protected static final BlockFace
Hopper.DEFAULT_DIRECTION
Deprecated, for removal: This API element is subject to removal in a future version.protected static final BlockFace
Tree.DEFAULT_DIRECTION
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionStairs.getAscendingDirection()
Deprecated, for removal: This API element is subject to removal in a future version.Attachable.getAttachedFace()
Gets the face that this block is attached onBanner.getAttachedFace()
Deprecated, for removal: This API element is subject to removal in a future version.Button.getAttachedFace()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the face that this block is attached onCocoaPlant.getAttachedFace()
Deprecated, for removal: This API element is subject to removal in a future version.Ladder.getAttachedFace()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the face that this block is attached onLever.getAttachedFace()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the face that this block is attached onPistonExtensionMaterial.getAttachedFace()
Deprecated, for removal: This API element is subject to removal in a future version.Sign.getAttachedFace()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the face that this block is attached onTorch.getAttachedFace()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the face that this block is attached onTrapDoor.getAttachedFace()
Deprecated, for removal: This API element is subject to removal in a future version.TripwireHook.getAttachedFace()
Deprecated, for removal: This API element is subject to removal in a future version.Stairs.getDescendingDirection()
Deprecated, for removal: This API element is subject to removal in a future version.Rails.getDirection()
Deprecated, for removal: This API element is subject to removal in a future version.Tree.getDirection()
Deprecated, for removal: This API element is subject to removal in a future version.Get direction of the logBanner.getFacing()
Deprecated, for removal: This API element is subject to removal in a future version.Bed.getFacing()
Deprecated, for removal: This API element is subject to removal in a future version.Get the direction that this bed's head is facing towardCocoaPlant.getFacing()
Deprecated, for removal: This API element is subject to removal in a future version.Comparator.getFacing()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the direction this comparator is facingDiode.getFacing()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the direction this diode is facingDirectional.getFacing()
Gets the direction this block is facingDirectionalContainer.getFacing()
Deprecated, for removal: This API element is subject to removal in a future version.Dispenser.getFacing()
Deprecated, for removal: This API element is subject to removal in a future version.Door.getFacing()
Deprecated, for removal: This API element is subject to removal in a future version.Get the direction that this door is facing.Gate.getFacing()
Deprecated, for removal: This API element is subject to removal in a future version.Hopper.getFacing()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the direction this hopper is facingObserver.getFacing()
Deprecated, for removal: This API element is subject to removal in a future version.PistonBaseMaterial.getFacing()
Deprecated, for removal: This API element is subject to removal in a future version.PistonExtensionMaterial.getFacing()
Deprecated, for removal: This API element is subject to removal in a future version.Pumpkin.getFacing()
Deprecated, for removal: This API element is subject to removal in a future version.Sign.getFacing()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the direction that this sign is currently facingSimpleAttachableMaterialData.getFacing()
Deprecated, for removal: This API element is subject to removal in a future version.Skull.getFacing()
Deprecated, for removal: This API element is subject to removal in a future version.Stairs.getFacing()
Deprecated, for removal: This API element is subject to removal in a future version.Door.getHingeCorner()
Deprecated.This method should not be used; use hinge and facing accessors instead.Modifier and TypeMethodDescriptionMushroom.getPaintedFaces()
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionboolean
Mushroom.isFacePainted
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.Checks whether a face of the block is painted with cap texture.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Check if the vine is attached to the specified face of an adjacent block.void
Deprecated, for removal: This API element is subject to removal in a future version.Attach the vine to the specified face of an adjacent block.void
Vine.removeFromFace
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.Detach the vine from the specified face of an adjacent block.void
ExtendedRails.setDirection
(BlockFace face, boolean isOnSlope) Deprecated, for removal: This API element is subject to removal in a future version.void
Rails.setDirection
(BlockFace face, boolean isOnSlope) Deprecated, for removal: This API element is subject to removal in a future version.Set the direction of these tracksvoid
Tree.setDirection
(BlockFace dir) Deprecated, for removal: This API element is subject to removal in a future version.Set direction of the logvoid
Mushroom.setFacePainted
(BlockFace face, boolean painted) Deprecated.Use MushroomBlockType cap optionsvoid
Banner.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.void
Bed.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.Set which direction the head of the bed is facing.void
Button.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.Sets the direction this button is pointing towardvoid
CocoaPlant.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.void
Comparator.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.Sets the direction this comparator is facingvoid
Diode.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.Sets the direction this diode is facing.void
Directional.setFacingDirection
(@NotNull BlockFace face) Sets the direction that this block is facing invoid
DirectionalContainer.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.void
Dispenser.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.void
Door.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.Set the direction that this door should is facing.void
Gate.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.void
Hopper.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.Sets the direction this hopper is facingvoid
Ladder.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.Sets the direction this ladder is facingvoid
Lever.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.Sets the direction this lever is pointing invoid
Observer.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.void
PistonBaseMaterial.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.void
PistonExtensionMaterial.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.void
Pumpkin.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.void
Sign.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.void
Skull.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.void
Stairs.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.Set the direction the stair part of the block is facingvoid
Torch.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.void
TrapDoor.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.void
TripwireHook.setFacingDirection
(BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.ModifierConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Instantiate a bed facing in a particular direction.Deprecated, for removal: This API element is subject to removal in a future version.Instantiate a chest facing in a particular direction.CocoaPlant
(CocoaPlant.CocoaPlantSize sz, BlockFace dir) Deprecated, for removal: This API element is subject to removal in a future version.Comparator
(BlockFace facingDirection) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a comparator switched off, with the default mode (normal) and facing the specified direction.Comparator
(BlockFace facingDirection, boolean isSubtraction) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a comparator switched off, with the specified mode and facing the specified direction.Comparator
(BlockFace facingDirection, boolean isSubtraction, boolean state) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a comparator switched on or off, with the specified mode and facing the specified direction.Deprecated, for removal: This API element is subject to removal in a future version.Constructs a diode switched off, with a delay of 1 and facing the specified direction.Deprecated, for removal: This API element is subject to removal in a future version.Constructs a diode switched off, with the specified delay and facing the specified direction.Deprecated, for removal: This API element is subject to removal in a future version.Constructs a diode switched on or off, with the specified delay and facing the specified direction.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Constructs the bottom half of a door of the given material type, facing the specified direction and set to closedDeprecated, for removal: This API element is subject to removal in a future version.Constructs the bottom half of a door of the given material type, facing the specified direction and set to open or closedDoor
(TreeSpecies species, BlockFace face) Deprecated, for removal: This API element is subject to removal in a future version.Constructs the bottom half of a wooden door of the given species, facing the specified direction and set to closedDoor
(TreeSpecies species, BlockFace face, boolean isOpen) Deprecated, for removal: This API element is subject to removal in a future version.Constructs the bottom half of a wooden door of the given species, facing the specified direction and set to open or closedEnderChest
(BlockFace direction) Deprecated, for removal: This API element is subject to removal in a future version.Instantiate an ender chest facing in a particular direction.Deprecated, for removal: This API element is subject to removal in a future version.Instantiate a furnace facing in a particular direction.Deprecated, for removal: This API element is subject to removal in a future version.Constructs a hopper facing the specified direction and initially active.Deprecated, for removal: This API element is subject to removal in a future version.Constructs a hopper facing the specified direction and either active or not.Deprecated, for removal: This API element is subject to removal in a future version.Constructs a brown/red mushroom cap block with the specified face or faces set to cap texture.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Instantiate a pumpkin facing in a particular direction.SimpleAttachableMaterialData
(Material type, BlockFace direction) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Instantiate a skull facing in a particular direction.Tree
(Material type, TreeSpecies species, BlockFace dir) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a tree block of the given type and tree species, and facing the given direction.Tree
(TreeSpecies species, BlockFace dir) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a tree block of the given tree species, and facing the given direction.TripwireHook
(BlockFace dir) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of BlockFace in org.bukkit.material.types
Modifier and TypeMethodDescriptionMushroomBlockTexture.getCapFace()
Deprecated.Gets the face that has cap texture.Modifier and TypeMethodDescriptionstatic @Nullable MushroomBlockTexture
MushroomBlockTexture.getCapByFace
(@Nullable BlockFace face) Deprecated.Gets the MushroomBlockType with cap texture on the given block face. -
Uses of BlockFace in org.bukkit.util
Modifier and TypeMethodDescriptionExpands this bounding box in the direction specified by the given block face.ModifierConstructorDescriptionRayTraceResult
(@NotNull Vector hitPosition, @Nullable BlockFace hitBlockFace) Creates a RayTraceResult.RayTraceResult
(@NotNull Vector hitPosition, @Nullable Block hitBlock, @Nullable BlockFace hitBlockFace) Creates a RayTraceResult.RayTraceResult
(@NotNull Vector hitPosition, @Nullable Entity hitEntity, @Nullable BlockFace hitBlockFace) Creates a RayTraceResult.
BlockData