Uses of Class
org.bukkit.block.BlockFace
| Package | Description |
|---|---|
| org.bukkit.block |
Classes used to manipulate the voxels in a
world,
including special states. |
| org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc. |
| org.bukkit.event.block | |
| org.bukkit.event.hanging |
Events relating to entities that hang. |
| org.bukkit.event.painting | |
| org.bukkit.event.player | |
| org.bukkit.material |
Classes that represents various voxel types and states.
|
-
Uses of BlockFace in org.bukkit.block
Methods in org.bukkit.block that return BlockFace Modifier and Type Method Description BlockFaceBlock. getFace(Block block)Gets the face relation of this block compared to the given block.BlockFaceBlockFace. getOppositeFace()BlockFaceSkull. getRotation()Gets the rotation of the skull in the worldstatic BlockFaceBlockFace. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BlockFace[]BlockFace. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.bukkit.block with parameters of type BlockFace Modifier and Type Method Description intBlock. getBlockPower(BlockFace face)Returns the redstone power being provided to this block faceBlockBlock. getRelative(BlockFace face)Gets the block at the given faceBlockBlock. getRelative(BlockFace face, int distance)Gets the block at the given distance of the given facebooleanBlock. isBlockFaceIndirectlyPowered(BlockFace face)Returns true if the block face is being indirectly powered by Redstone.booleanBlock. isBlockFacePowered(BlockFace face)Returns true if the block face is being powered by Redstone.voidSkull. setRotation(BlockFace rotation)Sets the rotation of the skull in the world -
Uses of BlockFace in org.bukkit.entity
Methods in org.bukkit.entity with parameters of type BlockFace Modifier and Type Method Description booleanHanging. setFacingDirection(BlockFace face, boolean force)Sets the direction of the hanging entity, potentially overriding rules of placement. -
Uses of BlockFace in org.bukkit.event.block
Fields in org.bukkit.event.block declared as BlockFace Modifier and Type Field Description protected BlockFaceBlockFromToEvent. faceMethods in org.bukkit.event.block that return BlockFace Modifier and Type Method Description BlockFaceBlockPistonEvent. getDirection()Return the direction in which the piston will operate.BlockFaceBlockFromToEvent. getFace()Gets the BlockFace that the block is moving to.Constructors in org.bukkit.event.block with parameters of type BlockFace Constructor Description BlockFromToEvent(Block block, BlockFace face)BlockPistonEvent(Block block, BlockFace direction)BlockPistonExtendEvent(Block block, int length, BlockFace direction)Deprecated.BlockPistonExtendEvent(Block block, java.util.List<Block> blocks, BlockFace direction)BlockPistonRetractEvent(Block block, java.util.List<Block> blocks, BlockFace direction) -
Uses of BlockFace in org.bukkit.event.hanging
Methods in org.bukkit.event.hanging that return BlockFace Modifier and Type Method Description BlockFaceHangingPlaceEvent. getBlockFace()Returns the face of the block that the hanging entity was placed onConstructors in org.bukkit.event.hanging with parameters of type BlockFace Constructor Description HangingPlaceEvent(Hanging hanging, Player player, Block block, BlockFace blockFace) -
Uses of BlockFace in org.bukkit.event.painting
Methods in org.bukkit.event.painting that return BlockFace Modifier and Type Method Description BlockFacePaintingPlaceEvent. getBlockFace()Deprecated.Returns the face of the block that the painting was placed onConstructors in org.bukkit.event.painting with parameters of type BlockFace Constructor Description PaintingPlaceEvent(Painting painting, Player player, Block block, BlockFace blockFace)Deprecated. -
Uses of BlockFace in org.bukkit.event.player
Fields in org.bukkit.event.player declared as BlockFace Modifier and Type Field Description protected BlockFacePlayerInteractEvent. blockFaceMethods in org.bukkit.event.player that return BlockFace Modifier and Type Method Description BlockFacePlayerBucketEvent. getBlockFace()Get the face on the clicked blockBlockFacePlayerInteractEvent. getBlockFace()Returns the face of the block that was clickedConstructors in org.bukkit.event.player with parameters of type BlockFace Constructor Description PlayerBucketEmptyEvent(Player who, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand)PlayerBucketEvent(Player who, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand)PlayerBucketFillEvent(Player who, Block blockClicked, BlockFace blockFace, Material bucket, ItemStack itemInHand)PlayerInteractEvent(Player who, Action action, ItemStack item, Block clickedBlock, BlockFace clickedFace) -
Uses of BlockFace in org.bukkit.material
Methods in org.bukkit.material that return BlockFace Modifier and Type Method Description BlockFaceStairs. getAscendingDirection()BlockFaceAttachable. getAttachedFace()Gets the face that this block is attached onBlockFaceBanner. getAttachedFace()BlockFaceButton. getAttachedFace()Gets the face that this block is attached onBlockFaceCocoaPlant. getAttachedFace()BlockFaceLadder. getAttachedFace()Gets the face that this block is attached onBlockFaceLever. getAttachedFace()Gets the face that this block is attached onBlockFacePistonExtensionMaterial. getAttachedFace()BlockFaceSign. getAttachedFace()Gets the face that this block is attached onBlockFaceTorch. getAttachedFace()Gets the face that this block is attached onBlockFaceTrapDoor. getAttachedFace()BlockFaceTripwireHook. getAttachedFace()BlockFaceStairs. getDescendingDirection()BlockFaceRails. getDirection()BlockFaceTree. getDirection()Get direction of the logBlockFaceBanner. getFacing()BlockFaceBed. getFacing()Get the direction that this bed's head is facing towardBlockFaceCocoaPlant. getFacing()BlockFaceDiode. getFacing()BlockFaceDirectional. getFacing()Gets the direction this block is facingBlockFaceDirectionalContainer. getFacing()BlockFaceDispenser. getFacing()BlockFaceDoor. getFacing()Get the direction that this door is facing.BlockFaceGate. getFacing()BlockFacePistonBaseMaterial. getFacing()BlockFacePistonExtensionMaterial. getFacing()BlockFacePumpkin. getFacing()BlockFaceSign. getFacing()Gets the direction that this sign is currently facingBlockFaceSimpleAttachableMaterialData. getFacing()BlockFaceSkull. getFacing()BlockFaceStairs. getFacing()BlockFaceDoor. getHingeCorner()Deprecated.This method should not be used; use hinge and facing accessors instead.Methods in org.bukkit.material that return types with arguments of type BlockFace Modifier and Type Method Description java.util.Set<BlockFace>Mushroom. getPaintedFaces()Methods in org.bukkit.material with parameters of type BlockFace Modifier and Type Method Description booleanMushroom. isFacePainted(BlockFace face)Checks whether a face of the block is painted.booleanVine. isOnFace(BlockFace face)Check if the vine is attached to the specified face of an adjacent block.voidVine. putOnFace(BlockFace face)Attach the vine to the specified face of an adjacent block.voidVine. removeFromFace(BlockFace face)Detach the vine from the specified face of an adjacent block.voidExtendedRails. setDirection(BlockFace face, boolean isOnSlope)voidRails. setDirection(BlockFace face, boolean isOnSlope)Set the direction of these tracksvoidTree. setDirection(BlockFace dir)Set direction of the logvoidMushroom. setFacePainted(BlockFace face, boolean painted)Set a face of the block to be painted or not.voidBanner. setFacingDirection(BlockFace face)voidBed. setFacingDirection(BlockFace face)Set which direction the head of the bed is facing.voidButton. setFacingDirection(BlockFace face)Sets the direction this button is pointing towardvoidCocoaPlant. setFacingDirection(BlockFace face)voidDiode. setFacingDirection(BlockFace face)voidDirectional. setFacingDirection(BlockFace face)Sets the direction that this block is facing invoidDirectionalContainer. setFacingDirection(BlockFace face)voidDispenser. setFacingDirection(BlockFace face)voidDoor. setFacingDirection(BlockFace face)Set the direction that this door should is facing.voidGate. setFacingDirection(BlockFace face)voidLadder. setFacingDirection(BlockFace face)Sets the direction this ladder is facingvoidLever. setFacingDirection(BlockFace face)Sets the direction this lever is pointing invoidPistonBaseMaterial. setFacingDirection(BlockFace face)voidPistonExtensionMaterial. setFacingDirection(BlockFace face)voidPumpkin. setFacingDirection(BlockFace face)voidSign. setFacingDirection(BlockFace face)voidSkull. setFacingDirection(BlockFace face)voidStairs. setFacingDirection(BlockFace face)Set the direction the stair part of the block is facingvoidTorch. setFacingDirection(BlockFace face)voidTrapDoor. setFacingDirection(BlockFace face)voidTripwireHook. setFacingDirection(BlockFace face)Constructors in org.bukkit.material with parameters of type BlockFace Constructor Description Bed(BlockFace direction)Instantiate a bed facing in a particular direction.Chest(BlockFace direction)Instantiate a chest facing in a particular direction.CocoaPlant(CocoaPlant.CocoaPlantSize sz, BlockFace dir)Dispenser(BlockFace direction)Door(Material type, BlockFace face)Constructs the bottom half of a door of the given material type, facing the specified direction and set to closedDoor(Material type, BlockFace face, boolean isOpen)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)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)Constructs the bottom half of a wooden door of the given species, facing the specified direction and set to open or closedEnderChest(BlockFace direction)Instantiate an ender chest facing in a particular direction.Furnace(BlockFace direction)Instantiate a furnace facing in a particular direction.Pumpkin(BlockFace direction)Instantiate a pumpkin facing in a particular direction.SimpleAttachableMaterialData(int type, BlockFace direction)SimpleAttachableMaterialData(Material type, BlockFace direction)Skull(BlockFace direction)Instantiate a skull facing in a particular direction.Tree(TreeSpecies species, BlockFace dir)TripwireHook(BlockFace dir)Vine(BlockFace... faces)Constructor parameters in org.bukkit.material with type arguments of type BlockFace Constructor Description Vine(java.util.EnumSet<BlockFace> faces)