BlockData
, java.lang.Cloneable
Bed
, Chest
, Cocoa
, CommandBlock
, Comparator
, CoralWallFan
, Dispenser
, Door
, EnderChest
, EndPortalFrame
, Furnace
, Gate
, Hopper
, Ladder
, Observer
, Piston
, PistonHead
, RedstoneWallTorch
, Repeater
, Stairs
, Switch
, TechnicalPiston
, TrapDoor
, TripwireHook
, WallSign
public interface Directional extends BlockData
getFaces()
to get all possible directions for this block.Modifier and Type | Method | Description |
---|---|---|
java.util.Set<BlockFace> |
getFaces() |
Gets the faces which are applicable to this block.
|
BlockFace |
getFacing() |
Gets the value of the 'facing' property.
|
void |
setFacing(BlockFace facing) |
Sets the value of the 'facing' property.
|
clone, getAsString, getMaterial, matches, merge
BlockFace getFacing()
void setFacing(BlockFace facing)
facing
- the new 'facing' valuejava.util.Set<BlockFace> getFaces()
Copyright © 2018. All rights reserved.