Interface IServerRegionClaimsAPI
- All Superinterfaces:
IRegionClaimsAPI
API for region claims on the server side
-
Method Details
-
get
Description copied from interface:IRegionClaimsAPIGets the claim state at a specified chunk location inside the 512x512 region.The coordinate values must be within 0 - 31 (inclusive).
- Specified by:
getin interfaceIRegionClaimsAPI- Parameters:
x- the X coordinate of the chunk inside the region, 0 - 31 (inclusive)z- the Z coordinate of the chunk inside the region, 0 - 31 (inclusive)- Returns:
- the claim state, null if the chunk is not claimed
-
getX
int getX()Description copied from interface:IRegionClaimsAPIGets the X coordinate of the 512x512 region.- Specified by:
getXin interfaceIRegionClaimsAPI- Returns:
- the X coordinate value
-
getZ
int getZ()Description copied from interface:IRegionClaimsAPIGets the Z coordinate of the 512x512 region.- Specified by:
getZin interfaceIRegionClaimsAPI- Returns:
- the Z coordinate value
-