Interface IServerRegionClaimsAPI
- All Superinterfaces:
IRegionClaimsAPI
API for region claims on the server side
-
Method Details
-
get
Description copied from interface:IRegionClaimsAPI
Gets the claim state at a specified chunk location inside the 512x512 region.The coordinate values must be within 0 - 31 (inclusive).
- Specified by:
get
in 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:IRegionClaimsAPI
Gets the X coordinate of the 512x512 region.- Specified by:
getX
in interfaceIRegionClaimsAPI
- Returns:
- the X coordinate value
-
getZ
int getZ()Description copied from interface:IRegionClaimsAPI
Gets the Z coordinate of the 512x512 region.- Specified by:
getZ
in interfaceIRegionClaimsAPI
- Returns:
- the Z coordinate value
-