Class SkyBlockRegion

java.lang.Object
net.swofty.region.SkyBlockRegion

public class SkyBlockRegion extends Object
  • Constructor Details

    • SkyBlockRegion

      public SkyBlockRegion(String name, net.minestom.server.coordinate.Pos firstLocation, net.minestom.server.coordinate.Pos secondLocation, RegionType type)
  • Method Details

    • save

      public void save()
    • delete

      public void delete()
    • getRegions

      public static List<SkyBlockRegion> getRegions()
    • getFromID

      public static SkyBlockRegion getFromID(String id)
    • getRegionOfEntity

      public static SkyBlockRegion getRegionOfEntity(net.minestom.server.entity.Entity entity)
    • getRegionOfPosition

      public static SkyBlockRegion getRegionOfPosition(net.minestom.server.coordinate.Point point)
    • getRegionOfPosition

      public static SkyBlockRegion getRegionOfPosition(net.minestom.server.coordinate.Pos position)
    • insideRegion

      public boolean insideRegion(net.minestom.server.entity.Entity entity)
    • insideRegion

      public boolean insideRegion(net.minestom.server.coordinate.Pos location)
    • getBounds

      public List<Integer> getBounds()
    • cacheRegions

      public static void cacheRegions()
    • getIslandRegion

      public static SkyBlockRegion getIslandRegion()