3D Regions
Since 1.0.0
Creating 3D regions
World world = Bukkit.getWorld("world");
// By coordinates: x1, y1, z1, x2, y2, z2
Region3D region = new Region3D(world, 5, 0, 5, -5, 10, -5);
// By locations: loc1, loc2
Location loc1 = new Location(world, 5, 0, 5);
Location loc2 = new Location(world, -5, 10, -5);
Region2D region = new Region2D(loc1, loc2);
Last updated