Class SubAreaUtility
java.lang.Object
me.tayebyassine.homestead.util.minecraft.subareas.SubAreaUtility
-
Method Summary
Modifier and TypeMethodDescriptionstatic int[]getBlockLocation(org.bukkit.block.Block block) static SubAreagetIntersectedSubArea(long regionId, SeBlock firstPoint, SeBlock secondPoint) static intstatic intgetMaxX(org.bukkit.block.Block firstPoint, org.bukkit.block.Block secondPoint) static intstatic intgetMaxY(org.bukkit.block.Block firstPoint, org.bukkit.block.Block secondPoint) static intstatic intgetMaxZ(org.bukkit.block.Block firstPoint, org.bukkit.block.Block secondPoint) static intstatic intgetMinX(org.bukkit.block.Block firstPoint, org.bukkit.block.Block secondPoint) static intstatic intgetMinY(org.bukkit.block.Block firstPoint, org.bukkit.block.Block secondPoint) static intstatic intgetMinZ(org.bukkit.block.Block firstPoint, org.bukkit.block.Block secondPoint) static intstatic intgetVolume(org.bukkit.block.Block firstPoint, org.bukkit.block.Block secondPoint) static booleanisIntersectingOtherSubArea(long regionId, SeBlock firstPoint, SeBlock secondPoint)
-
Method Details
-
getMinX
public static int getMinX(org.bukkit.block.Block firstPoint, org.bukkit.block.Block secondPoint) -
getMinX
-
getMaxX
public static int getMaxX(org.bukkit.block.Block firstPoint, org.bukkit.block.Block secondPoint) -
getMaxX
-
getMinY
public static int getMinY(org.bukkit.block.Block firstPoint, org.bukkit.block.Block secondPoint) -
getMinY
-
getMaxY
public static int getMaxY(org.bukkit.block.Block firstPoint, org.bukkit.block.Block secondPoint) -
getMaxY
-
getMinZ
public static int getMinZ(org.bukkit.block.Block firstPoint, org.bukkit.block.Block secondPoint) -
getMinZ
-
getMaxZ
public static int getMaxZ(org.bukkit.block.Block firstPoint, org.bukkit.block.Block secondPoint) -
getMaxZ
-
getVolume
public static int getVolume(org.bukkit.block.Block firstPoint, org.bukkit.block.Block secondPoint) -
getVolume
-
getBlockLocation
public static int[] getBlockLocation(org.bukkit.block.Block block) -
isIntersectingOtherSubArea
-
getIntersectedSubArea
-