diff --git a/src/mantle/world/DirectionUtils.java b/src/mantle/world/DirectionUtils.java index a4e6e4c..2599028 100644 --- a/src/mantle/world/DirectionUtils.java +++ b/src/mantle/world/DirectionUtils.java @@ -16,4 +16,9 @@ public class DirectionUtils { return a != b && a != b.getOpposite() && a != ForgeDirection.UNKNOWN && b != ForgeDirection.UNKNOWN; } + public static boolean isHorizontal(ForgeDirection a) + { + return a == ForgeDirection.EAST || a == ForgeDirection.NORTH || a == ForgeDirection.SOUTH || a == ForgeDirection.WEST; + } + }