isOnFace

public boolean isOnFace(BlockFace face)

Check if the vine is attached to the specified face of an adjacent block. You can check two faces at once by passing e.g. NORTH_EAST.

Return

Whether it is attached to that face.

Parameters

face

The face to check.