get Face
Gets the face relation of this block compared to the given block.
For example:
Block current = world.getBlockAt(100, 100, 100);
Block target = world.getBlockAt(100, 101, 100);
current.getFace(target) == BlockFace.Up;
Content copied to clipboard
Return
BlockFace of this block which has the requested block, or null
Parameters
block
Block to compare against this block