Package | Description |
---|---|
org.bukkit.block |
Classes used to manipulate the voxels in a
world ,
including special states. |
org.bukkit.block.data |
Generalized BlockData classes.
|
org.bukkit.block.data.type |
Specific BlockData classes relevant to only a given block or set of blocks.
|
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.entity | |
org.bukkit.event.hanging |
Events relating to entities that hang . |
org.bukkit.event.player | |
org.bukkit.material |
Classes that represents various voxel types and states.
|
org.bukkit.material.types |
Classes relevant to specific material types.
|
org.bukkit.util |
Multi and single purpose classes to facilitate various programmatic
concepts.
|
Modifier and Type | Method and Description |
---|---|
@Nullable BlockFace |
Block.getFace(@NotNull Block block)
Gets the face relation of this block compared to the given block.
|
@Nullable BlockFace |
Block.getFace(@NotNull Block block)
Gets the face relation of this block compared to the given block.
|
@NotNull BlockFace |
BlockFace.getOppositeFace() |
@NotNull BlockFace |
BlockFace.getOppositeFace() |
@NotNull BlockFace |
Skull.getRotation()
Deprecated.
use
BlockData |
@NotNull BlockFace |
Skull.getRotation()
Deprecated.
use
BlockData |
static BlockFace |
BlockFace.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockFace |
BlockFace.valueOf(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.
|
static BlockFace[] |
BlockFace.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
int |
Block.getBlockPower(@NotNull BlockFace face)
Returns the redstone power being provided to this block face
|
int |
Block.getBlockPower(@NotNull BlockFace face)
Returns the redstone power being provided to this block face
|
@NotNull Block |
Block.getRelative(@NotNull BlockFace face)
Gets the block at the given face
This method is equal to getRelative(face, 1)
|
@NotNull Block |
Block.getRelative(@NotNull BlockFace face)
Gets the block at the given face
This method is equal to getRelative(face, 1)
|
@NotNull Block |
Block.getRelative(@NotNull BlockFace face,
int distance)
Gets the block at the given distance of the given face
For example, the following method places water at 100,102,100; two
blocks above 100,100,100.
|
@NotNull Block |
Block.getRelative(@NotNull BlockFace face,
int distance)
Gets the block at the given distance of the given face
For example, the following method places water at 100,102,100; two
blocks above 100,100,100.
|
boolean |
Block.isBlockFaceIndirectlyPowered(@NotNull BlockFace face)
Returns true if the block face is being indirectly powered by Redstone.
|
boolean |
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 |
Block.isBlockFacePowered(@NotNull BlockFace face)
Returns true if the block face is being powered by Redstone.
|
void |
Skull.setRotation(@NotNull BlockFace rotation)
Deprecated.
use
BlockData |
void |
Skull.setRotation(@NotNull BlockFace rotation)
Deprecated.
use
BlockData |
Modifier and Type | Method and Description |
---|---|
@NotNull BlockFace |
Directional.getFacing()
Gets the value of the 'facing' property.
|
@NotNull BlockFace |
Directional.getFacing()
Gets the value of the 'facing' property.
|
@NotNull BlockFace |
Rotatable.getRotation()
Gets the value of the 'rotation' property.
|
@NotNull BlockFace |
Rotatable.getRotation()
Gets the value of the 'rotation' property.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MultipleFacing.hasFace(@NotNull BlockFace face)
Checks if this block has the specified face enabled.
|
boolean |
MultipleFacing.hasFace(@NotNull BlockFace face)
Checks if this block has the specified face enabled.
|
void |
MultipleFacing.setFace(@NotNull BlockFace face,
boolean has)
Set whether this block has the specified face enabled.
|
void |
MultipleFacing.setFace(@NotNull BlockFace face,
boolean has)
Set whether this block has the specified face enabled.
|
void |
Directional.setFacing(@NotNull BlockFace facing)
Sets the value of the 'facing' property.
|
void |
Directional.setFacing(@NotNull BlockFace facing)
Sets the value of the 'facing' property.
|
void |
Rotatable.setRotation(@NotNull BlockFace rotation)
Sets the value of the 'rotation' property.
|
void |
Rotatable.setRotation(@NotNull BlockFace rotation)
Sets the value of the 'rotation' property.
|
Modifier and Type | Method and Description |
---|---|
@NotNull RedstoneWire.Connection |
RedstoneWire.getFace(@NotNull BlockFace face)
Checks the type of connection on the specified face.
|
@NotNull RedstoneWire.Connection |
RedstoneWire.getFace(@NotNull BlockFace face)
Checks the type of connection on the specified face.
|
void |
RedstoneWire.setFace(@NotNull BlockFace face,
@NotNull RedstoneWire.Connection connection)
Sets the type of connection on the specified face.
|
void |
RedstoneWire.setFace(@NotNull BlockFace face,
@NotNull RedstoneWire.Connection connection)
Sets the type of connection on the specified face.
|
Modifier and Type | Method and Description |
---|---|
@NotNull BlockFace |
Entity.getFacing()
Get the closest cardinal
BlockFace direction an entity is
currently facing. |
@NotNull BlockFace |
Entity.getFacing()
Get the closest cardinal
BlockFace direction an entity is
currently facing. |
Modifier and Type | Method and Description |
---|---|
boolean |
Hanging.setFacingDirection(@NotNull BlockFace face,
boolean force)
Sets the direction of the hanging entity, potentially overriding rules
of placement.
|
boolean |
Hanging.setFacingDirection(@NotNull BlockFace face,
boolean force)
Sets the direction of the hanging entity, potentially overriding rules
of placement.
|
Modifier and Type | Field and Description |
---|---|
protected BlockFace |
BlockFromToEvent.face |
protected BlockFace |
BlockFromToEvent.face |
Modifier and Type | Method and Description |
---|---|
@NotNull BlockFace |
BlockPistonEvent.getDirection()
Return the direction in which the piston will operate.
|
@NotNull BlockFace |
BlockPistonEvent.getDirection()
Return the direction in which the piston will operate.
|
@NotNull BlockFace |
BlockFromToEvent.getFace()
Gets the BlockFace that the block is moving to.
|
@NotNull BlockFace |
BlockFromToEvent.getFace()
Gets the BlockFace that the block is moving to.
|
Constructor and Description |
---|
BlockFromToEvent(@NotNull Block block,
@NotNull BlockFace face) |
BlockFromToEvent(@NotNull Block block,
@NotNull BlockFace face) |
BlockPistonEvent(@NotNull Block block,
@NotNull BlockFace direction) |
BlockPistonEvent(@NotNull Block block,
@NotNull BlockFace direction) |
BlockPistonExtendEvent(@NotNull Block block,
int length,
@NotNull BlockFace direction)
Deprecated.
|
BlockPistonExtendEvent(@NotNull Block block,
int length,
@NotNull BlockFace direction)
Deprecated.
|
BlockPistonExtendEvent(@NotNull Block block,
@NotNull List<Block> blocks,
@NotNull BlockFace direction) |
BlockPistonExtendEvent(@NotNull Block block,
@NotNull List<Block> blocks,
@NotNull BlockFace direction) |
BlockPistonRetractEvent(@NotNull Block block,
@NotNull List<Block> blocks,
@NotNull BlockFace direction) |
BlockPistonRetractEvent(@NotNull Block block,
@NotNull List<Block> blocks,
@NotNull BlockFace direction) |
Modifier and Type | Method and Description |
---|---|
@NotNull BlockFace |
EntityPlaceEvent.getBlockFace()
Deprecated.
Returns the face of the block that the entity was placed on
|
@NotNull BlockFace |
EntityPlaceEvent.getBlockFace()
Deprecated.
Returns the face of the block that the entity was placed on
|
@Nullable BlockFace |
ProjectileHitEvent.getHitBlockFace()
Gets the block face that was hit, if it was a block that was hit and the
face was provided in the vent.
|
@Nullable BlockFace |
ProjectileHitEvent.getHitBlockFace()
Gets the block face that was hit, if it was a block that was hit and the
face was provided in the vent.
|
Constructor and Description |
---|
EntityPlaceEvent(@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)
Deprecated.
|
ProjectileHitEvent(@NotNull Projectile projectile,
@Nullable Entity hitEntity,
@Nullable Block hitBlock,
@Nullable BlockFace hitFace) |
ProjectileHitEvent(@NotNull Projectile projectile,
@Nullable Entity hitEntity,
@Nullable Block hitBlock,
@Nullable BlockFace hitFace) |
Modifier and Type | Method and Description |
---|---|
@NotNull BlockFace |
HangingPlaceEvent.getBlockFace()
Returns the face of the block that the hanging entity was placed on
|
@NotNull BlockFace |
HangingPlaceEvent.getBlockFace()
Returns the face of the block that the hanging entity was placed on
|
Constructor and Description |
---|
HangingPlaceEvent(@NotNull Hanging hanging,
@Nullable Player player,
@NotNull Block block,
@NotNull BlockFace blockFace) |
HangingPlaceEvent(@NotNull Hanging hanging,
@Nullable Player player,
@NotNull Block block,
@NotNull BlockFace blockFace) |
Modifier and Type | Field and Description |
---|---|
protected BlockFace |
PlayerInteractEvent.blockFace |
protected BlockFace |
PlayerInteractEvent.blockFace |
Modifier and Type | Method and Description |
---|---|
@NotNull BlockFace |
PlayerBucketEvent.getBlockFace()
Get the face on the clicked block
|
@NotNull BlockFace |
PlayerInteractEvent.getBlockFace()
Returns the face of the block that was clicked
|
@NotNull BlockFace |
PlayerInteractEvent.getBlockFace()
Returns the face of the block that was clicked
|
@NotNull BlockFace |
PlayerBucketEvent.getBlockFace()
Get the face on the clicked block
|
Constructor and Description |
---|
PlayerBucketEmptyEvent(@NotNull Player who,
@NotNull Block block,
@NotNull Block blockClicked,
@NotNull BlockFace blockFace,
@NotNull Material bucket,
@NotNull ItemStack itemInHand) |
PlayerBucketEmptyEvent(@NotNull Player who,
@NotNull Block block,
@NotNull Block blockClicked,
@NotNull BlockFace blockFace,
@NotNull Material bucket,
@NotNull ItemStack itemInHand) |
PlayerBucketEmptyEvent(@NotNull Player who,
@NotNull Block blockClicked,
@NotNull BlockFace blockFace,
@NotNull Material bucket,
@NotNull ItemStack itemInHand)
Deprecated.
|
PlayerBucketEmptyEvent(@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) |
PlayerBucketEvent(@NotNull Player who,
@NotNull Block block,
@NotNull Block blockClicked,
@NotNull BlockFace blockFace,
@NotNull Material bucket,
@NotNull ItemStack itemInHand) |
PlayerBucketEvent(@NotNull Player who,
@NotNull Block blockClicked,
@NotNull BlockFace blockFace,
@NotNull Material bucket,
@NotNull ItemStack itemInHand)
Deprecated.
|
PlayerBucketEvent(@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) |
PlayerBucketFillEvent(@NotNull Player who,
@NotNull Block block,
@NotNull Block blockClicked,
@NotNull BlockFace blockFace,
@NotNull Material bucket,
@NotNull ItemStack itemInHand) |
PlayerBucketFillEvent(@NotNull Player who,
@NotNull Block blockClicked,
@NotNull BlockFace blockFace,
@NotNull Material bucket,
@NotNull ItemStack itemInHand)
Deprecated.
|
PlayerBucketFillEvent(@NotNull Player who,
@NotNull Block blockClicked,
@NotNull BlockFace blockFace,
@NotNull Material bucket,
@NotNull ItemStack itemInHand)
Deprecated.
|
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) |
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) |
Modifier and Type | Field and Description |
---|---|
protected static BlockFace |
Comparator.DEFAULT_DIRECTION
Deprecated.
|
protected static BlockFace |
Diode.DEFAULT_DIRECTION
Deprecated.
|
protected static BlockFace |
Hopper.DEFAULT_DIRECTION
Deprecated.
|
protected static BlockFace |
Tree.DEFAULT_DIRECTION
Deprecated.
|
protected static BlockFace |
Tree.DEFAULT_DIRECTION
Deprecated.
|
protected static BlockFace |
Hopper.DEFAULT_DIRECTION
Deprecated.
|
protected static BlockFace |
Diode.DEFAULT_DIRECTION
Deprecated.
|
protected static BlockFace |
Comparator.DEFAULT_DIRECTION
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
BlockFace |
Stairs.getAscendingDirection()
Deprecated.
|
BlockFace |
Stairs.getAscendingDirection()
Deprecated.
|
@NotNull BlockFace |
Attachable.getAttachedFace()
Gets the face that this block is attached on
|
BlockFace |
Banner.getAttachedFace()
Deprecated.
|
BlockFace |
Button.getAttachedFace()
Deprecated.
Gets the face that this block is attached on
|
BlockFace |
CocoaPlant.getAttachedFace()
Deprecated.
|
BlockFace |
Ladder.getAttachedFace()
Deprecated.
Gets the face that this block is attached on
|
BlockFace |
Lever.getAttachedFace()
Deprecated.
Gets the face that this block is attached on
|
BlockFace |
PistonExtensionMaterial.getAttachedFace()
Deprecated.
|
BlockFace |
Sign.getAttachedFace()
Deprecated.
Gets the face that this block is attached on
|
BlockFace |
Torch.getAttachedFace()
Deprecated.
Gets the face that this block is attached on
|
BlockFace |
TrapDoor.getAttachedFace()
Deprecated.
|
BlockFace |
TripwireHook.getAttachedFace()
Deprecated.
|
BlockFace |
TripwireHook.getAttachedFace()
Deprecated.
|
BlockFace |
TrapDoor.getAttachedFace()
Deprecated.
|
BlockFace |
Torch.getAttachedFace()
Deprecated.
Gets the face that this block is attached on
|
BlockFace |
Sign.getAttachedFace()
Deprecated.
Gets the face that this block is attached on
|
BlockFace |
PistonExtensionMaterial.getAttachedFace()
Deprecated.
|
BlockFace |
Lever.getAttachedFace()
Deprecated.
Gets the face that this block is attached on
|
BlockFace |
Ladder.getAttachedFace()
Deprecated.
Gets the face that this block is attached on
|
BlockFace |
CocoaPlant.getAttachedFace()
Deprecated.
|
BlockFace |
Button.getAttachedFace()
Deprecated.
Gets the face that this block is attached on
|
BlockFace |
Banner.getAttachedFace()
Deprecated.
|
@NotNull BlockFace |
Attachable.getAttachedFace()
Gets the face that this block is attached on
|
BlockFace |
Stairs.getDescendingDirection()
Deprecated.
|
BlockFace |
Stairs.getDescendingDirection()
Deprecated.
|
BlockFace |
Rails.getDirection()
Deprecated.
|
BlockFace |
Tree.getDirection()
Deprecated.
Get direction of the log
|
BlockFace |
Tree.getDirection()
Deprecated.
Get direction of the log
|
BlockFace |
Rails.getDirection()
Deprecated.
|
BlockFace |
Banner.getFacing()
Deprecated.
|
BlockFace |
Bed.getFacing()
Deprecated.
Get the direction that this bed's head is facing toward
|
BlockFace |
CocoaPlant.getFacing()
Deprecated.
|
BlockFace |
Comparator.getFacing()
Deprecated.
Gets the direction this comparator is facing
|
BlockFace |
Diode.getFacing()
Deprecated.
Gets the direction this diode is facing
|
@NotNull BlockFace |
Directional.getFacing()
Gets the direction this block is facing
|
BlockFace |
DirectionalContainer.getFacing()
Deprecated.
|
BlockFace |
Dispenser.getFacing()
Deprecated.
|
BlockFace |
Door.getFacing()
Deprecated.
Get the direction that this door is facing.
|
BlockFace |
Gate.getFacing()
Deprecated.
|
BlockFace |
Hopper.getFacing()
Deprecated.
Gets the direction this hopper is facing
|
BlockFace |
Observer.getFacing()
Deprecated.
|
BlockFace |
PistonBaseMaterial.getFacing()
Deprecated.
|
BlockFace |
PistonExtensionMaterial.getFacing()
Deprecated.
|
BlockFace |
Pumpkin.getFacing()
Deprecated.
|
BlockFace |
Sign.getFacing()
Deprecated.
Gets the direction that this sign is currently facing
|
BlockFace |
SimpleAttachableMaterialData.getFacing()
Deprecated.
|
BlockFace |
Skull.getFacing()
Deprecated.
|
BlockFace |
Stairs.getFacing()
Deprecated.
|
BlockFace |
Stairs.getFacing()
Deprecated.
|
BlockFace |
Skull.getFacing()
Deprecated.
|
BlockFace |
SimpleAttachableMaterialData.getFacing()
Deprecated.
|
BlockFace |
Sign.getFacing()
Deprecated.
Gets the direction that this sign is currently facing
|
BlockFace |
Pumpkin.getFacing()
Deprecated.
|
BlockFace |
PistonExtensionMaterial.getFacing()
Deprecated.
|
BlockFace |
PistonBaseMaterial.getFacing()
Deprecated.
|
BlockFace |
Observer.getFacing()
Deprecated.
|
BlockFace |
Hopper.getFacing()
Deprecated.
Gets the direction this hopper is facing
|
BlockFace |
Gate.getFacing()
Deprecated.
|
BlockFace |
Door.getFacing()
Deprecated.
Get the direction that this door is facing.
|
BlockFace |
Dispenser.getFacing()
Deprecated.
|
BlockFace |
DirectionalContainer.getFacing()
Deprecated.
|
@NotNull BlockFace |
Directional.getFacing()
Gets the direction this block is facing
|
BlockFace |
Diode.getFacing()
Deprecated.
Gets the direction this diode is facing
|
BlockFace |
Comparator.getFacing()
Deprecated.
Gets the direction this comparator is facing
|
BlockFace |
CocoaPlant.getFacing()
Deprecated.
|
BlockFace |
Bed.getFacing()
Deprecated.
Get the direction that this bed's head is facing toward
|
BlockFace |
Banner.getFacing()
Deprecated.
|
BlockFace |
Door.getHingeCorner()
Deprecated.
This method should not be used; use hinge and facing accessors instead.
|
BlockFace |
Door.getHingeCorner()
Deprecated.
This method should not be used; use hinge and facing accessors instead.
|
Modifier and Type | Method and Description |
---|---|
Set<BlockFace> |
Mushroom.getPaintedFaces()
Deprecated.
|
Set<BlockFace> |
Mushroom.getPaintedFaces()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Mushroom.isFacePainted(BlockFace face)
Deprecated.
Checks whether a face of the block is painted with cap texture.
|
boolean |
Mushroom.isFacePainted(BlockFace face)
Deprecated.
Checks whether a face of the block is painted with cap texture.
|
boolean |
Vine.isOnFace(BlockFace face)
Deprecated.
Check if the vine is attached to the specified face of an adjacent
block.
|
boolean |
Vine.isOnFace(BlockFace face)
Deprecated.
Check if the vine is attached to the specified face of an adjacent
block.
|
void |
Vine.putOnFace(BlockFace face)
Deprecated.
Attach the vine to the specified face of an adjacent block.
|
void |
Vine.putOnFace(BlockFace face)
Deprecated.
Attach the vine to the specified face of an adjacent block.
|
void |
Vine.removeFromFace(BlockFace face)
Deprecated.
Detach the vine from the specified face of an adjacent block.
|
void |
Vine.removeFromFace(BlockFace face)
Deprecated.
Detach the vine from the specified face of an adjacent block.
|
void |
Tree.setDirection(BlockFace dir)
Deprecated.
Set direction of the log
|
void |
Tree.setDirection(BlockFace dir)
Deprecated.
Set direction of the log
|
void |
ExtendedRails.setDirection(BlockFace face,
boolean isOnSlope)
Deprecated.
|
void |
Rails.setDirection(BlockFace face,
boolean isOnSlope)
Deprecated.
Set the direction of these tracks
Note that tracks are bidirectional and that the direction returned is
the ascending direction if the track is set on a slope.
|
void |
Rails.setDirection(BlockFace face,
boolean isOnSlope)
Deprecated.
Set the direction of these tracks
Note that tracks are bidirectional and that the direction returned is
the ascending direction if the track is set on a slope.
|
void |
ExtendedRails.setDirection(BlockFace face,
boolean isOnSlope)
Deprecated.
|
void |
Mushroom.setFacePainted(BlockFace face,
boolean painted)
Deprecated.
Use MushroomBlockType cap options
|
void |
Mushroom.setFacePainted(BlockFace face,
boolean painted)
Deprecated.
Use MushroomBlockType cap options
|
void |
Banner.setFacingDirection(BlockFace face)
Deprecated.
|
void |
Bed.setFacingDirection(BlockFace face)
Deprecated.
Set which direction the head of the bed is facing.
|
void |
Button.setFacingDirection(BlockFace face)
Deprecated.
Sets the direction this button is pointing toward
|
void |
CocoaPlant.setFacingDirection(BlockFace face)
Deprecated.
|
void |
Comparator.setFacingDirection(BlockFace face)
Deprecated.
Sets the direction this comparator is facing
|
void |
Diode.setFacingDirection(BlockFace face)
Deprecated.
Sets the direction this diode is facing.
|
void |
Directional.setFacingDirection(@NotNull BlockFace face)
Sets the direction that this block is facing in
|
void |
DirectionalContainer.setFacingDirection(BlockFace face)
Deprecated.
|
void |
Dispenser.setFacingDirection(BlockFace face)
Deprecated.
|
void |
Door.setFacingDirection(BlockFace face)
Deprecated.
Set the direction that this door should is facing.
|
void |
Gate.setFacingDirection(BlockFace face)
Deprecated.
|
void |
Hopper.setFacingDirection(BlockFace face)
Deprecated.
Sets the direction this hopper is facing
|
void |
Ladder.setFacingDirection(BlockFace face)
Deprecated.
Sets the direction this ladder is facing
|
void |
Lever.setFacingDirection(BlockFace face)
Deprecated.
Sets the direction this lever is pointing in
|
void |
Observer.setFacingDirection(BlockFace face)
Deprecated.
|
void |
PistonBaseMaterial.setFacingDirection(BlockFace face)
Deprecated.
|
void |
PistonExtensionMaterial.setFacingDirection(BlockFace face)
Deprecated.
|
void |
Pumpkin.setFacingDirection(BlockFace face)
Deprecated.
|
void |
Sign.setFacingDirection(BlockFace face)
Deprecated.
|
void |
Skull.setFacingDirection(BlockFace face)
Deprecated.
|
void |
Stairs.setFacingDirection(BlockFace face)
Deprecated.
Set the direction the stair part of the block is facing
|
void |
Torch.setFacingDirection(BlockFace face)
Deprecated.
|
void |
TrapDoor.setFacingDirection(BlockFace face)
Deprecated.
|
void |
TripwireHook.setFacingDirection(BlockFace face)
Deprecated.
|
void |
TripwireHook.setFacingDirection(BlockFace face)
Deprecated.
|
void |
TrapDoor.setFacingDirection(BlockFace face)
Deprecated.
|
void |
Torch.setFacingDirection(BlockFace face)
Deprecated.
|
void |
Stairs.setFacingDirection(BlockFace face)
Deprecated.
Set the direction the stair part of the block is facing
|
void |
Skull.setFacingDirection(BlockFace face)
Deprecated.
|
void |
Sign.setFacingDirection(BlockFace face)
Deprecated.
|
void |
Pumpkin.setFacingDirection(BlockFace face)
Deprecated.
|
void |
PistonExtensionMaterial.setFacingDirection(BlockFace face)
Deprecated.
|
void |
PistonBaseMaterial.setFacingDirection(BlockFace face)
Deprecated.
|
void |
Observer.setFacingDirection(BlockFace face)
Deprecated.
|
void |
Lever.setFacingDirection(BlockFace face)
Deprecated.
Sets the direction this lever is pointing in
|
void |
Ladder.setFacingDirection(BlockFace face)
Deprecated.
Sets the direction this ladder is facing
|
void |
Hopper.setFacingDirection(BlockFace face)
Deprecated.
Sets the direction this hopper is facing
|
void |
Gate.setFacingDirection(BlockFace face)
Deprecated.
|
void |
Door.setFacingDirection(BlockFace face)
Deprecated.
Set the direction that this door should is facing.
|
void |
Dispenser.setFacingDirection(BlockFace face)
Deprecated.
|
void |
DirectionalContainer.setFacingDirection(BlockFace face)
Deprecated.
|
void |
Directional.setFacingDirection(@NotNull BlockFace face)
Sets the direction that this block is facing in
|
void |
Diode.setFacingDirection(BlockFace face)
Deprecated.
Sets the direction this diode is facing.
|
void |
Comparator.setFacingDirection(BlockFace face)
Deprecated.
Sets the direction this comparator is facing
|
void |
CocoaPlant.setFacingDirection(BlockFace face)
Deprecated.
|
void |
Button.setFacingDirection(BlockFace face)
Deprecated.
Sets the direction this button is pointing toward
|
void |
Bed.setFacingDirection(BlockFace face)
Deprecated.
Set which direction the head of the bed is facing.
|
void |
Banner.setFacingDirection(BlockFace face)
Deprecated.
|
Constructor and Description |
---|
Bed(BlockFace direction)
Deprecated.
Instantiate a bed facing in a particular direction.
|
Bed(BlockFace direction)
Deprecated.
Instantiate a bed facing in a particular direction.
|
Chest(BlockFace direction)
Deprecated.
Instantiate a chest facing in a particular direction.
|
Chest(BlockFace direction)
Deprecated.
Instantiate a chest facing in a particular direction.
|
CocoaPlant(CocoaPlant.CocoaPlantSize sz,
BlockFace dir)
Deprecated.
|
CocoaPlant(CocoaPlant.CocoaPlantSize sz,
BlockFace dir)
Deprecated.
|
Comparator(BlockFace facingDirection)
Deprecated.
Constructs a comparator switched off, with the default mode (normal) and facing the specified direction.
|
Comparator(BlockFace facingDirection)
Deprecated.
Constructs a comparator switched off, with the default mode (normal) and facing the specified direction.
|
Comparator(BlockFace facingDirection,
boolean isSubtraction)
Deprecated.
Constructs a comparator switched off, with the specified mode and facing the specified direction.
|
Comparator(BlockFace facingDirection,
boolean isSubtraction)
Deprecated.
Constructs a comparator switched off, with the specified mode and facing the specified direction.
|
Comparator(BlockFace facingDirection,
boolean isSubtraction,
boolean state)
Deprecated.
Constructs a comparator switched on or off, with the specified mode and facing the specified direction.
|
Comparator(BlockFace facingDirection,
boolean isSubtraction,
boolean state)
Deprecated.
Constructs a comparator switched on or off, with the specified mode and facing the specified direction.
|
Diode(BlockFace facingDirection)
Deprecated.
Constructs a diode switched off, with a delay of 1 and facing the
specified direction.
|
Diode(BlockFace facingDirection)
Deprecated.
Constructs a diode switched off, with a delay of 1 and facing the
specified direction.
|
Diode(BlockFace facingDirection,
int delay)
Deprecated.
Constructs a diode switched off, with the specified delay and facing the
specified direction.
|
Diode(BlockFace facingDirection,
int delay)
Deprecated.
Constructs a diode switched off, with the specified delay and facing the
specified direction.
|
Diode(BlockFace facingDirection,
int delay,
boolean state)
Deprecated.
Constructs a diode switched on or off, with the specified delay and
facing the specified direction.
|
Diode(BlockFace facingDirection,
int delay,
boolean state)
Deprecated.
Constructs a diode switched on or off, with the specified delay and
facing the specified direction.
|
Dispenser(BlockFace direction)
Deprecated.
|
Dispenser(BlockFace direction)
Deprecated.
|
Door(Material type,
BlockFace face)
Deprecated.
Constructs the bottom half of a door of the given material type, facing the specified direction and set to closed
|
Door(Material type,
BlockFace face)
Deprecated.
Constructs the bottom half of a door of the given material type, facing the specified direction and set to closed
|
Door(Material type,
BlockFace face,
boolean isOpen)
Deprecated.
Constructs the bottom half of a door of the given material type, facing the specified direction and set to open
or closed
|
Door(Material type,
BlockFace face,
boolean isOpen)
Deprecated.
Constructs the bottom half of a door of the given material type, facing the specified direction and set to open
or closed
|
Door(TreeSpecies species,
BlockFace face)
Deprecated.
Constructs the bottom half of a wooden door of the given species, facing the specified direction and set to
closed
|
Door(TreeSpecies species,
BlockFace face)
Deprecated.
Constructs the bottom half of a wooden door of the given species, facing the specified direction and set to
closed
|
Door(TreeSpecies species,
BlockFace face,
boolean isOpen)
Deprecated.
Constructs the bottom half of a wooden door of the given species, facing the specified direction and set to open
or closed
|
Door(TreeSpecies species,
BlockFace face,
boolean isOpen)
Deprecated.
Constructs the bottom half of a wooden door of the given species, facing the specified direction and set to open
or closed
|
EnderChest(BlockFace direction)
Deprecated.
Instantiate an ender chest facing in a particular direction.
|
EnderChest(BlockFace direction)
Deprecated.
Instantiate an ender chest facing in a particular direction.
|
Furnace(BlockFace direction)
Deprecated.
Instantiate a furnace facing in a particular direction.
|
Furnace(BlockFace direction)
Deprecated.
Instantiate a furnace facing in a particular direction.
|
Hopper(BlockFace facingDirection)
Deprecated.
Constructs a hopper facing the specified direction and initially active.
|
Hopper(BlockFace facingDirection)
Deprecated.
Constructs a hopper facing the specified direction and initially active.
|
Hopper(BlockFace facingDirection,
boolean isActive)
Deprecated.
Constructs a hopper facing the specified direction and either active or
not.
|
Hopper(BlockFace facingDirection,
boolean isActive)
Deprecated.
Constructs a hopper facing the specified direction and either active or
not.
|
Mushroom(Material shroom,
BlockFace capFace)
Deprecated.
Constructs a brown/red mushroom cap block with the specified face or
faces set to cap texture.
|
Mushroom(Material shroom,
BlockFace capFace)
Deprecated.
Constructs a brown/red mushroom cap block with the specified face or
faces set to cap texture.
|
Observer(BlockFace direction)
Deprecated.
|
Observer(BlockFace direction)
Deprecated.
|
Pumpkin(BlockFace direction)
Deprecated.
Instantiate a pumpkin facing in a particular direction.
|
Pumpkin(BlockFace direction)
Deprecated.
Instantiate a pumpkin facing in a particular direction.
|
SimpleAttachableMaterialData(Material type,
BlockFace direction)
Deprecated.
|
SimpleAttachableMaterialData(Material type,
BlockFace direction)
Deprecated.
|
Skull(BlockFace direction)
Deprecated.
Instantiate a skull facing in a particular direction.
|
Skull(BlockFace direction)
Deprecated.
Instantiate a skull facing in a particular direction.
|
Tree(Material type,
TreeSpecies species,
BlockFace dir)
Deprecated.
Constructs a tree block of the given type and tree species, and facing
the given direction.
|
Tree(Material type,
TreeSpecies species,
BlockFace dir)
Deprecated.
Constructs a tree block of the given type and tree species, and facing
the given direction.
|
Tree(TreeSpecies species,
BlockFace dir)
Deprecated.
Constructs a tree block of the given tree species, and facing the given
direction.
|
Tree(TreeSpecies species,
BlockFace dir)
Deprecated.
Constructs a tree block of the given tree species, and facing the given
direction.
|
TripwireHook(BlockFace dir)
Deprecated.
|
TripwireHook(BlockFace dir)
Deprecated.
|
Vine(BlockFace... faces)
Deprecated.
|
Vine(BlockFace... faces)
Deprecated.
|
Constructor and Description |
---|
Vine(EnumSet<BlockFace> faces)
Deprecated.
|
Vine(EnumSet<BlockFace> faces)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
@Nullable BlockFace |
MushroomBlockTexture.getCapFace()
Gets the face that has cap texture.
|
@Nullable BlockFace |
MushroomBlockTexture.getCapFace()
Gets the face that has cap texture.
|
Modifier and Type | Method and Description |
---|---|
static @Nullable MushroomBlockTexture |
MushroomBlockTexture.getCapByFace(@Nullable BlockFace face)
Gets the MushroomBlockType with cap texture on the given block face.
|
static @Nullable MushroomBlockTexture |
MushroomBlockTexture.getCapByFace(@Nullable BlockFace face)
Gets the MushroomBlockType with cap texture on the given block face.
|
Modifier and Type | Method and Description |
---|---|
@Nullable BlockFace |
RayTraceResult.getHitBlockFace()
Gets the hit block face.
|
@Nullable BlockFace |
RayTraceResult.getHitBlockFace()
Gets the hit block face.
|
Modifier and Type | Method and Description |
---|---|
@NotNull BoundingBox |
BoundingBox.expand(@NotNull BlockFace blockFace,
double expansion)
Expands this bounding box in the direction specified by the given block
face.
|
@NotNull BoundingBox |
BoundingBox.expand(@NotNull BlockFace blockFace,
double expansion)
Expands this bounding box in the direction specified by the given block
face.
|
Constructor and Description |
---|
RayTraceResult(@NotNull Vector hitPosition,
@Nullable Block hitBlock,
@Nullable BlockFace hitBlockFace)
Creates a RayTraceResult.
|
RayTraceResult(@NotNull Vector hitPosition,
@Nullable Block hitBlock,
@Nullable BlockFace hitBlockFace)
Creates a RayTraceResult.
|
RayTraceResult(@NotNull Vector hitPosition,
@Nullable BlockFace hitBlockFace)
Creates a RayTraceResult.
|
RayTraceResult(@NotNull Vector hitPosition,
@Nullable BlockFace hitBlockFace)
Creates a RayTraceResult.
|
RayTraceResult(@NotNull Vector hitPosition,
@Nullable Entity hitEntity,
@Nullable BlockFace hitBlockFace)
Creates a RayTraceResult.
|
RayTraceResult(@NotNull Vector hitPosition,
@Nullable Entity hitEntity,
@Nullable BlockFace hitBlockFace)
Creates a RayTraceResult.
|
Copyright © 2022. All rights reserved.