@Override public void setFacing(Block block, BlockFace facing) { block.setData((short) (BlockFaces.EWNS.indexOf(facing, 0) + 2)); }
@Override public BlockFace getFacing(Block block) { return BlockFaces.EWNS.get(block.getData() - 2); }