Package net.swofty.region
Class SkyBlockRegion
java.lang.Object
net.swofty.region.SkyBlockRegion
-
Constructor Summary
ConstructorsConstructorDescriptionSkyBlockRegion
(String name, net.minestom.server.coordinate.Pos firstLocation, net.minestom.server.coordinate.Pos secondLocation, RegionType type) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
void
delete()
static SkyBlockRegion
static SkyBlockRegion
static SkyBlockRegion
getRegionOfEntity
(net.minestom.server.entity.Entity entity) static SkyBlockRegion
getRegionOfPosition
(net.minestom.server.coordinate.Point point) static SkyBlockRegion
getRegionOfPosition
(net.minestom.server.coordinate.Pos position) static List<SkyBlockRegion>
boolean
insideRegion
(net.minestom.server.coordinate.Pos location) boolean
insideRegion
(net.minestom.server.entity.Entity entity) void
save()
-
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
-
getFromID
-
getRegionOfEntity
-
getRegionOfPosition
-
getRegionOfPosition
-
insideRegion
public boolean insideRegion(net.minestom.server.entity.Entity entity) -
insideRegion
public boolean insideRegion(net.minestom.server.coordinate.Pos location) -
getBounds
-
cacheRegions
public static void cacheRegions() -
getIslandRegion
-