Package ovh.paulem.arcana.utils
Class BlockUtils
java.lang.Object
ovh.paulem.arcana.utils.BlockUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.util.VectorfaceToVector(org.bukkit.block.BlockFace face) static org.bukkit.util.VectorfaceToVector(org.bukkit.block.BlockFace face, int distance) static List<org.bukkit.Location> getBlocksAround(org.bukkit.Location center, int radiusX, int radiusY, int radiusZ) static List<org.bukkit.block.Block> getBlocksBetween(org.bukkit.Location loc1, org.bukkit.Location loc2)
-
Constructor Details
-
BlockUtils
public BlockUtils()
-
-
Method Details
-
getBlocksAround
public static List<org.bukkit.Location> getBlocksAround(org.bukkit.Location center, int radiusX, int radiusY, int radiusZ) -
getBlocksBetween
public static List<org.bukkit.block.Block> getBlocksBetween(org.bukkit.Location loc1, org.bukkit.Location loc2) -
faceToVector
public static org.bukkit.util.Vector faceToVector(org.bukkit.block.BlockFace face) -
faceToVector
public static org.bukkit.util.Vector faceToVector(org.bukkit.block.BlockFace face, int distance)
-